From 1c560bdf6f9e2e26a61d811c879fbbedde1d15c2 Mon Sep 17 00:00:00 2001 From: Stanislav Ochotnicky Date: Oct 30 2015 12:29:24 +0000 Subject: Fix build due to doc files (rhbz#1266596) --- diff --git a/asciidoc.spec b/asciidoc.spec index 49595a9..3da8252 100644 --- a/asciidoc.spec +++ b/asciidoc.spec @@ -4,7 +4,7 @@ Summary: Text based document generation Name: asciidoc Version: 8.6.8 -Release: 7%{?dist} +Release: 8%{?dist} # The python code does not specify a version. # The javascript example code is GPLv2+. License: GPL+ and GPLv2+ @@ -120,6 +120,11 @@ done # them relative now (sane for being installed) and remove dangling symlinks. symlinks -cdr %{buildroot} +# Clean up no needed doc files +for file in BUGS.txt CHANGELOG.txt INSTALL INSTALL.txt README.txt; do + rm -f %{buildroot}/%{_pkgdocdir}/$file +done + %check export PATH="../:$PATH" cd tests @@ -145,10 +150,12 @@ python testasciidoc.py run %exclude %{_sysconfdir}/asciidoc/filters/music %exclude %{_pkgdocdir}/examples %exclude %{_pkgdocdir}/doc +%exclude %{_pkgdocdir}/{dblatex,docbook-xsl,images,javascripts,stylesheets} %files doc %{_pkgdocdir}/examples %{_pkgdocdir}/doc +%{_pkgdocdir}/{dblatex,docbook-xsl,images,javascripts,stylesheets} %exclude %{_docdir}/%{name}/{BUGS,CHANGELOG,COPYING,COPYRIGHT,README} %files latex @@ -164,6 +171,9 @@ python testasciidoc.py run %changelog +* Fri Oct 30 2015 Stanislav Ochotnicky - 8.6.8-8 +- Fix build due to doc files (rhbz#1266596) + * Wed Jun 17 2015 Fedora Release Engineering - 8.6.8-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild