[R-rtracklayer] Replace spec by sed

Pierre-YvesChibon pingou at fedoraproject.org
Thu Jul 3 10:48:50 UTC 2014


commit c5659b4cda78881897c6804a87645a2d575bd82a
Author: Pierre-Yves Chibon <pingou at pingoured.fr>
Date:   Thu Jul 3 12:48:47 2014 +0200

    Replace spec by sed

 R-rtracklayer.spec |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/R-rtracklayer.spec b/R-rtracklayer.spec
index 60d3d38..713b364 100644
--- a/R-rtracklayer.spec
+++ b/R-rtracklayer.spec
@@ -2,14 +2,13 @@
 
 Name:             R-%{packname}
 Version:          1.22.3
-Release:          2%{?dist}
+Release:          3%{?dist}
 Summary:          R interface to genome browsers and their annotation tracks
 Group:            Applications/Productivity
 License:          Artistic 2.0 and BSD
 URL:              http://www.bioconductor.org/packages/release/bioc/html/rtracklayer.html
 Source0:          http://www.bioconductor.org/packages/2.9/bioc/src/contrib/%{packname}_%{version}.tar.gz
 Source1:          rtracklayer_jimkent_license.txt
-Patch0:           R-rtracklayer-1.20.0-no-zlibbioc.patch
 Requires:         R-core >= 3.0.0, texlive-latex, R-methods, R-RCurl >= 1.4.2, R-XML >= 1.98.0 
 Requires:         R-IRanges >= 1.19.34, R-GenomicRanges >= 1.13.43, R-Biostrings >= 2.29.18 
 Requires:         R-BSgenome >= 1.15.17, R-Rsamtools >= 1.13.1, R-XVector >= 0.1.3
@@ -26,7 +25,9 @@ modify the browser state, such as the current viewport.
 
 %prep
 %setup -c -q -n %{packname}
-%patch0 -p1 -b .no-zlibbioc
+sed -i -e 's|zlibbioc,||' rtracklayer/DESCRIPTION
+sed -i -e 's|import(zlibbioc)||' rtracklayer/NAMESPACE
+
 # This email confirms that we have permission to use the Jim Kent 
 # copyrighted files under the BSD license.
 cp %{SOURCE1} .
@@ -70,6 +71,11 @@ rm -rf %{buildroot}%{_libdir}/R/library/%{packname}/tests/quickload/T_species_Oc
 %{_libdir}/R/library/%{packname}/unitTests/
 
 %changelog
+* Thu Jul 03 2014 Pierre-Yves Chibon <pingou at pingoured.fr> - 1.22.3-3
+- Drop the patch fixing the zlibbioc import/dependency in favor of a couple of
+  sed commands
+
+
 * Fri Jun 06 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.22.3-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list