rename binaries to fix py versions conflicts [release 0.5.0-3mamba;Fri May 17 2019]

This commit is contained in:
Silvan Calarco 2024-01-05 16:33:08 +01:00
parent 23afd3aebc
commit d941d95453

View File

@ -1,6 +1,6 @@
Name: python-recommonmark Name: python-recommonmark
Version: 0.5.0 Version: 0.5.0
Release: 2mamba Release: 3mamba
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
@ -41,10 +41,20 @@ CFLAGS="%{optflags}" %{__python} setup.py build
sed -i "s,.*/man/.*,&.gz," %{name}.filelist sed -i "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
%files %{?pyappend} -f %{name}.filelist %files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root) %defattr(-,root,root)
%changelog %changelog
* Fri May 17 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.0-3mamba
- rename binaries to fix py versions conflicts
* Thu Mar 28 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.0-2mamba * Thu Mar 28 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.0-2mamba
- require python-commonmark - require python-commonmark