Hello community,

here is the log from the commit of package python-lazr.uri for openSUSE:Factory 
checked in at 2018-08-31 10:41:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-lazr.uri (Old)
 and      /work/SRC/openSUSE:Factory/.python-lazr.uri.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-lazr.uri"

Fri Aug 31 10:41:50 2018 rev:5 rq:631067 version:1.0.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-lazr.uri/python-lazr.uri.changes  
2013-10-25 11:20:30.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-lazr.uri.new/python-lazr.uri.changes     
2018-08-31 10:43:23.803127675 +0200
@@ -1,0 +2,5 @@
+Thu Aug 23 09:29:21 UTC 2018 - [email protected]
+
+- Switch to singlespec
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-lazr.uri.spec ++++++
--- /var/tmp/diff_new_pack.i6kLYa/_old  2018-08-31 10:43:24.195128139 +0200
+++ /var/tmp/diff_new_pack.i6kLYa/_new  2018-08-31 10:43:24.195128139 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-lazr.uri
 #
-# 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
@@ -20,18 +20,15 @@
 Version:        1.0.3
 Release:        0
 Summary:        Code for parsing and dealing with URI
-License:        LGPL-3.0+
+License:        LGPL-3.0-or-later
 Group:          Development/Languages/Python
-Url:            https://launchpad.net/lazr.uri
-Source:         
http://pypi.python.org/packages/source/l/lazr.uri/lazr.uri-%{version}.tar.gz
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
-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()")}
-%else
+URL:            https://launchpad.net/lazr.uri
+Source:         
https://files.pythonhosted.org/packages/source/l/lazr.uri/lazr.uri-%{version}.tar.gz
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
 BuildArch:      noarch
-%endif
+%python_subpackages
 
 %description
 The lazr.uri package includes code for parsing and dealing with URIs.
@@ -40,17 +37,18 @@
 %setup -q -n lazr.uri-%{version}
 
 %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 setup.py test
+%python_exec setup.py test
 
-%files
-%defattr(-,root,root,-)
-%doc COPYING.txt README.txt
+%files %{python_files}
+%license COPYING.txt
+%doc README.txt
 %{python_sitelib}/*
 
 %changelog


Reply via email to