Skip to content

Commit

Permalink
Fix for review.
Browse files Browse the repository at this point in the history
  • Loading branch information
junaruga committed Apr 18, 2020
1 parent aa6165a commit 8f24750
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
Binary file modified bowtie2-2.4.1-1.fc33.src.rpm
Binary file not shown.
12 changes: 8 additions & 4 deletions bowtie2.spec
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,18 @@ Source0: https://downloads.sourceforge.net/project/bowtie-bio/%{name}/%{version}
# cd bowtie2 && git checkout v2.4.1
# tar czvf bowtie2-2.4.1-tests.tgz scripts/test/
Source1: bowtie2-2.4.1-tests.tgz
Requires: perl
Requires: python3
BuildRequires: gcc-c++
BuildRequires: libasan
BuildRequires: libubsan
BuildRequires: perl
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(Clone)
BuildRequires: perl(File::Which)
BuildRequires: perl(FindBin)
BuildRequires: perl(Sys::Hostname)
BuildRequires: perl(Test::Deep)
BuildRequires: perl(lib)
BuildRequires: python3
%ifnarch x86_64
BuildRequires: simde-devel
Expand Down Expand Up @@ -61,7 +65,7 @@ sed -i 's/“/"/g' processor_support.h
sed -i 's/”/"/g' processor_support.h

# Fix shebang to use the system interpreters.
sed -i '1s|/usr/bin/env perl|/usr/bin/perl|' bowtie2
sed -i '1s|/usr/bin/env perl|%{_bindir}/perl|' bowtie2
for file in bowtie2-{build,inspect}; do
sed -i '1s|/usr/bin/env python3|%{__python3}|' "${file}"
done
Expand All @@ -82,7 +86,7 @@ export NO_TBB=1


%install
%make_install PREFIX="%{_usr}" DESTDIR="%{buildroot}"
%make_install PREFIX="%{_prefix}"


%check
Expand Down

0 comments on commit 8f24750

Please sign in to comment.