From 6348ce016b51f78f5b37e413091d45a082bc099d Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Tue, 1 Mar 2016 11:59:07 -0600 Subject: [PATCH] Mark installed documentation as %doc (#1308255) --- xmlstarlet.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/xmlstarlet.spec b/xmlstarlet.spec index 686eabd..67a5093 100644 --- a/xmlstarlet.spec +++ b/xmlstarlet.spec @@ -1,6 +1,8 @@ +%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}} + Name: xmlstarlet Version: 1.6.1 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Command Line XML Toolkit Group: Applications/Text License: MIT @@ -30,7 +32,7 @@ commands. %build autoreconf -i -%configure --disable-static-libs --with-libxml-include-prefix=%{_includedir}/libxml2 --docdir=%{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}} # --libdir=%{_libdir} +%configure --disable-static-libs --with-libxml-include-prefix=%{_includedir}/libxml2 --docdir=%{_pkgdocdir} # --libdir=%{_libdir} make %{?_smp_mflags} @@ -52,11 +54,15 @@ rm -fr %{buildroot} %files %defattr(-, root, root) %doc AUTHORS ChangeLog NEWS README Copyright TODO +%doc %{_pkgdocdir}/* %{_mandir}/man1/xmlstarlet.1* %{_bindir}/xmlstarlet %changelog +* Tue Mar 01 2016 Yaakov Selkowitz - 1.6.1-6 +- Mark installed documentation as %%doc (#1308255) + * Fri Feb 05 2016 Fedora Release Engineering - 1.6.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild