obsolete python-recommonmark-py310 [release 0.7.1-4mamba;Thu Mar 14 2024]
This commit is contained in:
parent
615192fa3d
commit
8aec717a77
@ -2,7 +2,7 @@
|
||||
|
||||
Name: python-recommonmark
|
||||
Version: 0.7.1
|
||||
Release: 3mamba
|
||||
Release: 4mamba
|
||||
Summary: A 'docutils'-compatibility bridge to [CommonMark][cm]
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
@ -24,6 +24,12 @@ BuildRequires: python3-devel >= 3.11.5-3mamba
|
||||
%{summary}.
|
||||
|
||||
%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
|
||||
%endif
|
||||
|
||||
@ -44,12 +50,12 @@ CFLAGS="%{optflags}" %{__python} setup.py build
|
||||
|
||||
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
||||
|
||||
%if 0%{?with_pyver}
|
||||
for f in cm2html cm2latex cm2man cm2pseudoxml cm2xetex cm2xml; do
|
||||
mv %{buildroot}%{_bindir}/$f %{buildroot}%{_bindir}/$f-%{?pyappend}
|
||||
sed -i "s|%{_bindir}/$f|%{_bindir}/$f-%{?pyappend}|" %{name}.filelist
|
||||
done
|
||||
%endif
|
||||
#%if 0%{?with_pyver}
|
||||
#for f in cm2html cm2latex cm2man cm2pseudoxml cm2xetex cm2xml; do
|
||||
# mv %{buildroot}%{_bindir}/$f %{buildroot}%{_bindir}/$f-%{?pyappend}
|
||||
# sed -i "s|%{_bindir}/$f|%{_bindir}/$f-%{?pyappend}|" %{name}.filelist
|
||||
#done
|
||||
#%endif
|
||||
|
||||
%files %{?pyappend} -f %{name}.filelist
|
||||
%defattr(-,root,root)
|
||||
@ -57,6 +63,9 @@ done
|
||||
%{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/*
|
||||
|
||||
%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
|
||||
- rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user