update to 1.11, new version fixed CVE-2020-36403

修改复制 config.guess 和 config.sub 的代码,直接创建空文件即可

Signed-off-by: herengui <herengui@uniontech.com>
(cherry picked from commit 207a493b101e8c38161239ab2107edece46f5878)
This commit is contained in:
herengui 2022-02-09 09:31:19 +08:00 committed by openeuler-sync-bot
parent ed08b27128
commit 26f9f8aa80
3 changed files with 7 additions and 5 deletions

Binary file not shown.

BIN
htslib-1.11.tar.gz Normal file

Binary file not shown.

View File

@ -1,10 +1,10 @@
Name: htslib Name: htslib
Version: 1.10.2 Version: 1.11
Release: 4 Release: 1
Summary: C library for high-throughput sequencing data formats Summary: C library for high-throughput sequencing data formats
License: MIT and BSD License: MIT and BSD
URL: http://www.htslib.org URL: http://www.htslib.org
Source0: https://github.com/samtools/htslib/archive/%{name}-%{version}.tar.gz Source0: https://github.com/samtools/htslib/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: gcc autoconf automake make curl-devel zlib-devel bzip2-devel xz-devel libxcrypt-devel openssl-devel BuildRequires: gcc autoconf automake make curl-devel zlib-devel bzip2-devel xz-devel libxcrypt-devel openssl-devel
@ -36,8 +36,7 @@ the htsfile identifier tool, and the bgzip compression utility.
%prep %prep
%setup -q -n %{name}-%{version} %setup -q -n %{name}-%{version}
install -p -m 0644 /usr/lib/rpm/%{_vendor}/config.guess config.guess touch config.guess config.sub
install -p -m 0644 /usr/lib/rpm/%{_vendor}/config.sub config.sub
%build %build
autoheader autoheader
@ -87,6 +86,9 @@ rm -rf %{buildroot}/%{_libdir}/libhts.a
%{_mandir}/man1/tabix.1* %{_mandir}/man1/tabix.1*
%changelog %changelog
* Wed Feb 09 2022 herengui <herengui@uniontech.com> - 1.11-1
- update to 1.11, new version fixed CVE-2020-36403
* Wed Jan 12 2022 Chen Chen <chen_aka_jan@163.com> - 1.10.2-4 * Wed Jan 12 2022 Chen Chen <chen_aka_jan@163.com> - 1.10.2-4
- fix config.guess and config.sub path error - fix config.guess and config.sub path error