rebuilt with python 3.10 [release 0.19-3mamba;Thu Mar 09 2023]
This commit is contained in:
parent
f74c9cb29c
commit
184fb50313
@ -1,6 +1,6 @@
|
|||||||
Name: python-docutils
|
Name: python-docutils
|
||||||
Version: 0.19
|
Version: 0.19
|
||||||
Release: 2mamba
|
Release: 3mamba
|
||||||
Summary: Python Documentation Utilities
|
Summary: Python Documentation Utilities
|
||||||
Group: System/Libraries/Python
|
Group: System/Libraries/Python
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -19,10 +19,12 @@ 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 "0%{?with_pyver}" == "03"
|
%if "0%{?with_pyver}" == "03"
|
||||||
%define py_requires_append \
|
%define py_requires_append \
|
||||||
Provides: python-docutils \
|
Provides: python-docutils \
|
||||||
Obsoletes: python-docutils < 0.19-2mamba
|
Obsoletes: python-docutils < 0.19-2mamba
|
||||||
|
%endif
|
||||||
%pyver_package
|
%pyver_package
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -48,12 +50,13 @@ for f in %{buildroot}%{_bindir}/*.py; do
|
|||||||
%if "0%{?with_pyver}" == "03"
|
%if "0%{?with_pyver}" == "03"
|
||||||
ln -s "$(basename $f)" %{buildroot}%{_bindir}/$(basename $f .py)
|
ln -s "$(basename $f)" %{buildroot}%{_bindir}/$(basename $f .py)
|
||||||
%else
|
%else
|
||||||
mv $f %{buildroot}%{_bindir}/$(basename $file .py)%{?pyappend:-%pyappend}
|
mv $f %{buildroot}%{_bindir}/$(basename $f .py)%{?pyappend:-%pyappend}
|
||||||
%endif
|
%endif
|
||||||
done
|
done
|
||||||
sed -i "\,%{_bindir},d" %{name}.filelist
|
sed -i "\,%{_bindir},d" %{name}.filelist
|
||||||
|
|
||||||
%if "0%{?with_pyver}" != "03"
|
%if "0%{?with_pyver}" != "03"
|
||||||
mv %{buildroot}%{_bindir}/docutils %{buildroot}%{_bindir}/docutils-py%{%pyappend}
|
mv %{buildroot}%{_bindir}/docutils %{buildroot}%{_bindir}/docutils%{?pyappend:-%pyappend}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# remove no license file
|
# remove no license file
|
||||||
@ -64,11 +67,15 @@ rm -f licenses/docutils.conf
|
|||||||
|
|
||||||
%files %{?pyappend} -f %{name}.filelist
|
%files %{?pyappend} -f %{name}.filelist
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/*
|
%{_bindir}/docutils*
|
||||||
|
%{_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/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Mar 09 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.19-3mamba
|
||||||
|
- rebuilt with python 3.10
|
||||||
|
|
||||||
* Tue Aug 16 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.19-2mamba
|
* Tue Aug 16 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.19-2mamba
|
||||||
- provide tools without .py extension if python3
|
- provide tools without .py extension if python3
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user