This commit is contained in:
Sergey Zhemoytel 2024-09-16 19:19:23 +00:00
parent 075500f11b
commit 87f747078e

View file

@ -13,7 +13,7 @@ Version: 1.5.6
Release: 1 Release: 1
License: BSD and GPLv2+ License: BSD and GPLv2+
Group: Archiving/Compression Group: Archiving/Compression
Url: http://www.zstd.net/ Url: http://www.zstd.net
Source0: https://github.com/facebook/zstd/archive/v%{version}/%{name}-%{version}.tar.gz Source0: https://github.com/facebook/zstd/archive/v%{version}/%{name}-%{version}.tar.gz
BuildRequires: gtest-devel BuildRequires: gtest-devel
BuildRequires: pkgconfig(liblz4) BuildRequires: pkgconfig(liblz4)
@ -83,7 +83,7 @@ Static library for zstd.
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
%prep %prep
%autosetup -p1 %setup -q
# Get rid of -L/usr/lib insanity # Get rid of -L/usr/lib insanity
sed -i -e 's,-L\${libdir} ,,g' lib/*.pc.in sed -i -e 's,-L\${libdir} ,,g' lib/*.pc.in
sed -i -e '/^Cflags:/d' lib/*.pc.in sed -i -e '/^Cflags:/d' lib/*.pc.in