Skip to content

Commit

Permalink
QATAPP-32704: Fix RPM build issue for RedHat
Browse files Browse the repository at this point in the history
Signed-off-by: Zhu Chengfei <chengfeix.zhu@intel.com>
Signed-off-by: David Qian <david.qian@intel.com>
  • Loading branch information
cfzhux authored and daweiq committed Aug 26, 2024
1 parent 44890e4 commit c603173
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions qat_zstd_plugin.spec
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
BuildRequires: automake
BuildRequires: gcc
BuildRequires: libzstd-devel
BuildRequires: libzstd-static
BuildRequires: qatlib-devel

# Upstream only supports x86_64
Expand All @@ -34,16 +33,12 @@ that use the QAT ZSTD Plugin.

%build
%make_build
make test
make

%install
make install LIBDIR=%{buildroot}%{_libdir} INCLUDEDIR=%{buildroot}%{_includedir}
rm %{buildroot}%{_libdir}/libqatseqprod.a

%check
export LD_LIBRARY_PATH=%{buildroot}/%{_libdir}
./test/test README.md

%files
%license LICENSE*
%{_libdir}/libqatseqprod.so
Expand Down

0 comments on commit c603173

Please sign in to comment.