Update to latest version.

This commit is contained in:
Elliott Sales de Andrade 2020-09-25 06:11:56 -04:00
parent e32f319cae
commit f0a50d0aea
3 changed files with 20 additions and 22 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
/import_1.1.0.tar.gz
/import_1.2.0.tar.gz

View File

@ -1,19 +1,20 @@
%global packname import
%global packname import
%global packver 1.2.0
%global rlibdir %{_datadir}/R/library
Name: R-%{packname}
Version: 1.1.0
Release: 9%{?dist}
Version: 1.2.0
Release: 1%{?dist}
Summary: An Import Mechanism for R
License: MIT
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:
# Depends:
# Imports:
# Suggests: R-knitr
# Suggests: R-knitr, R-rmarkdown, R-magrittr, R-testthat
# LinkingTo:
# Enhances:
@ -21,28 +22,21 @@ BuildArch: noarch
BuildRequires: R-devel
BuildRequires: tex(latex)
BuildRequires: R-knitr
BuildRequires: R-rmarkdown
BuildRequires: R-magrittr
BuildRequires: R-testthat
%description
This is an alternative mechanism for importing objects from packages. The
syntax allows for importing multiple objects from a package with a single
command in an expressive way. The import package bridges some of the gap
between using library (or require) and direct (single-object) imports.
Furthermore the imported objects are not placed in the current
environment. It is also possible to import objects from stand-alone .R
files. For more information, refer to the package vignette.
Alternative mechanism for importing objects from packages and R modules.
The syntax allows for importing multiple objects with a single command in
an expressive way. The import package bridges some of the gap between using
library (or require) and direct (single-object) imports. Furthermore the
imported objects are not placed in the current environment.
%prep
%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
@ -63,7 +57,7 @@ rm -f %{buildroot}%{rlibdir}/R.css
%doc %{rlibdir}/%{packname}/doc
%doc %{rlibdir}/%{packname}/html
%{rlibdir}/%{packname}/DESCRIPTION
%doc %{rlibdir}/%{packname}/NEWS
%doc %{rlibdir}/%{packname}/NEWS.md
%license %{rlibdir}/%{packname}/LICENSE
%{rlibdir}/%{packname}/INDEX
%{rlibdir}/%{packname}/NAMESPACE
@ -73,6 +67,9 @@ rm -f %{buildroot}%{rlibdir}/R.css
%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
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (import_1.1.0.tar.gz) = ceb13d975b8b42fc13438a4a75cd1270772b8cc76abbf5e0db49afdeed09e52556ab89772a480810b6aa1a097d854ce3e86a4d03ad104dab7605bea60c9fe27e
SHA512 (import_1.2.0.tar.gz) = abcc93151fa8d647aa8a4045cccca31b7a3d4241465bb01faa2fac8b2272d818d9e14eb0d73593dde04d6f86f63feafd12c02ff549c91a9255698bdc0b02e51f