Hello community,

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

Package is "python-mechanize"

Tue Aug  7 09:44:37 2018 rev:18 rq:627756 version:0.3.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-mechanize/python-mechanize.changes        
2013-11-13 10:18:06.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python-mechanize.new/python-mechanize.changes   
2018-08-07 09:44:41.485478436 +0200
@@ -1,0 +2,15 @@
+Mon Aug  6 20:28:11 UTC 2018 - [email protected]
+
+- Remove unneeded dependencies.
+
+-------------------------------------------------------------------
+Thu Jun 14 17:21:43 UTC 2018 - [email protected]
+
+- Clean SPEC file (only py2k, but tests are enabled and run)
+
+-------------------------------------------------------------------
+Thu Aug 24 13:45:20 UTC 2017 - [email protected]
+
+- singlespec auto-conversion
+
+-------------------------------------------------------------------
@@ -125,0 +141 @@
+

Old:
----
  mechanize-0.2.5.tar.gz

New:
----
  mechanize-0.3.6.tar.gz

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

Other differences:
------------------
++++++ python-mechanize.spec ++++++
--- /var/tmp/diff_new_pack.IURgAH/_old  2018-08-07 09:44:42.013479354 +0200
+++ /var/tmp/diff_new_pack.IURgAH/_new  2018-08-07 09:44:42.017479361 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-mechanize
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,24 +16,24 @@
 #
 
 
-Name:           python-mechanize
-Version:        0.2.5
+%define skip_python3 1
+%define modname mechanize
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+
+Name:           python-%{modname}
+Version:        0.3.6
 Release:        0
-Url:            http://wwwsearch.sourceforge.net/mechanize/
 Summary:        Stateful programmatic web browsing
-License:        (BSD-3-Clause or ZPL-2.1) and BSD-3-Clause
+License:        (BSD-3-Clause OR ZPL-2.1) AND BSD-3-Clause
 Group:          Development/Languages/Python
-Source:         mechanize-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
-Requires:       python-ClientForm
-Requires:       python-beautifulsoup
-%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()")}
-%else
+URL:            https://github.com/python-mechanize/mechanize
+Source:         
https://pypi.python.org/packages/source/m/%{modname}/%{modname}-%{version}.tar.gz
+BuildRequires:  %{python_module html5lib}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
 BuildArch:      noarch
-%endif
+%python_subpackages
 
 %description
 Stateful programmatic web browsing, after Andy Lester's Perl module
@@ -53,18 +53,23 @@
 (WWW::Mechanize). urllib2 was written by Jeremy Hylton.
 
 %prep
-%setup -q -n mechanize-%{version}
-sed -i "1d" examples/{forms/echo.cgi,forms/example.py,forms/simple.py} # Fix 
doc-file-dependency
+%setup -q -n %{modname}-%{version}
+sed -i -e '/^#!\/usr\/bin\/env python/d' 
%{modname}/_{entities,equiv,form_controls}.py
+sed -i "1d" examples/forms/{echo.cgi,example.py,simple.py} # Fix 
doc-file-dependency
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
+
+%check
+%python_expand $python ./run_tests.py
 
-%files
-%defattr(-,root,root)
-%doc examples COPYING.txt README.txt docs/html/ChangeLog.txt
-%{python_sitelib}/*
+%files %{python_files}
+%license LICENSE
+%doc examples README.rst
+%{python_sitelib}/%{modname}*
 
 %changelog

++++++ mechanize-0.2.5.tar.gz -> mechanize-0.3.6.tar.gz ++++++
++++ 43618 lines of diff (skipped)


Reply via email to