[R-affy/f16] fix affy build

Tom Callaway spot at fedoraproject.org
Thu Nov 10 19:56:11 UTC 2011


commit 9cd898a5dccf0e8057ec22ec0beef31b9b4b18eb
Author: Tom "spot" Callaway <tcallawa at redhat.com>
Date:   Thu Nov 10 14:56:07 2011 -0500

    fix affy build

 R-affy-1.32.0-bogus-deps.patch |   36 ++++++++++++++++++++++++++++++++++++
 R-affy.spec                    |    3 +++
 2 files changed, 39 insertions(+), 0 deletions(-)
---
diff --git a/R-affy-1.32.0-bogus-deps.patch b/R-affy-1.32.0-bogus-deps.patch
new file mode 100644
index 0000000..289f822
--- /dev/null
+++ b/R-affy-1.32.0-bogus-deps.patch
@@ -0,0 +1,36 @@
+diff -up affy/DESCRIPTION.BAD affy/DESCRIPTION
+--- affy/DESCRIPTION.BAD	2011-11-01 00:30:02.000000000 -0400
++++ affy/DESCRIPTION	2011-11-10 14:54:20.051548185 -0500
+@@ -12,9 +12,8 @@ Author: Rafael A. Irizarry <rafa at jhu.edu
+         Christopher Workman <workman at cbs.dtu.dk>, John Zhang
+ Maintainer: Rafael A. Irizarry <rafa at jhu.edu>
+ Depends: R (>= 2.8.0), Biobase (>= 2.5.5)
+-Imports: affyio (>= 1.13.3), Biobase (>= 2.5.5), BiocInstaller,
+-        graphics, grDevices, methods, preprocessCore, stats, utils,
+-        zlibbioc
++Imports: affyio (>= 1.13.3), Biobase (>= 2.5.5), 
++        graphics, grDevices, methods, preprocessCore, stats, utils
+ Suggests: tkWidgets (>= 1.19.0), affydata
+ LinkingTo: preprocessCore
+ Description: The package contains functions for exploratory
+diff -up affy/NAMESPACE.BAD affy/NAMESPACE
+--- affy/NAMESPACE.BAD	2011-10-31 19:30:11.000000000 -0400
++++ affy/NAMESPACE	2011-11-10 14:54:08.500713693 -0500
+@@ -2,8 +2,6 @@ useDynLib("affy")
+ 
+ import(affyio)
+ 
+-import(zlibbioc)
+-
+ importClassesFrom(Biobase, AnnotatedDataFrame, AssayData, eSet, MIAME,
+                   Versioned, VersionedBiobase, Versions)
+ 
+@@ -26,8 +24,6 @@ importFrom(Biobase, addVigs2WinMenu, ass
+            assayDataNew, multiassign, read.AnnotatedDataFrame,
+            read.MIAME, testBioCConnection)
+ 
+-importFrom(BiocInstaller, biocinstallRepos)
+-
+ importFrom(graphics, abline, axis, barplot, boxplot, frame, hist,
+            image, lines, matplot, mtext, pairs, par, plot, points,
+            smoothScatter, text)
diff --git a/R-affy.spec b/R-affy.spec
index 673b917..cd585dc 100644
--- a/R-affy.spec
+++ b/R-affy.spec
@@ -11,10 +11,12 @@ Group:            Applications/Engineering
 License:          LGPLv2+ 
 URL:              http://bioconductor.org/packages/%{bioc}/bioc/html/%{packname}.html
 Source0:          http://bioconductor.org/packages/%{bioc}/bioc/src/contrib/%{packname}_%{version}.tar.gz
+Patch0:           R-affy-1.32.0-bogus-deps.patch
 BuildRoot:        %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 Requires:         R-core >= %{Rvers} R-Biobase R-tkWidgets R-preprocessCore R-affyio
 BuildRequires:    R-devel >= %{Rvers} tex(latex) R-Biobase R-tkWidgets R-preprocessCore-devel R-affyio
+BuildRequires:    zlib-devel
 
 %description
 The package contains functions for exploratory oligonucleotide array 
@@ -25,6 +27,7 @@ functions. 'affy' is fully  functional without it.
 
 %prep
 %setup -q -c -n %{packname}
+%patch0 -p0 -b .BAD
 
 %build
 


More information about the scm-commits mailing list