[setroubleshoot-plugins] Install docs to %{_pkgdocdir} where available.
Ville Skyttä
scop at fedoraproject.org
Fri Jul 26 18:56:15 UTC 2013
commit 9920094656df4bb661c3bf007e50a5e8f6aae06e
Author: Ville Skyttä <ville.skytta at iki.fi>
Date: Fri Jul 26 21:55:34 2013 +0300
Install docs to %{_pkgdocdir} where available.
setroubleshoot-plugins.spec | 13 ++++++++-----
1 files 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ä <ville.skytta at iki.fi> - 3.0.55-2
+- Install docs to %%{_pkgdocdir} where available.
+
* Sun Jul 21 2013 Dan Walsh <dwalsh at redhat.com> - 3.0.55-1
- Fix debug message in sandbox-connect plugin
- Update Translations
More information about the scm-commits
mailing list