Fix deleting odd mans (fix conflicts with openssl-devel)

This commit is contained in:
Mikhail Novosyolov 2019-12-01 01:38:39 +03:00
parent 85c31b54f0
commit 6d3eb4fa90

View file

@ -63,7 +63,7 @@
Summary: LibreSSL utils and libs coexisting with OpenSSL
Name: libressl
Version: 3.0.2
Release: 1
Release: 2
# The code is distributed under ISC license except of original OpenSSL code
License: ISC and BSD-like
Group: System/Libraries
@ -293,6 +293,7 @@ cp -rv %{buildroot}%{_mandir}/* %{buildroot}%{_omandir}/
# mans with original names in /opt/libressl/share/man
rm -fv %{buildroot}%{_mandir}/*/libressl_*
rm -fv %{buildroot}%{_omandir}/*/openssl.*
(cd %{buildroot}%{_omandir}/man3 ; rm -fv $(ls -1v | grep -v '^libressl_') )
# Fully delete other mans from /opt
rm -fv %{buildroot}%{_mandir}/*/{nc,netcat,ocspcheck}*
# Manually compress man pages because we use both