Install docs to %{_pkgdocdir} where available.
This commit is contained in:
parent
4f25743d39
commit
9920094656
@ -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@iki.fi> - 3.0.55-2
|
||||
- Install docs to %%{_pkgdocdir} where available.
|
||||
|
||||
* Sun Jul 21 2013 Dan Walsh <dwalsh@redhat.com> - 3.0.55-1
|
||||
- Fix debug message in sandbox-connect plugin
|
||||
- Update Translations
|
||||
|
||||
Loading…
Reference in New Issue
Block a user