commit python-chardet for openSUSE:Factory
Hello community, here is the log from the commit of package python-chardet for openSUSE:Factory checked in at Thu Mar 31 15:52:49 CEST 2011. -------- --- python-chardet/python-chardet.changes 2010-01-25 15:39:19.000000000 +0100 +++ python-chardet/python-chardet.changes 2011-03-26 03:17:27.000000000 +0100 @@ -1,0 +2,6 @@ +Sat Mar 26 02:11:35 UTC 2011 - alexandre@exatati.com.br + +- Regenerate spec file with py2pack; +- Bzip2 source file. + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- python2-chardet-2.0.1.tar.gz New: ---- python2-chardet-2.0.1.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-chardet.spec ++++++ --- /var/tmp/diff_new_pack.l1BBjK/_old 2011-03-31 15:15:30.000000000 +0200 +++ /var/tmp/diff_new_pack.l1BBjK/_new 2011-03-31 15:15:30.000000000 +0200 @@ -1,7 +1,7 @@ # -# spec file for package python-chardet (Version 2.0.1) +# spec file for package python-chardet # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,39 +17,64 @@ # norootforbuild +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} +%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} -Name: python-chardet +%define mod_name chardet + +Name: python-%{mod_name} Version: 2.0.1 -Release: 1 -Summary: Universal encoding detectorUniversal encoding detector +Release: 7 +Url: http://chardet.feedparser.org/ +Summary: Universal encoding detector License: LGPL -Group: Development/Libraries/Python -Source: python2-chardet-%{version}.tar.gz -Url: http://chardet.feedparser.org -BuildRequires: python-devel python-setuptools +Group: Development/Languages/Python +Source: python2-%{mod_name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build -%{py_requires} -%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1} +BuildRequires: python-devel +%if 0%{?suse_version} +%py_requires +%if 0%{?suse_version} > 1110 BuildArch: noarch %endif +%endif %description -Universal encoding detector. - -Author: --------- - Mark Pilgrim <mark@diveintomark.org> +Universal character encoding detector +------------------------------------- +Detects + - ASCII, UTF-8, UTF-16 (2 variants), UTF-32 (4 variants) + - Big5, GB2312, EUC-TW, HZ-GB-2312, ISO-2022-CN (Traditional and Simplified Chinese) + - EUC-JP, SHIFT_JIS, ISO-2022-JP (Japanese) + - EUC-KR, ISO-2022-KR (Korean) + - KOI8-R, MacCyrillic, IBM855, IBM866, ISO-8859-5, windows-1251 (Cyrillic) + - ISO-8859-2, windows-1250 (Hungarian) + - ISO-8859-5, windows-1251 (Bulgarian) + - windows-1252 (English) + - ISO-8859-7, windows-1253 (Greek) + - ISO-8859-8, windows-1255 (Visual and Logical Hebrew) + - TIS-620 (Thai) %prep -%setup -q -n python2-chardet-%{version} +%setup -q -n python2-%{mod_name}-%{version} %build -%{__python} setup.py build +export CFLAGS="%{optflags}" +python setup.py build %install -%{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES +python setup.py install --prefix=%{_prefix} --root=%{buildroot} + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) +# You may have to add additional files here (documentation and binaries mostly) +%python_sitelib/%{mod_name}* +%if 0%{suse_version} > 1010 +%python_sitelib/*.egg-info +%endif -%files -f INSTALLED_FILES -%defattr(-,root,root) %changelog ++++++ python2-chardet-2.0.1.tar.gz -> python2-chardet-2.0.1.tar.bz2 ++++++ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de