!2 Update to latest upstream release 9.0.4 and update Source0
From: @tong_1001 Reviewed-by: @xiezhipeng1 Signed-off-by: @xiezhipeng1
This commit is contained in:
commit
465a55638e
Binary file not shown.
BIN
asciidoc-py3-9.0.4.tar.gz
Normal file
BIN
asciidoc-py3-9.0.4.tar.gz
Normal file
Binary file not shown.
@ -1,12 +1,10 @@
|
|||||||
%global git_commit_hash 51d7c1433faf183f3a1d161c175f347fd28bfe09
|
|
||||||
|
|
||||||
Name: asciidoc
|
Name: asciidoc
|
||||||
Version: 8.6.10
|
Version: 9.0.4
|
||||||
Release: 3
|
Release: 1
|
||||||
Summary: Python 3 port of Asciidoc Python.
|
Summary: Python 3 port of Asciidoc Python.
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
URL: http://asciidoc.org
|
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: python3-devel docbook-style-xsl graphviz libxslt source-highlight
|
||||||
BuildRequires: texlive-dvisvgm-bin vim-filesystem symlinks automake autoconf
|
BuildRequires: texlive-dvisvgm-bin vim-filesystem symlinks automake autoconf
|
||||||
@ -30,7 +28,7 @@ Obsoletes: %{name}-doc < %{version}-%{release}
|
|||||||
Provides: %{name}-doc = %{version}-%{release}
|
Provides: %{name}-doc = %{version}-%{release}
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{name}-py3-%{git_commit_hash}
|
%autosetup -n %{name}-py3-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -v
|
autoreconf -v
|
||||||
@ -62,7 +60,10 @@ for file in $(cd vim; find * -type f); do
|
|||||||
done
|
done
|
||||||
|
|
||||||
symlinks -cdr %{buildroot}
|
symlinks -cdr %{buildroot}
|
||||||
|
|
||||||
|
# Clean up no needed doc files
|
||||||
rm -f %{buildroot}/%{_pkgdocdir}/INSTALL.txt
|
rm -f %{buildroot}/%{_pkgdocdir}/INSTALL.txt
|
||||||
|
rm -f %{buildroot}/%{_mandir}/man1/testasciidoc.1*
|
||||||
|
|
||||||
%check
|
%check
|
||||||
export PATH="../:$PATH"
|
export PATH="../:$PATH"
|
||||||
@ -81,7 +82,7 @@ cd ..
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%doc BUGS.txt CHANGELOG.txt README.asciidoc
|
%doc BUGS.txt CHANGELOG.txt README.asciidoc
|
||||||
%license COPYING COPYRIGHT
|
%license COPYRIGHT
|
||||||
%config(noreplace) %{_sysconfdir}/%{name}/
|
%config(noreplace) %{_sysconfdir}/%{name}/
|
||||||
%dir %{_sysconfdir}/%{name}/filters/latex
|
%dir %{_sysconfdir}/%{name}/filters/latex
|
||||||
%{_sysconfdir}/%{name}/filters/latex/*.py
|
%{_sysconfdir}/%{name}/filters/latex/*.py
|
||||||
@ -89,7 +90,6 @@ cd ..
|
|||||||
%dir %{_sysconfdir}/%{name}/filters/music
|
%dir %{_sysconfdir}/%{name}/filters/music
|
||||||
%config(noreplace) %{_sysconfdir}/%{name}/filters/music/*.conf
|
%config(noreplace) %{_sysconfdir}/%{name}/filters/music/*.conf
|
||||||
%{_sysconfdir}/%{name}/filters/music/*.py
|
%{_sysconfdir}/%{name}/filters/music/*.py
|
||||||
%{_datadir}/vim/vimfiles/syntax/asciidoc.vim
|
|
||||||
%{_bindir}/a2x
|
%{_bindir}/a2x
|
||||||
%{_bindir}/a2x.py
|
%{_bindir}/a2x.py
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
@ -99,19 +99,25 @@ cd ..
|
|||||||
%{python3_sitelib}/__pycache__/asciidocapi*
|
%{python3_sitelib}/__pycache__/asciidocapi*
|
||||||
%exclude %{_bindir}/*.py[co]
|
%exclude %{_bindir}/*.py[co]
|
||||||
%exclude %{_sysconfdir}/%{name}/filters/*/*.py[co]
|
%exclude %{_sysconfdir}/%{name}/filters/*/*.py[co]
|
||||||
%exclude %{_pkgdocdir}/examples
|
|
||||||
%exclude %{_pkgdocdir}/doc
|
%exclude %{_pkgdocdir}/doc
|
||||||
|
%exclude %{_pkgdocdir}/website
|
||||||
%exclude %{_pkgdocdir}/{docbook-xsl,images,javascripts,stylesheets}
|
%exclude %{_pkgdocdir}/{docbook-xsl,images,javascripts,stylesheets}
|
||||||
|
|
||||||
%files help
|
%files help
|
||||||
%doc %{_mandir}/man1/a2x.1*
|
%doc %{_mandir}/man1/a2x.1*
|
||||||
%doc %{_mandir}/man1/asciidoc.1*
|
%doc %{_mandir}/man1/asciidoc.1*
|
||||||
%{_pkgdocdir}/examples
|
|
||||||
%{_pkgdocdir}/doc
|
%{_pkgdocdir}/doc
|
||||||
|
%{_pkgdocdir}/website
|
||||||
%{_pkgdocdir}/{dblatex,docbook-xsl,images,javascripts,stylesheets}
|
%{_pkgdocdir}/{dblatex,docbook-xsl,images,javascripts,stylesheets}
|
||||||
%exclude %{_docdir}/%{name}/{COPYING,COPYRIGHT,README.asciidoc}
|
%exclude %{_docdir}/%{name}/{COPYING,COPYRIGHT,README.asciidoc}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
*Thu Nov 12 2020 shixuantong <shixuantong@huawei.com> - 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 <caomeng5@huawei.com> - 8.6.10-3
|
* Mon Oct 28 2019 caomeng <caomeng5@huawei.com> - 8.6.10-3
|
||||||
- Type:NA
|
- Type:NA
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user