[Bug 630644] Review Request: perl-Bio-SamTools - Bio::SamTools Perl module

bugzilla at redhat.com bugzilla at redhat.com
Wed Mar 2 17:10:07 UTC 2011


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=630644

--- Comment #8 from Petr Pisar <ppisar at redhat.com> 2011-03-02 12:10:05 EST ---
Have you solved it? Following changes in spec file can do that. Note the Patch0
is not needed.

--- perl-Bio-SamTools.spec.old 2010-09-06 17:21:04.000000000 +0200
+++ perl-Bio-SamTools.spec 2011-03-02 18:09:20.547956138 +0100
@@ -6,7 +6,6 @@
 Group:  Development/Libraries
 URL:  http://search.cpan.org/dist/Bio-SamTools/
 Source0:
http://search.cpan.org/CPAN/authors/id/L/LD/LDS/Bio-SamTools-1.20.tar.gz
-Patch0:  %{name}-include.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: perl >= 0:5.008
 #BuildRequires: perl(Bio::Root::Version) >= 1.005009001
@@ -28,10 +27,9 @@

 %prep
 %setup -q -n Bio-SamTools-%{version}
-%patch0 -p1
+sed -i 's|= find_sam(|= ("%{_includedir}/samtools", "%{_libdir}"|' Build.PL

 %build
-export SAMTOOLS="/usr/share/samtools"
 %{__perl} Build.PL installdirs=vendor optimize="$RPM_OPT_FLAGS" 
 ./Build

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the package-review mailing list