Optimisations for aarch64, Minor spec cleanups
This commit is contained in:
parent
25e9802713
commit
3c07ec7814
22
zlib.spec
22
zlib.spec
@ -1,13 +1,12 @@
|
||||
Summary: The compression and decompression library
|
||||
Name: zlib
|
||||
Name: zlib
|
||||
Version: 1.2.11
|
||||
Release: 7%{?dist}
|
||||
Release: 8%{?dist}
|
||||
Summary: The compression and decompression library
|
||||
# /contrib/dotzlib/ have Boost license
|
||||
License: zlib and Boost
|
||||
Group: System Environment/Libraries
|
||||
URL: http://www.zlib.net/
|
||||
Source: http://www.zlib.net/zlib-%{version}.tar.xz
|
||||
|
||||
Source: http://www.zlib.net/zlib-%{version}.tar.xz
|
||||
# https://github.com/madler/zlib/pull/210
|
||||
Patch0: zlib-1.2.5-minizip-fixuncrypt.patch
|
||||
# resolves: #805113
|
||||
@ -27,7 +26,6 @@ library which is used by many different programs.
|
||||
|
||||
%package devel
|
||||
Summary: Header files and libraries for Zlib development
|
||||
Group: Development/Libraries
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
@ -37,7 +35,6 @@ library.
|
||||
|
||||
%package static
|
||||
Summary: Static libraries for Zlib development
|
||||
Group: Development/Libraries
|
||||
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description static
|
||||
@ -47,7 +44,6 @@ decompression library.
|
||||
|
||||
%package -n minizip
|
||||
Summary: Library for manipulation with .zip archives
|
||||
Group: System Environment/Libraries
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description -n minizip
|
||||
@ -55,10 +51,8 @@ Minizip is a library for manipulation with files from .zip archives.
|
||||
|
||||
%package -n minizip-devel
|
||||
Summary: Development files for the minizip library
|
||||
Group: Development/Libraries
|
||||
Requires: minizip%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
||||
Requires: pkgconfig
|
||||
|
||||
%description -n minizip-devel
|
||||
This package contains the libraries and header files needed for
|
||||
@ -117,14 +111,11 @@ rm $RPM_BUILD_ROOT%_includedir/minizip/crypt.h
|
||||
%ldconfig_scriptlets -n minizip
|
||||
|
||||
%files
|
||||
%{!?_licensedir:%global license %%doc}
|
||||
%license README
|
||||
%doc ChangeLog FAQ
|
||||
%{_libdir}/libz.so.*
|
||||
|
||||
%files devel
|
||||
%{!?_licensedir:%global license %%doc}
|
||||
%license README
|
||||
%doc doc/algorithm.txt test/example.c
|
||||
%{_libdir}/libz.so
|
||||
%{_libdir}/pkgconfig/zlib.pc
|
||||
@ -133,7 +124,6 @@ rm $RPM_BUILD_ROOT%_includedir/minizip/crypt.h
|
||||
%{_mandir}/man3/zlib.3*
|
||||
|
||||
%files static
|
||||
%{!?_licensedir:%global license %%doc}
|
||||
%license README
|
||||
%{_libdir}/libz.a
|
||||
|
||||
@ -148,6 +138,10 @@ rm $RPM_BUILD_ROOT%_includedir/minizip/crypt.h
|
||||
%{_libdir}/pkgconfig/minizip.pc
|
||||
|
||||
%changelog
|
||||
* Mon Apr 30 2018 Peter Robinson <pbrobinson@fedoraproject.org> 1.2.11-8
|
||||
- Optimisations for aarch64
|
||||
- Minor spec cleanups
|
||||
|
||||
* Thu Mar 15 2018 Pavel Raiskup <praiskup@redhat.com> - 1.2.11-7
|
||||
- don't install crypt.h (rhbz#1424609)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user