rebuilt with distdeps [release 4.0.0-2mamba;Fri Apr 09 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 10:57:06 +01:00
parent e147edb3fe
commit ce7cfc1c58

View File

@ -1,21 +1,19 @@
Name: python-chardet Name: python-chardet
Version: 3.0.4 Version: 4.0.0
Release: 4mamba Release: 2mamba
Summary: Universal Encoding Detector Summary: Universal Encoding Detector
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org> Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
URL: http://chardet.feedparser.org/ URL: https://chardet.feedparser.org/
Source: https://pypi.debian.net/chardet/chardet-%{version}.tar.gz Source: https://pypi.debian.net/chardet/chardet-%{version}.tar.gz
#Source: http://chardet.feedparser.org/download/python2-chardet-%{version}.tgz
License: LGPL License: LGPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: libpython-devel BuildRequires: libpython3-devel
BuildRequires: python3.7dist(setuptools)
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
Requires: python >= %python_version
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
Character encoding auto-detection in Python 2 and 3. Character encoding auto-detection in Python 2 and 3.
@ -54,7 +52,7 @@ CFLAGS="%{optflags}" %{__python} setup.py build
--install-lib=%{python_sitearch} \ --install-lib=%{python_sitearch} \
--record=%{name}.filelist --record=%{name}.filelist
#sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
%if 0%{?with_pyver} %if 0%{?with_pyver}
mv %{buildroot}%{_bindir}/chardetect %{buildroot}%{_bindir}/chardetect-%{?pyappend} mv %{buildroot}%{_bindir}/chardetect %{buildroot}%{_bindir}/chardetect-%{?pyappend}
@ -63,9 +61,17 @@ sed -i "s|%{_bindir}/chardetect|%{_bindir}/chardetect-%{?pyappend}|" %{name}.fil
%files %{?pyappend} -f %{name}.filelist %files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root) %defattr(-,root,root)
%dir %{python_sitearch}/chardet-%{version}-py*.egg-info
%{python_sitearch}/chardet-%{version}-py*.egg-info/*
#%doc COPYING #%doc COPYING
%changelog %changelog
* Fri Apr 09 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0.0-2mamba
- rebuilt with distdeps
* Sun Feb 21 2021 Automatic Build System <autodist@mambasoft.it> 4.0.0-1mamba
- automatic version update by autodist
* Sat Apr 11 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.4-4mamba * Sat Apr 11 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.4-4mamba
- rebuilt with py3 package - rebuilt with py3 package