This commit is contained in:
Tom Callaway 2017-05-30 09:52:48 -04:00
parent 76d5293c7f
commit 60291183ae
3 changed files with 13 additions and 16 deletions

1
.gitignore vendored
View File

@ -20,3 +20,4 @@ IRanges_1.6.8.tar.gz
/IRanges_2.2.5.tar.gz
/IRanges_2.4.4.tar.gz
/IRanges_2.8.1.tar.gz
/IRanges_2.10.1.tar.gz

View File

@ -1,25 +1,24 @@
%global packname IRanges
%global Rvers 3.1.0
%global Rvers 3.4.0
%global bootstrap 1
Name: R-%{packname}
Version: 2.8.1
Release: 2%{dist}
Version: 2.10.1
Release: 1%{dist}
Summary: Low-level containers for storing sets of integer ranges
Group: Applications/Engineering
License: Artistic 2.0 and Copyright only
# See https://www.redhat.com/archives/fedora-r-devel-list/2009-April/msg00001.html
URL: http://bioconductor.org/packages/release/bioc/html/IRanges.html
Source0: http://bioconductor.org/packages/release/bioc/src/contrib/%{packname}_%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: R-core >= %{Rvers} R-methods R-stats R-RUnit R-Matrix R-BiocGenerics >= 0.15.10 R-S4Vectors >= 0.7.19
Requires: R-core >= %{Rvers} R-RUnit R-methods R-stats R-utils R-stats4 R-BiocGenerics >= 0.21.1 R-S4Vectors >= 0.13.17
# We can't require R-GenomicRanges until it has been built (it deps on R-IRanges)
%if %{bootstrap} < 1
Requires: R-GenomicRanges
%endif
BuildRequires: R-devel >= %{Rvers} tex(latex)
BuildRequires: R-methods R-stats R-RUnit R-Matrix R-BiocGenerics >= 0.15.10
BuildRequires: R-S4Vectors-devel >= 0.7.19
BuildRequires: R-methods R-stats R-RUnit R-utils R-stats4 R-BiocGenerics >= 0.21.1
BuildRequires: R-S4Vectors-devel >= 0.13.17
# R-GenomicRanges is only needed for check, but it makes a dep loop
%if %{bootstrap} < 1
BuildRequires: R-GenomicRanges
@ -63,15 +62,10 @@ test -d %{packname}/src && (cd %{packname}/src; rm -f *.o *.so)
rm -rf %{buildroot}%{_libdir}/R/library/R.css
%check
%if %{bootstrap} < 1
%{_bindir}/R CMD check %{packname}
%endif
%clean
rm -rf %{buildroot}
# disable check
# %{_bindir}/R CMD check %{packname}
%files
%defattr(-, root, root, -)
%dir %{_libdir}/R/library/%{packname}/
%doc %{_libdir}/R/library/%{packname}/doc
%doc %{_libdir}/R/library/%{packname}/html
@ -88,10 +82,12 @@ rm -rf %{buildroot}
%{_libdir}/R/library/%{packname}/unitTests
%files devel
%defattr(-,root,root,-)
%{_libdir}/R/library/%{packname}/include
%changelog
* Wed May 24 2017 Tom Callaway <spot@fedoraproject.org> - 2.10.1-1
- update to 2.10.1
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (IRanges_2.8.1.tar.gz) = aebcda4949655ac3b9291a7157dcc7970f6acfae175df600473a77b9a0d3ba24a632517bc3e23fec554b3036a97305d27ede7b06869587db0cf5d5f837317090
SHA512 (IRanges_2.10.1.tar.gz) = a856427a1d1d7f52df336024d0fad37b3df7650e1af40e749c13808167e23b10e234ba3548a2976f276f5256aba143a306c0d7dbb0e231471a21ea20e77da59b