update to 2.1, conditionalize check around suggests (magick is not in Fedora), rebuild for R 4

This commit is contained in:
Tom Callaway 2020-06-05 11:36:17 -04:00
parent f15a34ef6b
commit 54d1c38f7b
3 changed files with 17 additions and 6 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
/rsvg_1.3.tar.gz
/rsvg_2.1.tar.gz

View File

@ -1,9 +1,10 @@
%global packname rsvg
%global rlibdir %{_libdir}/R/library
%global with_suggests 0
Name: R-%{packname}
Version: 1.3
Release: 4%{?dist}
Version: 2.1
Release: 1%{?dist}
Summary: Render SVG Images into PDF, PNG, PostScript, or Bitmap Arrays
License: MIT
@ -13,18 +14,19 @@ Source0: https://cran.r-project.org/src/contrib/%{packname}_%{version}.
# Here's the R view of the dependencies world:
# Depends:
# Imports:
# Suggests: R-spelling, R-svglite, R-png, R-jpeg, R-webp, R-ggplot2
# Suggests: R-spelling, R-svglite, R-magick, R-webp, R-ggplot2
# LinkingTo:
# Enhances:
BuildRequires: R-devel
BuildRequires: tex(latex)
%if %{with_suggests}
BuildRequires: R-spelling
BuildRequires: R-svglite
BuildRequires: R-png
BuildRequires: R-jpeg
BuildRequires: R-magick
BuildRequires: R-webp
BuildRequires: R-ggplot2
%endif
BuildRequires: librsvg2-devel
%description
@ -49,7 +51,9 @@ rm -f %{buildroot}%{rlibdir}/R.css
%check
%if %{with_suggests}
%{_bindir}/R CMD check %{packname}
%endif
%files
@ -58,6 +62,7 @@ rm -f %{buildroot}%{rlibdir}/R.css
%doc %{rlibdir}/%{packname}/html
%{rlibdir}/%{packname}/DESCRIPTION
%doc %{rlibdir}/%{packname}/NEWS
%doc %{rlibdir}/%{packname}/doc/
%{rlibdir}/%{packname}/INDEX
%{rlibdir}/%{packname}/NAMESPACE
%{rlibdir}/%{packname}/Meta
@ -69,6 +74,11 @@ rm -f %{buildroot}%{rlibdir}/R.css
%changelog
* Fri Jun 5 2020 Tom Callaway <spot@fedoraproject.org> - 2.1-5
- update to 2.1
- conditionalize check around suggests (magick is not in Fedora)
- rebuild for R 4
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (rsvg_1.3.tar.gz) = fc486227503d391b3eda76a5077d675628f2719914c4ff2af030aeb7519fc1c23d39ad9cacaaa7ce23beecefd918994caab1ef56b7bb4e752e330245f7bcae6a
SHA512 (rsvg_2.1.tar.gz) = 4ff7b8eac663b73af4cd493abc6d3e3ec2b50a675765594d2702036d14f11b024c6b8e3615781e5c92d545936f5d0c53dd427d51ea1b00cb69654d6f87c8896b