From ce7cfc1c5861e83cda5c49174f466d61742ec0fa Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 10:57:06 +0100 Subject: [PATCH] rebuilt with distdeps [release 4.0.0-2mamba;Fri Apr 09 2021] --- python-chardet.spec | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/python-chardet.spec b/python-chardet.spec index b8f1044..4ae9962 100644 --- a/python-chardet.spec +++ b/python-chardet.spec @@ -1,21 +1,19 @@ Name: python-chardet -Version: 3.0.4 -Release: 4mamba +Version: 4.0.0 +Release: 2mamba Summary: Universal Encoding Detector Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Stefano Cotta Ramusino -URL: http://chardet.feedparser.org/ +URL: https://chardet.feedparser.org/ Source: https://pypi.debian.net/chardet/chardet-%{version}.tar.gz -#Source: http://chardet.feedparser.org/download/python2-chardet-%{version}.tgz License: LGPL ## AUTOBUILDREQ-BEGIN -BuildRequires: libpython-devel +BuildRequires: libpython3-devel +BuildRequires: python3.7dist(setuptools) ## AUTOBUILDREQ-END -Requires: python >= %python_version BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Character encoding auto-detection in Python 2 and 3. @@ -54,7 +52,7 @@ CFLAGS="%{optflags}" %{__python} setup.py build --install-lib=%{python_sitearch} \ --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} 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 %defattr(-,root,root) +%dir %{python_sitearch}/chardet-%{version}-py*.egg-info +%{python_sitearch}/chardet-%{version}-py*.egg-info/* #%doc COPYING %changelog +* Fri Apr 09 2021 Silvan Calarco 4.0.0-2mamba +- rebuilt with distdeps + +* Sun Feb 21 2021 Automatic Build System 4.0.0-1mamba +- automatic version update by autodist + * Sat Apr 11 2020 Silvan Calarco 3.0.4-4mamba - rebuilt with py3 package