fix binary confict between py variants [release 2.6.0-3mamba;Fri May 17 2019]
This commit is contained in:
parent
ad2f5f87ff
commit
bd742214b0
@ -1,6 +1,6 @@
|
||||
Name: python-babel
|
||||
Version: 2.6.0
|
||||
Release: 2mamba
|
||||
Release: 3mamba
|
||||
Summary: Library for internationalizing Python applications
|
||||
Group: System/Libraries/Python
|
||||
Vendor: openmamba
|
||||
@ -15,6 +15,8 @@ BuildRequires: libpython-devel
|
||||
## AUTOBUILDREQ-END
|
||||
Requires: python >= %python_version
|
||||
Requires: python-setuptools
|
||||
Provides: python-babel-tool
|
||||
Obsoletes: python-babel-tool
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
BuildArch: noarch
|
||||
|
||||
@ -54,20 +56,22 @@ sed -i -e '/^#!/,1d' babel/messages/frontend.py
|
||||
|
||||
#sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
||||
|
||||
%if 0%{?with_pyver}
|
||||
mv %{buildroot}%{_bindir}/pybabel %{buildroot}%{_bindir}/pybabel-%{?pyappend}
|
||||
sed -i "s|%{_bindir}/pybabel|%{_bindir}/pybabel-%{?pyappend}|" %{name}.filelist
|
||||
%endif
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%files %{?pyappend} -f %{name}.filelist
|
||||
%defattr(-,root,root)
|
||||
#%doc doc/*
|
||||
|
||||
%files tool
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/pybabel
|
||||
%doc AUTHORS LICENSE
|
||||
#ChangeLog COPYING README.txt doc/cmdline.txt
|
||||
|
||||
%changelog
|
||||
* Fri May 17 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.0-3mamba
|
||||
- fix binary confict between py variants
|
||||
|
||||
* Thu May 16 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.0-2mamba
|
||||
- rebuilt with py36 support
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user