Restore BUGS.txt and CHANGELOG.txt doc files
With 8.6.8 these files were installed without the .txt suffix. That is no longer true in 8.6.10. Leave them in %_pkgdocdir. This leaves only INSTALL.txt to clean up.
This commit is contained in:
parent
1eef4ebd3f
commit
142d8b499e
@ -5,7 +5,7 @@
|
|||||||
Summary: Text based document generation
|
Summary: Text based document generation
|
||||||
Name: asciidoc
|
Name: asciidoc
|
||||||
Version: 8.6.10
|
Version: 8.6.10
|
||||||
Release: 0.3.20180605git%{shortcommit}%{?dist}
|
Release: 0.4.20180605git%{shortcommit}%{?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+
|
||||||
@ -128,9 +128,7 @@ done
|
|||||||
symlinks -cdr %{buildroot}
|
symlinks -cdr %{buildroot}
|
||||||
|
|
||||||
# Clean up no needed doc files
|
# Clean up no needed doc files
|
||||||
for file in BUGS.txt CHANGELOG.txt INSTALL INSTALL.txt README.txt; do
|
rm -f %{buildroot}/%{_pkgdocdir}/INSTALL.txt
|
||||||
rm -f %{buildroot}/%{_pkgdocdir}/$file
|
|
||||||
done
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
export PATH="../:$PATH"
|
export PATH="../:$PATH"
|
||||||
@ -139,7 +137,7 @@ cd tests
|
|||||||
%{__python3} testasciidoc.py run
|
%{__python3} testasciidoc.py run
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc COPYING COPYRIGHT README.asciidoc
|
%doc BUGS.txt CHANGELOG.txt COPYING COPYRIGHT README.asciidoc
|
||||||
%doc %{_mandir}/man1/a2x.1*
|
%doc %{_mandir}/man1/a2x.1*
|
||||||
%doc %{_mandir}/man1/asciidoc.1*
|
%doc %{_mandir}/man1/asciidoc.1*
|
||||||
%config(noreplace) %{_sysconfdir}/asciidoc/
|
%config(noreplace) %{_sysconfdir}/asciidoc/
|
||||||
@ -176,6 +174,9 @@ cd tests
|
|||||||
%{_sysconfdir}/asciidoc/filters/music/*.py
|
%{_sysconfdir}/asciidoc/filters/music/*.py
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jun 15 2018 Todd Zullinger <tmz@pobox.com> - 8.6.10-0.4.20180605git986f99d
|
||||||
|
- Restore BUGS.txt and CHANGELOG.txt doc files
|
||||||
|
|
||||||
* Wed Jun 13 2018 Todd Zullinger <tmz@pobox.com> - 8.6.10-0.3.20180605git986f99d
|
* Wed Jun 13 2018 Todd Zullinger <tmz@pobox.com> - 8.6.10-0.3.20180605git986f99d
|
||||||
- Use upstream tarball
|
- Use upstream tarball
|
||||||
- Various rpmlint fixes
|
- Various rpmlint fixes
|
||||||
|
Loading…
Reference in New Issue
Block a user