diff --git a/python-chardet.spec b/python-chardet.spec index fb6053b..8796f58 100644 --- a/python-chardet.spec +++ b/python-chardet.spec @@ -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 3.0.4-3mamba +- fix binary conflict between different targets + * Fri Mar 15 2019 Silvan Calarco 3.0.4-2mamba - rebuilt with -py36 support