- Bring back zlib-devel-static. Needed by binutils
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=29
This commit is contained in:
parent
ab2da93a7d
commit
df80c71819
@ -3,3 +3,4 @@ libz1
|
|||||||
provides "zlib-<targettype> = <version>"
|
provides "zlib-<targettype> = <version>"
|
||||||
obsoletes "zlib-<targettype> <= 1.2.8"
|
obsoletes "zlib-<targettype> <= 1.2.8"
|
||||||
zlib-devel
|
zlib-devel
|
||||||
|
zlib-devel-static
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 30 11:30:37 UTC 2015 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Bring back zlib-devel-static. Needed by binutils
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jun 24 09:01:59 UTC 2015 - tchvatal@suse.com
|
Wed Jun 24 09:01:59 UTC 2015 - tchvatal@suse.com
|
||||||
|
|
||||||
|
16
zlib.spec
16
zlib.spec
@ -75,6 +75,14 @@ This package contains all necessary include files and libraries needed
|
|||||||
to develop applications that require the provided includes and
|
to develop applications that require the provided includes and
|
||||||
libraries.
|
libraries.
|
||||||
|
|
||||||
|
%package devel-static
|
||||||
|
Summary: Static lib for libz1 library
|
||||||
|
Group: Development/Languages/C and C++
|
||||||
|
Provides: %{name}-devel:%{_libdir}/libz.a
|
||||||
|
|
||||||
|
%description devel-static
|
||||||
|
Static library for libz1 package, that is complementing the devel package
|
||||||
|
|
||||||
%package -n libminizip1
|
%package -n libminizip1
|
||||||
Summary: Library for manipulation with .zip archives
|
Summary: Library for manipulation with .zip archives
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
@ -137,8 +145,8 @@ make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
|||||||
# Fix shared library placement/symlinks
|
# Fix shared library placement/symlinks
|
||||||
ln -s -v /%{_lib}/$(readlink %{buildroot}/%{_lib}/libz.so) %{buildroot}%{_libdir}/libz.so
|
ln -s -v /%{_lib}/$(readlink %{buildroot}/%{_lib}/libz.so) %{buildroot}%{_libdir}/libz.so
|
||||||
rm -v %{buildroot}/%{_lib}/libz.so
|
rm -v %{buildroot}/%{_lib}/libz.so
|
||||||
# Kill static library
|
# Static lib
|
||||||
rm -f %{buildroot}/%{_lib}/libz.a
|
mv %{buildroot}/%{_lib}/libz.a %{buildroot}%{_libdir}
|
||||||
# Move .pc file to _libdir
|
# Move .pc file to _libdir
|
||||||
mv %{buildroot}/%{_lib}/pkgconfig %{buildroot}%{_libdir}
|
mv %{buildroot}/%{_lib}/pkgconfig %{buildroot}%{_libdir}
|
||||||
# manpage
|
# manpage
|
||||||
@ -191,4 +199,8 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
|||||||
%{_libdir}/libminizip.so
|
%{_libdir}/libminizip.so
|
||||||
%{_libdir}/pkgconfig/minizip.pc
|
%{_libdir}/pkgconfig/minizip.pc
|
||||||
|
|
||||||
|
%files devel-static
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/libz.a
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user