rebuilt with distdeps [release 4.0.0-2mamba;Fri Apr 09 2021]
This commit is contained in:
parent
e147edb3fe
commit
ce7cfc1c58
@ -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 <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: 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 <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
|
||||
- rebuilt with py3 package
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user