!11 [sync] PR-9: 源码包同源异构问题修复

From: @openeuler-sync-bot 
Reviewed-by: @wk333 
Signed-off-by: @wk333
This commit is contained in:
openeuler-ci-bot 2024-12-09 06:14:41 +00:00 committed by Gitee
commit ea8db5071e
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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