diff --git a/asciidoc-py3-51d7c143.tar.gz b/asciidoc-py3-51d7c143.tar.gz deleted file mode 100644 index e7d56d66c672833a873db46a569fc9e2d0a25198..0000000000000000000000000000000000000000 Binary files a/asciidoc-py3-51d7c143.tar.gz and /dev/null differ diff --git a/asciidoc-py3-9.0.4.tar.gz b/asciidoc-py3-9.0.4.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..c71391dd79b0536092b2010405e34448831213a2 Binary files /dev/null and b/asciidoc-py3-9.0.4.tar.gz differ diff --git a/asciidoc.spec b/asciidoc.spec index 0cfc98bb71d69feaba70837bd93181c44d7f7cad..9302143d158d73f5dd417d2987f3d9136c4982cc 100644 --- a/asciidoc.spec +++ b/asciidoc.spec @@ -1,12 +1,10 @@ -%global git_commit_hash 51d7c1433faf183f3a1d161c175f347fd28bfe09 - Name: asciidoc -Version: 8.6.10 -Release: 3 +Version: 9.0.4 +Release: 1 Summary: Python 3 port of Asciidoc Python. License: GPLv2 URL: http://asciidoc.org -Source0: https://github.com/%{name}/%{name}-py3/archive/%{git_commit_hash}/%{name}-py3-51d7c143.tar.gz +Source0: https://github.com/%{name}/%{name}-py3/archive/%{version}/%{name}-py3-%{version}.tar.gz BuildRequires: python3-devel docbook-style-xsl graphviz libxslt source-highlight BuildRequires: texlive-dvisvgm-bin vim-filesystem symlinks automake autoconf @@ -30,7 +28,7 @@ Obsoletes: %{name}-doc < %{version}-%{release} Provides: %{name}-doc = %{version}-%{release} %prep -%autosetup -n %{name}-py3-%{git_commit_hash} +%autosetup -n %{name}-py3-%{version} %build autoreconf -v @@ -62,7 +60,10 @@ for file in $(cd vim; find * -type f); do done symlinks -cdr %{buildroot} + +# Clean up no needed doc files rm -f %{buildroot}/%{_pkgdocdir}/INSTALL.txt +rm -f %{buildroot}/%{_mandir}/man1/testasciidoc.1* %check export PATH="../:$PATH" @@ -81,7 +82,7 @@ cd .. %files %doc BUGS.txt CHANGELOG.txt README.asciidoc -%license COPYING COPYRIGHT +%license COPYRIGHT %config(noreplace) %{_sysconfdir}/%{name}/ %dir %{_sysconfdir}/%{name}/filters/latex %{_sysconfdir}/%{name}/filters/latex/*.py @@ -89,7 +90,6 @@ cd .. %dir %{_sysconfdir}/%{name}/filters/music %config(noreplace) %{_sysconfdir}/%{name}/filters/music/*.conf %{_sysconfdir}/%{name}/filters/music/*.py -%{_datadir}/vim/vimfiles/syntax/asciidoc.vim %{_bindir}/a2x %{_bindir}/a2x.py %{_bindir}/%{name} @@ -99,19 +99,25 @@ cd .. %{python3_sitelib}/__pycache__/asciidocapi* %exclude %{_bindir}/*.py[co] %exclude %{_sysconfdir}/%{name}/filters/*/*.py[co] -%exclude %{_pkgdocdir}/examples %exclude %{_pkgdocdir}/doc +%exclude %{_pkgdocdir}/website %exclude %{_pkgdocdir}/{docbook-xsl,images,javascripts,stylesheets} %files help %doc %{_mandir}/man1/a2x.1* %doc %{_mandir}/man1/asciidoc.1* -%{_pkgdocdir}/examples %{_pkgdocdir}/doc +%{_pkgdocdir}/website %{_pkgdocdir}/{dblatex,docbook-xsl,images,javascripts,stylesheets} %exclude %{_docdir}/%{name}/{COPYING,COPYRIGHT,README.asciidoc} %changelog +*Thu Nov 12 2020 shixuantong - 9.0.4-1 +- Type:NA +- ID:NA +- SUG:NA +- DESC:Update to latest upstream release 9.0.4 and update Source0 + * Mon Oct 28 2019 caomeng - 8.6.10-3 - Type:NA - ID:NA