Fix build due to doc files (rhbz#1266596)
This commit is contained in:
parent
57103541c4
commit
1c560bdf6f
@ -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 <sochotnicky@redhat.com> - 8.6.8-8
|
||||
- Fix build due to doc files (rhbz#1266596)
|
||||
|
||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.6.8-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user