rename binaries to fix py versions conflicts [release 0.5.0-3mamba;Fri May 17 2019]
This commit is contained in:
parent
23afd3aebc
commit
d941d95453
@ -1,6 +1,6 @@
|
||||
Name: python-recommonmark
|
||||
Version: 0.5.0
|
||||
Release: 2mamba
|
||||
Release: 3mamba
|
||||
Summary: A 'docutils'-compatibility bridge to [CommonMark][cm]
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
@ -41,10 +41,20 @@ CFLAGS="%{optflags}" %{__python} setup.py build
|
||||
|
||||
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
|
||||
%defattr(-,root,root)
|
||||
|
||||
%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
|
||||
- require python-commonmark
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user