From 9920094656df4bb661c3bf007e50a5e8f6aae06e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Fri, 26 Jul 2013 21:55:34 +0300 Subject: [PATCH] Install docs to %{_pkgdocdir} where available. --- setroubleshoot-plugins.spec | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/setroubleshoot-plugins.spec b/setroubleshoot-plugins.spec index f9993f8..b07e40e 100644 --- a/setroubleshoot-plugins.spec +++ b/setroubleshoot-plugins.spec @@ -1,7 +1,9 @@ +%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}} + Summary: Analysis plugins for use with setroubleshoot Name: setroubleshoot-plugins Version: 3.0.55 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ Group: Applications/System URL: https://fedorahosted.org/setroubleshoot @@ -15,8 +17,6 @@ BuildRequires: perl-XML-Parser BuildRequires: intltool gettext python Requires: setroubleshoot-server >= 3.1.16-1 -%define pkgdocdir %{_datadir}/doc/%{name}-%{version} - %description This package provides a set of analysis plugins for use with setroubleshoot. Each plugin has the capacity to analyze SELinux AVC @@ -32,7 +32,7 @@ make %install rm -rf %{buildroot} -make DESTDIR=%{buildroot} install +make DESTDIR=%{buildroot} pkgdocdir=%{_pkgdocdir} install %find_lang %{name} %clean @@ -40,10 +40,13 @@ rm -rf %{buildroot} %files -f %{name}.lang %defattr(-,root,root,-) -%doc %{pkgdocdir} +%doc %{_pkgdocdir} %{_datadir}/setroubleshoot/plugins %changelog +* Fri Jul 26 2013 Ville Skyttä - 3.0.55-2 +- Install docs to %%{_pkgdocdir} where available. + * Sun Jul 21 2013 Dan Walsh - 3.0.55-1 - Fix debug message in sandbox-connect plugin - Update Translations