rebuilt with distdeps [release 0.16-5mamba;Sat Apr 17 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 11:05:50 +01:00
parent e7a4326a51
commit 392c63bf76

View File

@ -1,12 +1,12 @@
Name: python-docutils Name: python-docutils
Version: 0.16 Version: 0.16
Release: 4mamba Release: 5mamba
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: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
URL: http://docutils.sourceforge.net/ URL: https://docutils.sourceforge.net/
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
@ -14,36 +14,14 @@ BuildRequires: libpython3-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: python-setuptools BuildRequires: python-setuptools
Requires: python >= %python_version Requires: python >= %python_version
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildArch: noarch BuildArch: noarch
%description %description
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 "%?with_pyver" %if 0%{?with_pyver}
%define pyver %{with_pyver} %pyver_package
%define pyappend py%{with_pyver}
%define __python %(rpm --eval %{__python%{with_pyver}})
%define python_sitearch %(rpm --eval %{python%{with_pyver}_sitearch})
%define python_sitelib %(rpm --eval %{python%{with_pyver}_sitelib})
%define python_inc %(rpm --eval %{python%{with_pyver}_inc})
%define python_version %(rpm --eval %{python%{with_pyver}_version})
%define python_provides %(rpm --eval %{python%{with_pyver}_provides})
%define python_requires %(rpm --eval %{python%{with_pyver}_requires})
%define py_requires %(rpm --eval %{py%{with_pyver}_requires})
%package py%{pyver}
Group: System/Libraries/Python
Summary: %{summary}.
%if "%?with_pyver" == "3"
Provides: python-docutils
Obsoletes: python-docutils
%endif
%py_requires
%description py%{pyver}
%{summary}.
%endif %endif
%prep %prep
@ -62,6 +40,7 @@ CFLAGS="%{optflags}" %{__python} setup.py build
--record=%{name}.filelist --record=%{name}.filelist
sed -i "\,^%{_bindir},d" %{name}.filelist sed -i "\,^%{_bindir},d" %{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
@ -81,10 +60,15 @@ 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
%{python_sitearch}/docutils-%{version}-py*.egg-info/*
%dir %{python_sitearch}/docutils %dir %{python_sitearch}/docutils
%doc *.txt licenses docs tools/editors %doc *.txt licenses docs tools/editors
%changelog %changelog
* Sat Apr 17 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.16-5mamba
- rebuilt with distdeps
* 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