mirror of
https://abf.rosa.ru/djam/libressl.git
synced 2025-02-23 16:12:53 +00:00
Make RPM mark files in both %%_mandir and %%_omandir as docs (RPM4-only)
This is a better fix of rpmlint warning that files are not marked as documentation then marking with %doc manually
This commit is contained in:
parent
2d4e2f6ffa
commit
ce2e67e4c2
1 changed files with 4 additions and 2 deletions
|
@ -21,6 +21,8 @@
|
||||||
%define _defaultdocdir %{_oprefix}/share/doc
|
%define _defaultdocdir %{_oprefix}/share/doc
|
||||||
# RPM 4 by default looks for *.pc in %%_libdir which is redefined
|
# RPM 4 by default looks for *.pc in %%_libdir which is redefined
|
||||||
%global __pkgconfig_path ^(%{_olibdir}/pkgconfig/.*\\.pc|%{_obindir}/pkg-config)$
|
%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
|
# Disable /usr/share/spec-helper/relink_symlinks
|
||||||
# to make sure that symlinks are not broken
|
# to make sure that symlinks are not broken
|
||||||
%define dont_relink 1
|
%define dont_relink 1
|
||||||
|
@ -61,7 +63,7 @@
|
||||||
Summary: LibreSSL utils and libs coexisting with OpenSSL
|
Summary: LibreSSL utils and libs coexisting with OpenSSL
|
||||||
Name: libressl
|
Name: libressl
|
||||||
Version: 3.2.0
|
Version: 3.2.0
|
||||||
Release: 1
|
Release: 2
|
||||||
# The code is distributed under ISC license except of original OpenSSL code
|
# The code is distributed under ISC license except of original OpenSSL code
|
||||||
License: ISC and BSD-like
|
License: ISC and BSD-like
|
||||||
Group: System/Base
|
Group: System/Base
|
||||||
|
@ -187,7 +189,7 @@ pkg-config sets -I%{_libdir} in CFLAGS.
|
||||||
%{_olibdir}/pkgconfig/*.pc
|
%{_olibdir}/pkgconfig/*.pc
|
||||||
%{_includedir}
|
%{_includedir}
|
||||||
%{_mandir}/*/*
|
%{_mandir}/*/*
|
||||||
%doc %{_omandir}/man3/*
|
%{_omandir}/man3/*
|
||||||
%{_rpmmacrodir}/*libressl*
|
%{_rpmmacrodir}/*libressl*
|
||||||
#-------------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue