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
|
Summary: Text based document generation
|
||||||
Name: asciidoc
|
Name: asciidoc
|
||||||
Version: 8.6.8
|
Version: 8.6.8
|
||||||
Release: 7%{?dist}
|
Release: 8%{?dist}
|
||||||
# The python code does not specify a version.
|
# The python code does not specify a version.
|
||||||
# The javascript example code is GPLv2+.
|
# The javascript example code is GPLv2+.
|
||||||
License: GPL+ and GPLv2+
|
License: GPL+ and GPLv2+
|
||||||
@ -120,6 +120,11 @@ done
|
|||||||
# them relative now (sane for being installed) and remove dangling symlinks.
|
# them relative now (sane for being installed) and remove dangling symlinks.
|
||||||
symlinks -cdr %{buildroot}
|
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
|
%check
|
||||||
export PATH="../:$PATH"
|
export PATH="../:$PATH"
|
||||||
cd tests
|
cd tests
|
||||||
@ -145,10 +150,12 @@ python testasciidoc.py run
|
|||||||
%exclude %{_sysconfdir}/asciidoc/filters/music
|
%exclude %{_sysconfdir}/asciidoc/filters/music
|
||||||
%exclude %{_pkgdocdir}/examples
|
%exclude %{_pkgdocdir}/examples
|
||||||
%exclude %{_pkgdocdir}/doc
|
%exclude %{_pkgdocdir}/doc
|
||||||
|
%exclude %{_pkgdocdir}/{dblatex,docbook-xsl,images,javascripts,stylesheets}
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
%{_pkgdocdir}/examples
|
%{_pkgdocdir}/examples
|
||||||
%{_pkgdocdir}/doc
|
%{_pkgdocdir}/doc
|
||||||
|
%{_pkgdocdir}/{dblatex,docbook-xsl,images,javascripts,stylesheets}
|
||||||
%exclude %{_docdir}/%{name}/{BUGS,CHANGELOG,COPYING,COPYRIGHT,README}
|
%exclude %{_docdir}/%{name}/{BUGS,CHANGELOG,COPYING,COPYRIGHT,README}
|
||||||
|
|
||||||
%files latex
|
%files latex
|
||||||
@ -164,6 +171,9 @@ python testasciidoc.py run
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* 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
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user