From 196b81f489cfc74af257e7a096e3434ade64cbb8 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Sep 05 2022 22:11:26 +0000 Subject: import qatzip-1.0.9-1.el8 --- diff --git a/.gitignore b/.gitignore index a457eb4..e42efff 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/qatzip-1.0.6.tar.gz +SOURCES/qatzip-1.0.9.tar.gz diff --git a/.qatzip.metadata b/.qatzip.metadata index 377715e..bc7d43c 100644 --- a/.qatzip.metadata +++ b/.qatzip.metadata @@ -1 +1 @@ -4d1182cf2051d64497bdb573b1f1d3a3d5e85d4f SOURCES/qatzip-1.0.6.tar.gz +50c6dfb8f3eb44bd098588ffcbbe84911346bbc0 SOURCES/qatzip-1.0.9.tar.gz diff --git a/SPECS/qatzip.spec b/SPECS/qatzip.spec index bcaadf3..d2b01a4 100644 --- a/SPECS/qatzip.spec +++ b/SPECS/qatzip.spec @@ -1,19 +1,20 @@ # SPDX-License-Identifier: MIT %global githubname QATzip -%global libqatzip_soversion 1 +%global libqatzip_soversion 3 Name: qatzip -Version: 1.0.6 -Release: 5%{?dist} +Version: 1.0.9 +Release: 1%{?dist} Summary: Intel QuickAssist Technology (QAT) QATzip Library License: BSD URL: https://github.com/intel/%{githubname} -Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz +Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz BuildRequires: gcc >= 4.8.5 BuildRequires: zlib-devel >= 1.2.7 -BuildRequires: qatlib-devel >= 21.08.0 +BuildRequires: qatlib-devel >= 22.07.0 +BuildRequires: autoconf automake libtool make lz4-devel # The purpose of the package is to support hardware that only exists on x86_64 platforms # https://bugzilla.redhat.com/show_bug.cgi?id=1987280 ExclusiveArch: x86_64 @@ -45,14 +46,15 @@ This package contains headers and libraries required to build applications that use the QATzip APIs. %prep -%autosetup -n %{githubname}-%{version} +%autosetup -p0 -n %{githubname}-%{version} %build %set_build_flags +autoreconf -vif ./configure \ --bindir=%{_bindir} \ - --sharedlib-dir=%{_libdir} \ + --libdir=%{_libdir} \ --includedir=%{_includedir} \ --mandir=%{_mandir} \ --prefix=%{_prefix} \ @@ -62,6 +64,8 @@ applications that use the QATzip APIs. %install %make_install +rm %{buildroot}/%{_libdir}/libqatzip.a +rm %{buildroot}/%{_libdir}/libqatzip.la rm -vf %{buildroot}%{_mandir}/*.pdf # Check section is not available for these functional and performance tests require special hardware. @@ -73,8 +77,7 @@ rm -vf %{buildroot}%{_mandir}/*.pdf %files libs %license LICENSE* -%{_libdir}/libqatzip.so.%{libqatzip_soversion} -%{_libdir}/libqatzip.so.%{version} +%{_libdir}/libqatzip.so.%{libqatzip_soversion}* %files devel %doc docs/QATzip-man.pdf @@ -82,6 +85,10 @@ rm -vf %{buildroot}%{_mandir}/*.pdf %{_libdir}/libqatzip.so %changelog +* Mon Aug 08 2022 Vladis Dronov - 1.0.9-1 +- Rebuild for qatzip v1.0.9 (bz 2048039) +- Update to require qatlib-devel >= 22.07.0 due to soversion bump + * Wed Oct 13 2021 Vladis Dronov - 1.0.6-5 - Add OSCI testing harness (bz 1747500)