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