move library from /%{_lib} to %{_libdir} [release 1.2.11-2mamba;Sun Sep 30 2018]

This commit is contained in:
Silvan Calarco 2024-01-06 06:15:42 +01:00
parent bd6ee41981
commit babba78030

View File

@ -1,6 +1,6 @@
Name: libz Name: libz
Version: 1.2.11 Version: 1.2.11
Release: 1mamba Release: 2mamba
Summary: The zlib compression and decompression library Summary: The zlib compression and decompression library
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
@ -118,9 +118,9 @@ cd ../..
[ "%{buildroot}" != / ] && rm -rf %{buildroot} [ "%{buildroot}" != / ] && rm -rf %{buildroot}
%makeinstall %makeinstall
install -d %{buildroot}/%{_lib} #install -d %{buildroot}/%{_lib}
mv %{buildroot}%{_libdir}/libz.so.* %{buildroot}/%{_lib} #mv %{buildroot}%{_libdir}/libz.so.* %{buildroot}/%{_lib}
ln -sf ../../%{_lib}/libz.so.%{version} %{buildroot}%{_libdir}/libz.so #ln -sf ../../%{_lib}/libz.so.%{version} %{buildroot}%{_libdir}/libz.so
cd contrib/minizip cd contrib/minizip
%makeinstall %makeinstall
@ -152,7 +152,7 @@ cd ../..
%files %files
%defattr(-,root,root) %defattr(-,root,root)
/%{_lib}/libz.so.* %{_libdir}/libz.so.*
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
@ -192,6 +192,9 @@ cd ../..
#%endif #%endif
%changelog %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 * Sat Jun 17 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.11-1mamba
- update to 1.2.11 - update to 1.2.11
- rebuilt with --enable-static=no for libminizip - rebuilt with --enable-static=no for libminizip