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
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user