fix binary conflict between different targets [release 3.0.4-3mamba;Thu May 16 2019]

This commit is contained in:
Silvan Calarco 2024-01-06 10:57:06 +01:00
parent 6c6ff0c636
commit 01913bf951

View File

@ -1,6 +1,6 @@
Name: python-chardet
Version: 3.0.4
Release: 2mamba
Release: 3mamba
Summary: Universal Encoding Detector
Group: System/Libraries
Vendor: openmamba
@ -56,11 +56,19 @@ CFLAGS="%{optflags}" %{__python} setup.py build
#sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
%if 0%{?with_pyver}
mv %{buildroot}%{_bindir}/chardetect %{buildroot}%{_bindir}/chardetect-%{?pyappend}
sed -i "s|%{_bindir}/chardetect|%{_bindir}/chardetect-%{?pyappend}|" %{name}.filelist
%endif
%files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root)
#%doc COPYING
%changelog
* Thu May 16 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.4-3mamba
- fix binary conflict between different targets
* Fri Mar 15 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.4-2mamba
- rebuilt with -py36 support