move library from /%{_lib} to %{_libdir} [release 1.2.11-2mamba;Sun Sep 30 2018]
This commit is contained in:
parent
bd6ee41981
commit
babba78030
13
libz.spec
13
libz.spec
@ -1,6 +1,6 @@
|
||||
Name: libz
|
||||
Version: 1.2.11
|
||||
Release: 1mamba
|
||||
Release: 2mamba
|
||||
Summary: The zlib compression and decompression library
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
@ -118,9 +118,9 @@ cd ../..
|
||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||
%makeinstall
|
||||
|
||||
install -d %{buildroot}/%{_lib}
|
||||
mv %{buildroot}%{_libdir}/libz.so.* %{buildroot}/%{_lib}
|
||||
ln -sf ../../%{_lib}/libz.so.%{version} %{buildroot}%{_libdir}/libz.so
|
||||
#install -d %{buildroot}/%{_lib}
|
||||
#mv %{buildroot}%{_libdir}/libz.so.* %{buildroot}/%{_lib}
|
||||
#ln -sf ../../%{_lib}/libz.so.%{version} %{buildroot}%{_libdir}/libz.so
|
||||
|
||||
cd contrib/minizip
|
||||
%makeinstall
|
||||
@ -152,7 +152,7 @@ cd ../..
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
/%{_lib}/libz.so.*
|
||||
%{_libdir}/libz.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
@ -192,6 +192,9 @@ cd ../..
|
||||
#%endif
|
||||
|
||||
%changelog
|
||||
* Sun Sep 30 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.11-2mamba
|
||||
- move library from /%{_lib} to %{_libdir}
|
||||
|
||||
* Sat Jun 17 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.11-1mamba
|
||||
- update to 1.2.11
|
||||
- rebuilt with --enable-static=no for libminizip
|
||||
|
Loading…
Reference in New Issue
Block a user