|
|
@ -2,12 +2,12 @@ |
|
|
|
|
|
|
|
|
|
|
|
Name: python-chardet |
|
|
|
Name: python-chardet |
|
|
|
Version: 2.2.1 |
|
|
|
Version: 2.2.1 |
|
|
|
Release: 1%{?dist} |
|
|
|
Release: 3%{?dist} |
|
|
|
Summary: Character encoding auto-detection in Python |
|
|
|
Summary: Character encoding auto-detection in Python |
|
|
|
|
|
|
|
|
|
|
|
Group: Development/Languages |
|
|
|
Group: Development/Languages |
|
|
|
License: LGPLv2 |
|
|
|
License: LGPLv2 |
|
|
|
URL: http://chardet.feedparser.org |
|
|
|
URL: https://github.com/chardet/chardet |
|
|
|
Source0: https://pypi.python.org/packages/source/c/chardet/chardet-2.2.1.tar.gz |
|
|
|
Source0: https://pypi.python.org/packages/source/c/chardet/chardet-2.2.1.tar.gz |
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
|
|
|
|
|
|
|
|
|
|
@ -32,6 +32,7 @@ sed -ie '1d' chardet/chardetect.py |
|
|
|
%install |
|
|
|
%install |
|
|
|
rm -rf $RPM_BUILD_ROOT |
|
|
|
rm -rf $RPM_BUILD_ROOT |
|
|
|
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT |
|
|
|
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT |
|
|
|
|
|
|
|
mv $RPM_BUILD_ROOT/%{_bindir}/chardetect $RPM_BUILD_ROOT/%{_bindir}/chardetect2 |
|
|
|
|
|
|
|
|
|
|
|
%clean |
|
|
|
%clean |
|
|
|
rm -rf $RPM_BUILD_ROOT |
|
|
|
rm -rf $RPM_BUILD_ROOT |
|
|
@ -42,13 +43,21 @@ rm -rf $RPM_BUILD_ROOT |
|
|
|
%doc LICENSE README.rst |
|
|
|
%doc LICENSE README.rst |
|
|
|
# For noarch packages: sitelib |
|
|
|
# For noarch packages: sitelib |
|
|
|
%{python_sitelib}/* |
|
|
|
%{python_sitelib}/* |
|
|
|
%{_bindir}/chardetect |
|
|
|
%{_bindir}/chardetect2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog |
|
|
|
%changelog |
|
|
|
|
|
|
|
* Tue Dec 18 2018 Lumír Balhar <lbalhar@redhat.com> - 2.2.1-3 |
|
|
|
|
|
|
|
- Fix upstream URL |
|
|
|
|
|
|
|
- Resolves: rhbz#1579178 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Aug 07 2015 Matej Stuchlik <mstuchli@redhat.com> - 2.2.1-2 |
|
|
|
|
|
|
|
- Bump release to fix upgrade path |
|
|
|
|
|
|
|
Resolves: rhbz#1226899 |
|
|
|
|
|
|
|
|
|
|
|
* Mon Jun 01 2015 Matej Stuchlik <mstuchli@redhat.com> - 2.2.1-1 |
|
|
|
* Mon Jun 01 2015 Matej Stuchlik <mstuchli@redhat.com> - 2.2.1-1 |
|
|
|
- Update to 2.2.1 |
|
|
|
- Update to 2.2.1 |
|
|
|
Resolves: rhbz#1233113 |
|
|
|
Resolves: rhbz#1226899 |
|
|
|
|
|
|
|
|
|
|
|
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.0.1-7 |
|
|
|
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.0.1-7 |
|
|
|
- Mass rebuild 2013-12-27 |
|
|
|
- Mass rebuild 2013-12-27 |
|
|
|