Update to latest version.
This commit is contained in:
parent
e32f319cae
commit
f0a50d0aea
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
/import_1.1.0.tar.gz
|
/import_1.1.0.tar.gz
|
||||||
|
/import_1.2.0.tar.gz
|
||||||
|
@ -1,19 +1,20 @@
|
|||||||
%global packname import
|
%global packname import
|
||||||
|
%global packver 1.2.0
|
||||||
%global rlibdir %{_datadir}/R/library
|
%global rlibdir %{_datadir}/R/library
|
||||||
|
|
||||||
Name: R-%{packname}
|
Name: R-%{packname}
|
||||||
Version: 1.1.0
|
Version: 1.2.0
|
||||||
Release: 9%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: An Import Mechanism for R
|
Summary: An Import Mechanism for R
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://CRAN.R-project.org/package=%{packname}
|
URL: https://CRAN.R-project.org/package=%{packname}
|
||||||
Source0: https://cran.r-project.org/src/contrib/%{packname}_%{version}.tar.gz
|
Source0: https://cran.r-project.org/src/contrib/%{packname}_%{packver}.tar.gz
|
||||||
|
|
||||||
# Here's the R view of the dependencies world:
|
# Here's the R view of the dependencies world:
|
||||||
# Depends:
|
# Depends:
|
||||||
# Imports:
|
# Imports:
|
||||||
# Suggests: R-knitr
|
# Suggests: R-knitr, R-rmarkdown, R-magrittr, R-testthat
|
||||||
# LinkingTo:
|
# LinkingTo:
|
||||||
# Enhances:
|
# Enhances:
|
||||||
|
|
||||||
@ -21,28 +22,21 @@ BuildArch: noarch
|
|||||||
BuildRequires: R-devel
|
BuildRequires: R-devel
|
||||||
BuildRequires: tex(latex)
|
BuildRequires: tex(latex)
|
||||||
BuildRequires: R-knitr
|
BuildRequires: R-knitr
|
||||||
|
BuildRequires: R-rmarkdown
|
||||||
|
BuildRequires: R-magrittr
|
||||||
|
BuildRequires: R-testthat
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This is an alternative mechanism for importing objects from packages. The
|
Alternative mechanism for importing objects from packages and R modules.
|
||||||
syntax allows for importing multiple objects from a package with a single
|
The syntax allows for importing multiple objects with a single command in
|
||||||
command in an expressive way. The import package bridges some of the gap
|
an expressive way. The import package bridges some of the gap between using
|
||||||
between using library (or require) and direct (single-object) imports.
|
library (or require) and direct (single-object) imports. Furthermore the
|
||||||
Furthermore the imported objects are not placed in the current
|
imported objects are not placed in the current environment.
|
||||||
environment. It is also possible to import objects from stand-alone .R
|
|
||||||
files. For more information, refer to the package vignette.
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -c -n %{packname}
|
%setup -q -c -n %{packname}
|
||||||
|
|
||||||
for file in %{packname}/NEWS %{packname}/inst/doc/import.R*; do
|
|
||||||
iconv --from=latin1 --to=UTF-8 ${file} > ${file}.new
|
|
||||||
touch -r ${file} ${file}.new
|
|
||||||
sed "s|\r||g" ${file}.new > ${file}
|
|
||||||
touch -r ${file}.new ${file}
|
|
||||||
rm ${file}.new
|
|
||||||
done
|
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
@ -63,7 +57,7 @@ rm -f %{buildroot}%{rlibdir}/R.css
|
|||||||
%doc %{rlibdir}/%{packname}/doc
|
%doc %{rlibdir}/%{packname}/doc
|
||||||
%doc %{rlibdir}/%{packname}/html
|
%doc %{rlibdir}/%{packname}/html
|
||||||
%{rlibdir}/%{packname}/DESCRIPTION
|
%{rlibdir}/%{packname}/DESCRIPTION
|
||||||
%doc %{rlibdir}/%{packname}/NEWS
|
%doc %{rlibdir}/%{packname}/NEWS.md
|
||||||
%license %{rlibdir}/%{packname}/LICENSE
|
%license %{rlibdir}/%{packname}/LICENSE
|
||||||
%{rlibdir}/%{packname}/INDEX
|
%{rlibdir}/%{packname}/INDEX
|
||||||
%{rlibdir}/%{packname}/NAMESPACE
|
%{rlibdir}/%{packname}/NAMESPACE
|
||||||
@ -73,6 +67,9 @@ rm -f %{buildroot}%{rlibdir}/R.css
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Sep 25 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.2.0-1
|
||||||
|
- Update to latest version (#1882439)
|
||||||
|
|
||||||
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-9
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-9
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (import_1.1.0.tar.gz) = ceb13d975b8b42fc13438a4a75cd1270772b8cc76abbf5e0db49afdeed09e52556ab89772a480810b6aa1a097d854ce3e86a4d03ad104dab7605bea60c9fe27e
|
SHA512 (import_1.2.0.tar.gz) = abcc93151fa8d647aa8a4045cccca31b7a3d4241465bb01faa2fac8b2272d818d9e14eb0d73593dde04d6f86f63feafd12c02ff549c91a9255698bdc0b02e51f
|
||||||
|
Loading…
Reference in New Issue
Block a user