!11 [sync] PR-9: 源码包同源异构问题修复
From: @openeuler-sync-bot Reviewed-by: @wk333 Signed-off-by: @wk333
This commit is contained in:
commit
ea8db5071e
15
bwa.spec
15
bwa.spec
@ -1,13 +1,13 @@
|
||||
Name: bwa
|
||||
Version: 0.7.18
|
||||
Release: 2
|
||||
Release: 3
|
||||
Summary: Burrows-Wheeler Alignment tool
|
||||
License: GPLv3 and MIT
|
||||
URL: https://github.com/lh3/bwa
|
||||
Source0: https://github.com/lh3/bwa/releases/download/v%{version}/%{name}-%{version}.tar.gz
|
||||
%ifnarch riscv64
|
||||
|
||||
Patch1: bwa-simde.patch
|
||||
%endif
|
||||
|
||||
BuildRequires: gcc perl-generators
|
||||
%ifnarch x86_64
|
||||
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.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
%setup
|
||||
|
||||
%ifnarch riscv64
|
||||
%patch -P1 -p1
|
||||
%endif
|
||||
|
||||
%build
|
||||
CFLAGS="%{optflags} -O3"
|
||||
@ -59,6 +63,9 @@ install -m 0644 bwa.1 %{buildroot}/%{_mandir}/man1/bwa.1
|
||||
%{_mandir}/man1/%{name}.1*
|
||||
|
||||
%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
|
||||
- Support build with clang
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user