mirror of
https://abf.rosa.ru/djam/zstd.git
synced 2025-02-23 09:22:54 +00:00
bot: rpm5 -> rpm4 (8)
This commit is contained in:
parent
e920e290ca
commit
debbffffa9
1 changed files with 3 additions and 3 deletions
|
@ -86,14 +86,14 @@ find -name .gitignore -delete
|
||||||
|
|
||||||
%build
|
%build
|
||||||
for dir in lib programs; do
|
for dir in lib programs; do
|
||||||
CFLAGS="%{optflags}" LDFLAGS="%{ldflags}" %make_build -C "$dir"
|
CFLAGS="%{optflags}" LDFLAGS="%{ldflags}" %make -C "$dir"
|
||||||
done
|
done
|
||||||
%if %{with pzstd}
|
%if %{with pzstd}
|
||||||
CFLAGS="%{optflags}" LDFLAGS="%{ldflags}" CXXFLAGS="%{optflags} -std=c++11" %make_build -C 'contrib/pzstd'
|
CFLAGS="%{optflags}" LDFLAGS="%{ldflags}" CXXFLAGS="%{optflags} -std=c++11" %make -C 'contrib/pzstd'
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install PREFIX=%{_prefix} LIBDIR=%{_libdir}
|
%makeinstall_std PREFIX=%{_prefix} LIBDIR=%{_libdir}
|
||||||
|
|
||||||
# Don't install the static lib
|
# Don't install the static lib
|
||||||
rm %{buildroot}%{_libdir}/libzstd.a
|
rm %{buildroot}%{_libdir}/libzstd.a
|
||||||
|
|
Loading…
Add table
Reference in a new issue