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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx> 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.
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel


[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux