don't mask /usr/include/crypt.h with minizip's internal header

Resolves: rhbz#1556438
Version: 1.2.11-7
This commit is contained in:
Pavel Raiskup 2018-03-15 16:08:24 +01:00
parent d0b1c3d509
commit 4d2785ec31

View File

@ -1,7 +1,7 @@
Summary: The compression and decompression library
Name: zlib
Version: 1.2.11
Release: 6%{?dist}
Release: 7%{?dist}
# /contrib/dotzlib/ have Boost license
License: zlib and Boost
Group: System Environment/Libraries
@ -92,6 +92,8 @@ cd contrib/minizip
make install DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
# https://github.com/madler/zlib/pull/229
rm $RPM_BUILD_ROOT%_includedir/minizip/crypt.h
%ldconfig_scriptlets
%ldconfig_scriptlets -n minizip
@ -128,6 +130,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%{_libdir}/pkgconfig/minizip.pc
%changelog
* Thu Mar 15 2018 Pavel Raiskup <praiskup@redhat.com> - 1.2.11-7
- don't install crypt.h (rhbz#1424609)
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.11-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild