Hello community,

here is the log from the commit of package python-chardet for openSUSE:Factory 
checked in at 2012-09-23 17:08:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-chardet (Old)
 and      /work/SRC/openSUSE:Factory/.python-chardet.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-chardet", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-chardet/python-chardet.changes    
2012-02-15 22:24:40.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python-chardet.new/python-chardet.changes       
2012-09-23 17:08:39.000000000 +0200
@@ -1,0 +2,6 @@
+Fri Jul 27 15:10:36 UTC 2012 - [email protected]
+
+- Update to 1.1:
+  - Sorry, no changelog.
+
+-------------------------------------------------------------------

Old:
----
  python2-chardet-2.0.1.tar.bz2

New:
----
  chardet-1.1.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-chardet.spec ++++++
--- /var/tmp/diff_new_pack.KFsybz/_old  2012-09-23 17:08:40.000000000 +0200
+++ /var/tmp/diff_new_pack.KFsybz/_new  2012-09-23 17:08:40.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-chardet
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 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
@@ -14,25 +14,25 @@
 
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
-%{!?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
-Version:        2.0.1
+Version:        1.1
 Release:        0
-Url:            http://chardet.feedparser.org/
 Summary:        Universal encoding detector
 License:        LGPL-2.1+
 Group:          Development/Languages/Python
-Source:         python2-chardet-%{version}.tar.bz2
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+Url:            http://chardet.feedparser.org/
+Source:         chardet-%{version}.tar.bz2
 BuildRequires:  python-devel
-%if 0%{?suse_version}
-%py_requires
-%if 0%{?suse_version} > 1110
+BuildRequires:  python-distribute
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+%if 0%{?suse_version} && 0%{?suse_version} <= 1110
+%{!?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)")}
+%else
 BuildArch:      noarch
 %endif
-%endif
 
 %description
 Universal character encoding detector
@@ -51,8 +51,20 @@
  - ISO-8859-8, windows-1255 (Visual and Logical Hebrew)
  - TIS-620 (Thai)
 
+Requires Python 2.1 or later
+
+Command-line Tool
+-----------------
+
+chardet comes with a command-line script which reports on the encodings of one
+or more files::
+
+    % chardetect.py somefile someotherfile
+    somefile: windows-1252 with confidence 0.5
+    someotherfile: ascii with confidence 1.0
+
 %prep
-%setup -q -n python2-chardet-%{version}
+%setup -q -n chardet-%{version}
 
 %build
 python setup.py build
@@ -63,5 +75,6 @@
 %files
 %defattr(-,root,root,-)
 %{python_sitelib}/*
+%{_bindir}/chardetect.py
 
 %changelog

++++++ python2-chardet-2.0.1.tar.bz2 -> chardet-1.1.tar.bz2 ++++++
++++ 2183 lines of diff (skipped)

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to