Compare commits

..

No commits in common. "rawhide" and "f28" have entirely different histories.
rawhide ... f28

3 changed files with 52 additions and 110 deletions

6
.gitignore vendored
View File

@ -1,8 +1,2 @@
/lubridate_1.7.3.tar.gz
/lubridate_1.7.4.tar.gz
/lubridate_1.7.8.tar.gz
/lubridate_1.7.9.tar.gz
/lubridate_1.7.9.2.tar.gz
/lubridate_1.7.10.tar.gz
/lubridate_1.8.0.tar.gz
/lubridate_1.9.2.tar.gz

View File

@ -1,45 +1,71 @@
%global packname lubridate
%global packver 1.9.2
%global packname lubridate
%global rlibdir %{_libdir}/R/library
# knitr is not yet available.
%global with_doc 1
Name: R-%{packname}
Version: %{packver}
Release: 8%{?dist}
Version: 1.7.4
Release: 2%{?dist}
Summary: Make dealing with dates a little easier
License: GPL-2.0-or-later-version
URL: https://CRAN.R-project.org/package=%{packname}
Source0: https://cran.r-project.org/src/contrib/%{packname}_%{packver}.tar.gz
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
# Here's the R view of the dependencies world:
# Depends: R-methods
# Imports: R-generics, R-timechange >= 0.1.1
# Suggests: R-covr, R-knitr, R-rmarkdown, R-testthat >= 2.1.0, R-vctrs >= 0.5.0
# Imports: R-stringr, R-Rcpp >= 0.12.13
# Suggests: R-testthat, R-knitr, R-covr
# LinkingTo:
# Enhances:
Requires: R-methods
Requires: R-stringr
Requires: R-Rcpp >= 0.12.13
Requires: tzdata
%if %{fedora} >= 28
BuildRequires: cctz-devel
%else
BuildRequires: tzdata
%endif
BuildRequires: R-devel
BuildRequires: tex(latex)
BuildRequires: R-methods
BuildRequires: R-generics
BuildRequires: R-timechange >= 0.1.1
BuildRequires: R-stringr
BuildRequires: R-Rcpp-devel >= 0.12.13
BuildRequires: R-testthat
%if %{with_doc}
BuildRequires: R-knitr
BuildRequires: R-rmarkdown
BuildRequires: R-testthat >= 2.1.0
BuildRequires: R-vctrs >= 0.5.0
%endif
%description
Functions to work with date-times and time-spans: fast and user friendly
parsing of date-time data, extraction and updating of components of a date-time
(years, months, days, hours, minutes, and seconds), algebraic manipulation on
date-time and time-span objects. The 'lubridate' package has a consistent and
memorable syntax that makes working with dates easy and fun.
parsing of date-time data, extraction and updating of components of a
date-time (years, months, days, hours, minutes, and seconds), algebraic
manipulation on date-time and time-span objects. The 'lubridate' package
has a consistent and memorable syntax that makes working with dates easy
and fun. Parts of the 'CCTZ' source code, released under the Apache 2.0
License, are included in this package. See
<https://github.com/google/cctz> for more details.
%prep
%setup -q -c -n %{packname}
# Don't need coverage; it's not packaged either.
sed -i 's/covr, //g' %{packname}/DESCRIPTION
sed -i 's/, covr//g' %{packname}/DESCRIPTION
%if %{fedora} >= 28
# Delete bundled cctz.
rm -r %{packname}/src/cctz
cat > %{packname}/src/Makevars << EOF
CXX_STD = CXX11
PKG_CPPFLAGS= -I. -I/usr/include/cctz
PKG_LIBS= -lcctz
EOF
sed -i '/time_zone_if/d' %{packname}/src/update.cpp
%endif
%build
@ -56,7 +82,12 @@ rm %{buildroot}%{rlibdir}/%{packname}/cctz.sh
%check
%{_bindir}/R CMD check --ignore-vignettes %{packname}
%if %{with_doc}
%{_bindir}/R CMD check %{packname}
%else
_R_CHECK_FORCE_SUGGESTS_=0 %{_bindir}/R CMD check %{packname} --ignore-vignettes
%endif
%files
%dir %{rlibdir}/%{packname}
@ -77,89 +108,6 @@ rm %{buildroot}%{rlibdir}/%{packname}/cctz.sh
%changelog
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.2-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Thu Apr 25 2024 Iñaki Úcar <iucar@fedoraproject.org> - 1.9.2-7
- R-maint-sig mass rebuild
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.2-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Fri May 12 2023 Iñaki Úcar <iucar@fedoraproject.org> - 1.9.2-3
- Ignore vignettes
* Fri Apr 21 2023 Iñaki Úcar <iucar@fedoraproject.org> - 1.9.2-2
- R-maint-sig mass rebuild
* Fri Mar 3 2023 Tom Callaway <spot@fedoraproject.org> - 1.9.2-1
- update to 1.9.2
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Thu Sep 1 2022 Tom Callaway <spot@fedoraproject.org> - 1.8.0-1
- update to 1.8.0
- rebuild for R 4.2.1
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.10-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.10-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.10-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Mon Jun 14 2021 Tom Callaway <spot@fedoraproject.org> - 1.7.10-2
- Rebuilt for R 4.1.0
* Sat Feb 27 2021 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.7.10-1
- Update to latest version (#1933314)
* Mon Jan 25 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.9.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Fri Nov 13 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.7.9.2-1
- Update to latest version (#1897632)
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.9-3
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.9-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jul 21 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.7.9-1
- Update to latest version
* Sat Jun 6 2020 Tom Callaway <spot@fedoraproject.org> - 1.7.8-2
- rebuild for R 4
* Thu May 21 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.7.8-1
- Update to latest version
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.4-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Sun Aug 11 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.7.4-6
- Remove explicit dependencies provided by automatic dependency generator
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.4-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.4-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Thu May 17 2018 Tom Callaway <spot@fedoraproject.org> - 1.7.4-2
- rebuild for R 3.5.0

View File

@ -1 +1 @@
SHA512 (lubridate_1.9.2.tar.gz) = bc983e5e5ff64f82b6d6af720de88ae80d72ec99ffbfb420672057b591dd8870d2676203dfe6784de6810ac6778bd64035c50ae3127fe356fcb2d89b61a9740b
SHA512 (lubridate_1.7.4.tar.gz) = b77af2a16c07a24278bf59eab2231524f81c6f4ce92d9e8b5ffe3d4cb8fe8af229c8bbe1c94d596cb858c2f7cef83a7b99b6e15654402f12d911d887dc04ab5b