%global packname conflicted %global packver 1.1.0 %global rlibdir %{_datadir}/R/library Name: R-%{packname} Version: %{packver} Release: 9%{?dist} Summary: An Alternative Conflict Resolution Strategy # Automatically converted from old format: GPLv3 - review is highly recommended. License: GPL-3.0-only URL: https://CRAN.R-project.org/package=%{packname} Source0: https://cran.r-project.org/src/contrib/%{packname}_%{packver}.tar.gz # Here's the R view of the dependencies world: # Depends: # Imports: R-rlang >= 0.3.4, R-memoise # Suggests: R-covr, R-crayon, R-dplyr, R-pkgdown, R-testthat # LinkingTo: # Enhances: BuildArch: noarch BuildRequires: R-devel BuildRequires: tex(latex) BuildRequires: R-rlang >= 0.3.4 BuildRequires: R-callr BuildRequires: R-memoise BuildRequires: R-crayon BuildRequires: R-dplyr BuildRequires: R-Matrix BuildRequires: R-pkgload BuildRequires: R-testthat >= 3.0.0 %description R's default conflict management system gives the most recently loaded package precedence. This can make it hard to detect conflicts, particularly when they arise because a package update creates ambiguity that did not previously exist. 'conflicted' takes a different approach, making every conflict an error and forcing you to choose which function to use. %prep %setup -q -c -n %{packname} # Coverage is not needed. sed -i 's/covr, //g' %{packname}/DESCRIPTION %build %install mkdir -p %{buildroot}%{rlibdir} %{_bindir}/R CMD INSTALL -l %{buildroot}%{rlibdir} %{packname} test -d %{packname}/src && (cd %{packname}/src; rm -f *.o *.so) rm -f %{buildroot}%{rlibdir}/R.css %check %{_bindir}/R CMD check %{packname} %files %dir %{rlibdir}/%{packname} %doc %{rlibdir}/%{packname}/html %{rlibdir}/%{packname}/DESCRIPTION %doc %{rlibdir}/%{packname}/LICENSE %doc %{rlibdir}/%{packname}/NEWS.md %{rlibdir}/%{packname}/INDEX %{rlibdir}/%{packname}/NAMESPACE %{rlibdir}/%{packname}/Meta %{rlibdir}/%{packname}/R %{rlibdir}/%{packname}/help %changelog * Mon Jul 29 2024 Miroslav Suchý - 1.1.0-9 - convert license to SPDX * Wed Jul 17 2024 Fedora Release Engineering - 1.1.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Thu Apr 25 2024 Iñaki Úcar - 1.1.0-7 - R-maint-sig mass rebuild * Mon Jan 22 2024 Fedora Release Engineering - 1.1.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 1.1.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Jul 19 2023 Fedora Release Engineering - 1.1.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Apr 21 2023 Iñaki Úcar - 1.1.0-3 - R-maint-sig mass rebuild * Wed Jan 18 2023 Fedora Release Engineering - 1.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Sep 2 2022 Tom Callaway - 1.1.0-1 - update to 1.1.0 - rebuild for R 4.2.1 * Wed Jul 20 2022 Fedora Release Engineering - 1.0.4-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jan 19 2022 Fedora Release Engineering - 1.0.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Jul 21 2021 Fedora Release Engineering - 1.0.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jun 15 2021 Tom Callaway - 1.0.4-3 - Rebuilt for R 4.1.0 * Mon Jan 25 2021 Fedora Release Engineering - 1.0.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sun Nov 15 2020 Elliott Sales de Andrade - 1.0.4-1 - initial package for Fedora