diff --git a/setroubleshoot-plugins.spec b/setroubleshoot-plugins.spec index 5b6089b..d7ebcaf 100644 --- a/setroubleshoot-plugins.spec +++ b/setroubleshoot-plugins.spec @@ -1,3 +1,5 @@ +i{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}} + Summary: Analysis plugins for use with setroubleshoot Name: setroubleshoot-plugins Version: 3.0.57 @@ -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,15 +40,18 @@ rm -rf %{buildroot} %files -f %{name}.lang %defattr(-,root,root,-) -%doc %{pkgdocdir} +%doc %{_pkgdocdir} %{_datadir}/setroubleshoot/plugins %changelog -* Sun Jul 21 2013 Dan Walsh - 3.0.57-1 +* Fri Aug 16 2013 Dan Walsh - 3.0.57-1 - Add restorecon_source plugin, to check the source program is labeled correclty. - Fix restorecon.py to handle customized_files properly. - Update Translations +* 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