update to 0.18.1 [release 0.18.1-1mamba;Thu Nov 25 2021]
This commit is contained in:
parent
392c63bf76
commit
27c23b68a9
@ -1,12 +1,12 @@
|
|||||||
Name: python-docutils
|
Name: python-docutils
|
||||||
Version: 0.16
|
Version: 0.18.1
|
||||||
Release: 5mamba
|
Release: 1mamba
|
||||||
Summary: Python Documentation Utilities
|
Summary: Python Documentation Utilities
|
||||||
Group: System/Libraries/Python
|
Group: System/Libraries/Python
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: https://docutils.sourceforge.net/
|
URL: https://docutils.sourceforge.io/
|
||||||
Source: https://pypi.debian.net/docutils/docutils-%{version}.tar.gz
|
Source: https://pypi.debian.net/docutils/docutils-%{version}.tar.gz
|
||||||
License: Python, BSD, GPL, public domain
|
License: Python, BSD, GPL, public domain
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
@ -20,7 +20,10 @@ BuildArch: noarch
|
|||||||
Docutils is an open-source text processing system for processing plaintext documentation into useful formats, such as HTML or LaTeX.
|
Docutils is an open-source text processing system for processing plaintext documentation into useful formats, such as HTML or LaTeX.
|
||||||
It includes reStructuredText, the easy to read, easy to use, what-you-see-is-what-you-get plaintext markup language.
|
It includes reStructuredText, the easy to read, easy to use, what-you-see-is-what-you-get plaintext markup language.
|
||||||
|
|
||||||
%if 0%{?with_pyver}
|
%if "%{?with_pyver}"
|
||||||
|
%define py_requires_append \
|
||||||
|
Provides: python-docutils
|
||||||
|
Obsoletes: python-docutils
|
||||||
%pyver_package
|
%pyver_package
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -39,17 +42,16 @@ CFLAGS="%{optflags}" %{__python} setup.py build
|
|||||||
--install-lib=%{python_sitearch} \
|
--install-lib=%{python_sitearch} \
|
||||||
--record=%{name}.filelist
|
--record=%{name}.filelist
|
||||||
|
|
||||||
sed -i "\,^%{_bindir},d" %{name}.filelist
|
|
||||||
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
||||||
|
|
||||||
# remove .py extension for executable
|
## remove .py extension for executable
|
||||||
for file in %{buildroot}%{_bindir}/*.py; do
|
#for file in %{buildroot}%{_bindir}/*.py; do
|
||||||
%if "%{?pyappend}" == "py3"
|
#%if "%{?pyappend}" == "py3"
|
||||||
mv $file %{buildroot}%{_bindir}/$(basename $file .py)
|
# mv $file %{buildroot}%{_bindir}/$(basename $file .py)
|
||||||
%else
|
#%else
|
||||||
mv $file %{buildroot}%{_bindir}/$(basename $file .py)%{?pyappend:-%pyappend}
|
# mv $file %{buildroot}%{_bindir}/$(basename $file .py)%{?pyappend:-%pyappend}
|
||||||
%endif
|
#%endif
|
||||||
done
|
#done
|
||||||
|
|
||||||
# remove no license file
|
# remove no license file
|
||||||
rm -f licenses/docutils.conf
|
rm -f licenses/docutils.conf
|
||||||
@ -59,15 +61,22 @@ rm -f licenses/docutils.conf
|
|||||||
|
|
||||||
%files %{?pyappend} -f %{name}.filelist
|
%files %{?pyappend} -f %{name}.filelist
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/rst*
|
#%{_bindir}/rst*
|
||||||
%dir %{python_sitearch}/docutils-%{version}-py*.egg-info
|
%dir %{python_sitearch}/docutils-%{version}-py*.egg-info
|
||||||
%{python_sitearch}/docutils-%{version}-py*.egg-info/*
|
%{python_sitearch}/docutils-%{version}-py*.egg-info/*
|
||||||
%dir %{python_sitearch}/docutils
|
|
||||||
%doc *.txt licenses docs tools/editors
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Sat Apr 17 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.16-5mamba
|
* Thu Nov 25 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.18.1-1mamba
|
||||||
- rebuilt with distdeps
|
- update to 0.18.1
|
||||||
|
|
||||||
|
* Sun Apr 18 2021 Automatic Build System <autodist@mambasoft.it> 0.17.1-2mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Sun Apr 18 2021 Automatic Build System <autodist@mambasoft.it> 0.17.1-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Sun Apr 04 2021 Automatic Build System <autodist@mambasoft.it> 0.17-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
* Sun Nov 29 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.16-4mamba
|
* Sun Nov 29 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.16-4mamba
|
||||||
- remove requirement for python-Imaging
|
- remove requirement for python-Imaging
|
||||||
|
Loading…
Reference in New Issue
Block a user