include all patches in the source package.
(cherry picked from commit b0f5a3b555c5270d0f8e9496d9fef276f0d84d8f)
This commit is contained in:
parent
29ccf989d0
commit
514cd5cfbd
15
bwa.spec
15
bwa.spec
@ -1,13 +1,13 @@
|
|||||||
Name: bwa
|
Name: bwa
|
||||||
Version: 0.7.18
|
Version: 0.7.18
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: Burrows-Wheeler Alignment tool
|
Summary: Burrows-Wheeler Alignment tool
|
||||||
License: GPLv3 and MIT
|
License: GPLv3 and MIT
|
||||||
URL: https://github.com/lh3/bwa
|
URL: https://github.com/lh3/bwa
|
||||||
Source0: https://github.com/lh3/bwa/releases/download/v%{version}/%{name}-%{version}.tar.gz
|
Source0: https://github.com/lh3/bwa/releases/download/v%{version}/%{name}-%{version}.tar.gz
|
||||||
%ifnarch riscv64
|
|
||||||
Patch1: bwa-simde.patch
|
Patch1: bwa-simde.patch
|
||||||
%endif
|
|
||||||
BuildRequires: gcc perl-generators
|
BuildRequires: gcc perl-generators
|
||||||
%ifnarch x86_64
|
%ifnarch x86_64
|
||||||
BuildRequires: simde-devel
|
BuildRequires: simde-devel
|
||||||
@ -20,7 +20,11 @@ reference genome (e.g. human genome). It has two major components, one
|
|||||||
for read shorter than 150bp and the other for longer reads.
|
for read shorter than 150bp and the other for longer reads.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%setup
|
||||||
|
|
||||||
|
%ifnarch riscv64
|
||||||
|
%patch -P1 -p1
|
||||||
|
%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="%{optflags} -O3"
|
CFLAGS="%{optflags} -O3"
|
||||||
@ -59,6 +63,9 @@ install -m 0644 bwa.1 %{buildroot}/%{_mandir}/man1/bwa.1
|
|||||||
%{_mandir}/man1/%{name}.1*
|
%{_mandir}/man1/%{name}.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Dec 09 2024 shenzhongwei <shenzhongwei@kylinos.cn> - 0.7.18-3
|
||||||
|
- include all patches in the source package.
|
||||||
|
|
||||||
* Wed Aug 28 2024 wangqiang <wangqiang1@kylinos.cn> - 0.7.18-2
|
* Wed Aug 28 2024 wangqiang <wangqiang1@kylinos.cn> - 0.7.18-2
|
||||||
- Support build with clang
|
- Support build with clang
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user