Update to latest version.

This commit is contained in:
Elliott Sales de Andrade 2018-04-26 02:41:06 -04:00
parent d4f0c13d1f
commit f2177e1b60
3 changed files with 16 additions and 13 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
/lubridate_1.7.3.tar.gz
/lubridate_1.7.4.tar.gz

View File

@ -5,33 +5,35 @@
%global with_doc 1
Name: R-%{packname}
Version: 1.7.3
Release: 4%{?dist}
Version: 1.7.4
Release: 1%{?dist}
Summary: Make dealing with dates a little easier
License: GPLv2+ and ASL 2.0
URL: https://cran.r-project.org/web/packages/%{packname}/index.html
Source0: https://cran.r-project.org/src/contrib/%{packname}_%{version}.tar.gz
# https://github.com/tidyverse/lubridate/pull/649
Patch0001: 0001-Fix-system-timezone-memoization.patch
# Here's the R view of the dependencies world:
# Depends: R-methods
# Imports: R-stringr R-Rcpp
# Suggests: R-testthat R-knitr R-covr
# Imports: R-stringr, R-Rcpp >= 0.12.13
# Suggests: R-testthat, R-knitr, R-covr
# LinkingTo:
# Enhances:
Requires: R-methods
Requires: R-stringr R-Rcpp
Requires: R-stringr
Requires: R-Rcpp >= 0.12.13
Requires: tzdata
%if %{fedora} >= 28
BuildRequires: cctz-devel
%else
BuildRequires: tzdata
%endif
BuildRequires: R-devel tex(latex) R-methods
BuildRequires: R-stringr R-Rcpp-devel
BuildRequires: R-devel
BuildRequires: tex(latex)
BuildRequires: R-methods
BuildRequires: R-stringr
BuildRequires: R-Rcpp-devel >= 0.12.13
BuildRequires: R-testthat
%if %{with_doc}
BuildRequires: R-knitr
@ -50,9 +52,6 @@ License, are included in this package. See
%prep
%setup -q -c -n %{packname}
pushd %{packname}
%patch0001 -p1
popd
# Don't need coverage; it's not packaged either.
sed -i 's/, covr//g' %{packname}/DESCRIPTION
@ -109,6 +108,9 @@ _R_CHECK_FORCE_SUGGESTS_=0 %{_bindir}/R CMD check %{packname} --ignore-vignettes
%changelog
* Thu Apr 26 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.7.4-1
- Update to latest release
* Sun Mar 18 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.7.3-4
- Add missing Rcpp Requires.
- Make library name explicit.

View File

@ -1 +1 @@
SHA512 (lubridate_1.7.3.tar.gz) = 66d9912ae0fdb61a07acc7ba245918c78a46493f88cc03bf732882908906a30105bc8dd87b59e913488851e1afa66f0d18490647d055202f66f7206320040a87
SHA512 (lubridate_1.7.4.tar.gz) = b77af2a16c07a24278bf59eab2231524f81c6f4ce92d9e8b5ffe3d4cb8fe8af229c8bbe1c94d596cb858c2f7cef83a7b99b6e15654402f12d911d887dc04ab5b