%global packname memoise %global packver 2.0.1 %global __suggests_exclude ^R\\((aws\\.s3)\\) Name: R-%{packname} Version: %{packver} Release: 8%{?dist} Source0: ftp://cran.r-project.org/pub/R/contrib/main/%{packname}_%{packver}.tar.gz License: MIT URL: http://cran.r-project.org/web/packages/memoise/index.html Summary: Memoisation of functions BuildRequires: R-devel >= 3.0.0, tetex-latex, R-digest-devel, R-rlang >= 0.4.10, R-cachem BuildArch: noarch %description Cache the results of a function so that when you call it again with the same arguments it returns the pre-computed value. %prep %setup -q -c -n %{packname} # Don't need coverage; it's not packaged either. sed -i 's/, covr//g' %{packname}/DESCRIPTION %build %install mkdir -p $RPM_BUILD_ROOT%{_datadir}/R/library %{_bindir}/R CMD INSTALL -l $RPM_BUILD_ROOT%{_datadir}/R/library %{packname} test -d %{packname}/src && (cd %{packname}/src; rm -f *.o *.so) rm -rf $RPM_BUILD_ROOT%{_datadir}/R/library/R.css %check # Can not do it, too many missing deps # %%{_bindir}/R CMD check %%{packname} %files %dir %{_datadir}/R/library/%{packname} # This is not the license text. It's actually pretty worthless. %doc %{_datadir}/R/library/%{packname}/LICENSE %doc %{_datadir}/R/library/%{packname}/html %doc %{_datadir}/R/library/%{packname}/NEWS.md %{_datadir}/R/library/%{packname}/DESCRIPTION %{_datadir}/R/library/%{packname}/INDEX %{_datadir}/R/library/%{packname}/NAMESPACE %{_datadir}/R/library/%{packname}/Meta %{_datadir}/R/library/%{packname}/R %{_datadir}/R/library/%{packname}/help %changelog * Wed Jul 17 2024 Fedora Release Engineering - 2.0.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Thu Apr 25 2024 Iñaki Úcar - 2.0.1-7 - R-maint-sig mass rebuild * Mon Jan 22 2024 Fedora Release Engineering - 2.0.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 2.0.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Jul 19 2023 Fedora Release Engineering - 2.0.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Apr 21 2023 Iñaki Úcar - 2.0.1-3 - R-maint-sig mass rebuild * Wed Jan 18 2023 Fedora Release Engineering - 2.0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Aug 25 2022 Tom Callaway - 2.0.1-1 - update to 2.0.1 - rebuild for R 4.2.1 * Wed Jul 20 2022 Fedora Release Engineering - 2.0.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jan 19 2022 Fedora Release Engineering - 2.0.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Jul 21 2021 Fedora Release Engineering - 2.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jun 15 2021 Tom Callaway - 2.0.0-2 - Rebuilt for R 4.1.0 * Thu Feb 4 2021 Tom Callaway - 2.0.0-1 - update to 2.0.0 * Mon Jan 25 2021 Fedora Release Engineering - 1.1.0-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 1.1.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jun 5 2020 Tom Callaway - 1.1.0-8 - rebuild for R 4 * Tue Jan 28 2020 Fedora Release Engineering - 1.1.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Nov 06 2019 Elliott Sales de Andrade - 1.1.0-6 - Exclude Suggests for unavailable packages * Mon Aug 12 2019 Elliott Sales de Andrade - 1.1.0-5 - Remove explicit dependencies provided by automatic dependency generator * Wed Jul 24 2019 Fedora Release Engineering - 1.1.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jan 31 2019 Fedora Release Engineering - 1.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Thu Jul 12 2018 Fedora Release Engineering - 1.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Mar 23 2018 Tom Callaway - 1.1.0-1 - update to 1.1.0 * Wed Feb 07 2018 Fedora Release Engineering - 0.2.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0.2.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 0.2.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Feb 03 2016 Fedora Release Engineering - 0.2.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Tue Nov 10 2015 Tom Callaway - 0.2.1-2 - fix define to be global * Wed Nov 4 2015 Tom Callaway - 0.2.1-1 - initial package