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
|
||||
Version: 0.16
|
||||
Release: 5mamba
|
||||
Version: 0.18.1
|
||||
Release: 1mamba
|
||||
Summary: Python Documentation Utilities
|
||||
Group: System/Libraries/Python
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
|
||||
URL: https://docutils.sourceforge.net/
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://docutils.sourceforge.io/
|
||||
Source: https://pypi.debian.net/docutils/docutils-%{version}.tar.gz
|
||||
License: Python, BSD, GPL, public domain
|
||||
## 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.
|
||||
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
|
||||
%endif
|
||||
|
||||
@ -39,17 +42,16 @@ CFLAGS="%{optflags}" %{__python} setup.py build
|
||||
--install-lib=%{python_sitearch} \
|
||||
--record=%{name}.filelist
|
||||
|
||||
sed -i "\,^%{_bindir},d" %{name}.filelist
|
||||
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
||||
|
||||
# remove .py extension for executable
|
||||
for file in %{buildroot}%{_bindir}/*.py; do
|
||||
%if "%{?pyappend}" == "py3"
|
||||
mv $file %{buildroot}%{_bindir}/$(basename $file .py)
|
||||
%else
|
||||
mv $file %{buildroot}%{_bindir}/$(basename $file .py)%{?pyappend:-%pyappend}
|
||||
%endif
|
||||
done
|
||||
## remove .py extension for executable
|
||||
#for file in %{buildroot}%{_bindir}/*.py; do
|
||||
#%if "%{?pyappend}" == "py3"
|
||||
# mv $file %{buildroot}%{_bindir}/$(basename $file .py)
|
||||
#%else
|
||||
# mv $file %{buildroot}%{_bindir}/$(basename $file .py)%{?pyappend:-%pyappend}
|
||||
#%endif
|
||||
#done
|
||||
|
||||
# remove no license file
|
||||
rm -f licenses/docutils.conf
|
||||
@ -59,15 +61,22 @@ rm -f licenses/docutils.conf
|
||||
|
||||
%files %{?pyappend} -f %{name}.filelist
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/rst*
|
||||
#%{_bindir}/rst*
|
||||
%dir %{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
|
||||
* Sat Apr 17 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.16-5mamba
|
||||
- rebuilt with distdeps
|
||||
* Thu Nov 25 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.18.1-1mamba
|
||||
- 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
|
||||
- remove requirement for python-Imaging
|
||||
|
Loading…
Reference in New Issue
Block a user