rpms/perl-bioperl/devel perl-bioperl.spec,1.15,1.16

Alex Lancaster alexlan at fedoraproject.org
Sun Dec 28 23:56:36 UTC 2008


Author: alexlan

Update of /cvs/extras/rpms/perl-bioperl/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv32558

Modified Files:
	perl-bioperl.spec 
Log Message:
- Filter unwanted Requires: Bio::Graphics and Bio::Graphics::Panel
  fixes broken deps until the .pl demo scripts remove them to the
  appropriate module



Index: perl-bioperl.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-bioperl/devel/perl-bioperl.spec,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- perl-bioperl.spec	28 Dec 2008 04:23:11 -0000	1.15
+++ perl-bioperl.spec	28 Dec 2008 23:56:06 -0000	1.16
@@ -1,6 +1,6 @@
 Name:           perl-bioperl
 Version:        1.5.9
-Release:        0.1.1%{?dist}
+Release:        0.2.1%{?dist}
 Summary:        Perl tools for computational molecular biology
 
 Group:          Development/Libraries
@@ -61,20 +61,26 @@
 %setup -q -n bioperl-%{version}._1
 %patch0 -p1 
 
-# temporarily remove PhyloNetwork before compiling
+# temporarily remove PhyloNetwork before compiling until upstream says
+# they are ready for primetime and deps Math::Random and
+# Algorithm::Munkres are also packaged
 rm -r Bio/PhyloNetwork*
 rm -r t/Tree/PhyloNetwork
 
-# Temporary hack for bootstrapping
-# Filter unwanted Requires:
-# cat << \EOF > %{_builddir}/bioperl-%{version}/%{name}-req
-# #!/bin/sh
-# %{__perl_requires} $* |\
+# Filter unwanted Requires:  Bio::Graphics
+cat << \EOF > %{_builddir}/bioperl-%{version}._1/%{name}-req
+#!/bin/sh
+%{__perl_requires} $* |\
+   sed -e '/perl(Bio::Graphics)/d; /perl(Bio::Graphics::Panel)/d'
+EOF
+ 
+%define __perl_requires %{_builddir}/bioperl-%{version}._1/%{name}-req
+chmod +x %{__perl_requires}
+
+# these are the unwanted Requires for perl-bioperl-run, keeping in
+# case we need to do the temporary hack for bootstrapping again
+
 #   sed -e '/perl(Bio::Tools::Run::Alignment::Clustalw)/d; /perl(Bio::Tools::Run::GenericParameters)/d; /perl(Bio::Tools::Run::Phylo::Molphy::ProtML)/d; /perl(Bio::Tools::Run::Phylo::Phylip::Neighbor)/d; /perl(Bio::Tools::Run::Phylo::Phylip::ProtDist)/d; /perl(Bio::Tools::Run::Phylo::Phylip::ProtPars)/d; /perl(Bio::Tools::Run::RemoteBlast)/d'
-# EOF
-# 
-# %%define __perl_requires %{_builddir}/bioperl-%{version}/%{name}-req
-# chmod +x %{__perl_requires}
 
 # remove all execute bits from the doc stuff
 find examples -type f -exec chmod -x {} 2>/dev/null ';'
@@ -126,6 +132,11 @@
 %{_mandir}/man3/*.3*    
 
 %changelog
+* Sun Dec 28 2008 Alex Lancaster <alexlan[AT]fedoraproject org> - 1.5.9-0.2.1
+- Filter unwanted Requires: Bio::Graphics and Bio::Graphics::Panel
+  fixes broken deps until the .pl demo scripts remove them to the
+  appropriate module
+
 * Fri Dec 26 2008 Alex Lancaster <alexlan[AT]fedoraproject org> - 1.5.9-0.1.1
 - Update to latest upstream, 1.5.9, which is release candidate 1 for 1.6.0
 - Add BuildRequires for perl(Array::Compare) and perl(GraphViz).




More information about the Fedora-perl-devel-list mailing list