obsolete python-recommonmark-py310 [release 0.7.1-4mamba;Thu Mar 14 2024]

This commit is contained in:
Silvan Calarco 2024-03-14 18:15:28 +01:00
parent 615192fa3d
commit 8aec717a77

View File

@ -2,7 +2,7 @@
Name: python-recommonmark Name: python-recommonmark
Version: 0.7.1 Version: 0.7.1
Release: 3mamba Release: 4mamba
Summary: A 'docutils'-compatibility bridge to [CommonMark][cm] Summary: A 'docutils'-compatibility bridge to [CommonMark][cm]
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
@ -24,6 +24,12 @@ BuildRequires: python3-devel >= 3.11.5-3mamba
%{summary}. %{summary}.
%if 0%{?with_pyver} %if 0%{?with_pyver}
%if "%{?with_pyver}" == "3"
%define py_requires_append \
Obsoletes: python-recommonmark < 0.7.1-4mamba
Obsoletes: python-recommonmark-py310 < 0.7.1-4mamba
%endif
%pyver_package %pyver_package
%endif %endif
@ -44,12 +50,12 @@ CFLAGS="%{optflags}" %{__python} setup.py build
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
%if 0%{?with_pyver} #%if 0%{?with_pyver}
for f in cm2html cm2latex cm2man cm2pseudoxml cm2xetex cm2xml; do #for f in cm2html cm2latex cm2man cm2pseudoxml cm2xetex cm2xml; do
mv %{buildroot}%{_bindir}/$f %{buildroot}%{_bindir}/$f-%{?pyappend} # mv %{buildroot}%{_bindir}/$f %{buildroot}%{_bindir}/$f-%{?pyappend}
sed -i "s|%{_bindir}/$f|%{_bindir}/$f-%{?pyappend}|" %{name}.filelist # sed -i "s|%{_bindir}/$f|%{_bindir}/$f-%{?pyappend}|" %{name}.filelist
done #done
%endif #%endif
%files %{?pyappend} -f %{name}.filelist %files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root) %defattr(-,root,root)
@ -57,6 +63,9 @@ done
%{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/* %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/*
%changelog %changelog
* Thu Mar 14 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.1-4mamba
- obsolete python-recommonmark-py310
* Tue Sep 26 2023 Automatic Build System <autodist@mambasoft.it> 0.7.1-3mamba * Tue Sep 26 2023 Automatic Build System <autodist@mambasoft.it> 0.7.1-3mamba
- rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba - rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba