diff --git a/libressl.spec b/libressl.spec index 4edf2d9..6ea7895 100644 --- a/libressl.spec +++ b/libressl.spec @@ -21,6 +21,8 @@ %define _defaultdocdir %{_oprefix}/share/doc # RPM 4 by default looks for *.pc in %%_libdir which is redefined %global __pkgconfig_path ^(%{_olibdir}/pkgconfig/.*\\.pc|%{_obindir}/pkg-config)$ +# Make RPM mark files in both %%_mandir and %%_omandir as docs (RPM4-only) +%global __docdir_path %{__docdir_path}:%{_omandir} # Disable /usr/share/spec-helper/relink_symlinks # to make sure that symlinks are not broken %define dont_relink 1 @@ -61,7 +63,7 @@ Summary: LibreSSL utils and libs coexisting with OpenSSL Name: libressl Version: 3.2.0 -Release: 1 +Release: 2 # The code is distributed under ISC license except of original OpenSSL code License: ISC and BSD-like Group: System/Base @@ -187,7 +189,7 @@ pkg-config sets -I%{_libdir} in CFLAGS. %{_olibdir}/pkgconfig/*.pc %{_includedir} %{_mandir}/*/* -%doc %{_omandir}/man3/* +%{_omandir}/man3/* %{_rpmmacrodir}/*libressl* #-------------------------------------------------------------------------------------