From 514cd5cfbdcf557b30f0f3dd99dd17d792c7f96c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B2=88=E4=BB=B2=E4=BC=9F?= Date: Mon, 9 Dec 2024 13:26:36 +0800 Subject: [PATCH] include all patches in the source package. (cherry picked from commit b0f5a3b555c5270d0f8e9496d9fef276f0d84d8f) --- bwa.spec | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/bwa.spec b/bwa.spec index b39597b..ef309d7 100644 --- a/bwa.spec +++ b/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 - 0.7.18-3 +- include all patches in the source package. + * Wed Aug 28 2024 wangqiang - 0.7.18-2 - Support build with clang