resolve conflict of /usr/bin/cmark between different python builds [release 0.9.1-2mamba;Sun Jan 05 2020]
This commit is contained in:
parent
61a7d8f839
commit
9ffeff586f
@ -1,6 +1,6 @@
|
||||
Name: python-commonmark
|
||||
Version: 0.9.1
|
||||
Release: 1mamba
|
||||
Release: 2mamba
|
||||
Summary: A pure Python port of jgm
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
@ -10,9 +10,8 @@ URL: https://pypi.org/project/CommonMark/
|
||||
Source: https://pypi.debian.net/CommonMark/commonmark-%{version}.tar.gz
|
||||
License: BSD
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
## note: run 'autospec -u -a6 python-commonmark' to get the list of build requirements.
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: libpython-devel
|
||||
## AUTOBUILDREQ-END
|
||||
Requires: python >= %python_version
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
@ -40,16 +39,19 @@ CFLAGS="%{optflags}" %{__python} setup.py build
|
||||
|
||||
sed -i "s,.*/man/.*,&.gz," %{name}.filelist
|
||||
|
||||
%if 0%{?with_pyver}
|
||||
mv %{buildroot}%{_bindir}/cmark %{buildroot}%{_bindir}/cmark-%{?pyappend}
|
||||
sed -i "s|%{_bindir}/cmark|%{_bindir}/cmark-%{?pyappend}|" %{name}.filelist
|
||||
%endif
|
||||
|
||||
%files %{?pyappend} -f %{name}.filelist
|
||||
%defattr(-,root,root)
|
||||
## note: this list is just an example; modify as required
|
||||
# %{python_sitearch}/%{name}.py*
|
||||
# %{python_sitearch}/%{name}.so
|
||||
%doc LICENSE
|
||||
## note: eventually add the remaining documents (if any)
|
||||
# %doc README.rst
|
||||
|
||||
%changelog
|
||||
* Sun Jan 05 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.1-2mamba
|
||||
- resolve conflict of /usr/bin/cmark between different python builds
|
||||
|
||||
* Thu Nov 14 2019 Automatic Build System <autodist@mambasoft.it> 0.9.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user