Skip to content

Commit

Permalink
Fix for review 2.
Browse files Browse the repository at this point in the history
  • Loading branch information
junaruga committed Apr 22, 2020
1 parent 8f24750 commit ab13e3b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
Binary file modified bowtie2-2.4.1-1.fc33.src.rpm
Binary file not shown.
10 changes: 4 additions & 6 deletions bowtie2.spec
Expand Up @@ -26,11 +26,10 @@ BuildRequires: perl(Sys::Hostname)
BuildRequires: perl(Test::Deep)
BuildRequires: perl(lib)
BuildRequires: python3
%ifnarch x86_64
BuildRequires: simde-devel
%endif
%ifarch x86_64
BuildRequires: tbb-devel
%else
BuildRequires: simde-devel
%endif
BuildRequires: zlib-devel
# * 32-bit CPU architectures: not supported. See Makefile.
Expand All @@ -54,15 +53,14 @@ genome, its memory footprint is typically around 3.2 GB. Bowtie 2 supports
gapped, local, and paired-end alignment modes.

%prep
%setup -q
%autosetup

# Remove the directory to avoid building bowtie with bundled libraries.
rm -rf third_party

# Invalid double quote characters are used in the code.
# https://github.com/BenLangmead/bowtie2/issues/278
sed -i 's/“/"/g' processor_support.h
sed -i 's/”/"/g' processor_support.h
sed -e 's/“/"/g' -e 's/”/"/g' -i processor_support.h

# Fix shebang to use the system interpreters.
sed -i '1s|/usr/bin/env perl|%{_bindir}/perl|' bowtie2
Expand Down

0 comments on commit ab13e3b

Please sign in to comment.