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
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