Hello community,

here is the log from the commit of package python-urlgrabber for 
openSUSE:Factory
checked in at Thu Sep 22 10:52:06 CEST 2011.



--------
--- python-urlgrabber/python-urlgrabber.changes 2009-08-12 20:12:50.000000000 
+0200
+++ /mounts/work_src_done/STABLE/python-urlgrabber/python-urlgrabber.changes    
2011-09-21 09:27:08.000000000 +0200
@@ -1,0 +2,14 @@
+Tue Sep 20 11:40:05 UTC 2011 - [email protected]
+
+- Update to version 3.9.1:
+  * cleanup all the old urlgrabber urllib code that's not being used
+  * delete sslfactory and keepalive fix up the unittests to match existing code
+  * make sure the value we get back from the parse150 and other calls is
+    converted to an int before we make it 'size' rhbug: #524705
+- Spec file updates:
+  * Removed authors from description
+  * Dropped useless python-urlgrabber-2.9.9.patch
+  * Dropped obsolete python-urlgrabber-3.1.0.patch (upstream changed)
+  * Require python-pycurl 
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


Old:
----
  python-urlgrabber-2.9.9.patch
  python-urlgrabber-3.1.0.patch
  urlgrabber-3.1.0.tar.bz2

New:
----
  urlgrabber-3.9.1.tar.gz

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

Other differences:
------------------
++++++ python-urlgrabber.spec ++++++
--- /var/tmp/diff_new_pack.8j2ysk/_old  2011-09-22 10:52:02.000000000 +0200
+++ /var/tmp/diff_new_pack.8j2ysk/_new  2011-09-22 10:52:02.000000000 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package python-urlgrabber (Version 3.1.0)
+# spec file for package python-urlgrabber
 #
-# Copyright (c) 2009 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
@@ -15,57 +15,47 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
 
 
 Name:           python-urlgrabber
-# python must be in the BuildRequires as well, otherwise urllib2 with SSL 
support isn't installed
-# error message: AttributeError: 'module' object has no attribute 
'HTTPSHandler'
-BuildRequires:  python python-devel
-Version:        3.1.0
-Release:        180
+Version:        3.9.1
+Release:        0
+Url:            http://linux.duke.edu/projects/urlgrabber/
 Summary:        A high-level cross-protocol url-grabber
-Group:          Development/Libraries/Python
 License:        LGPL
-Url:            http://linux.duke.edu/projects/urlgrabber/
-Source:         urlgrabber-%{version}.tar.bz2
-Patch:          %{name}-2.9.9.patch
-Patch1:         %{name}-3.1.0.patch
+Group:          Development/Languages/Python
+Source:         
http://pypi.python.org/packages/source/u/urlgrabber/urlgrabber-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  python-devel
+BuildRequires:  python-pycurl
+Requires:       python-pycurl
+%if 0%{?suse_version}
 %py_requires
-%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1}
+%if 0%{?suse_version} > 1110
 BuildArch:      noarch
 %endif
+%endif
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
 
 %description
 A high-level cross-protocol url-grabber for python supporting HTTP, FTP
 and file locations.  Features include keepalive, byte ranges,
 throttling, authentication, proxies and more.
 
-
-
-Authors:
---------
-    Michael D. Stenner <[email protected]>
-    Ryan Tomayko <[email protected]>
-
 %prep
 %setup -q -n urlgrabber-%{version}
-%patch
-%patch1
 
 %build
-export CFLAGS="$RPM_OPT_FLAGS"
 python setup.py build
 
 %install
-python setup.py install --prefix=%{_prefix} --root $RPM_BUILD_ROOT 
--record-rpm=INSTALLED_FILES
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+rm -rf %{buildroot}/usr/share/doc/urlgrabber-%{version} # Remove wrongly 
installed docs
 
-%files -f INSTALLED_FILES
+%files
 %defattr(-,root,root,-)
 %doc ChangeLog LICENSE README TODO
+%{_bindir}/urlgrabber
+%{python_sitelib}/*
 
 %changelog


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



Remember to have fun...

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

Reply via email to