Hello community,
here is the log from the commit of package python-lazr.uri for
openSUSE:Leap:15.2 checked in at 2020-03-09 18:07:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-lazr.uri (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-lazr.uri.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-lazr.uri"
Mon Mar 9 18:07:32 2020 rev:11 rq:776731 version:1.0.3
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-lazr.uri/python-lazr.uri.changes
2020-01-15 15:49:52.019474910 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.python-lazr.uri.new.26092/python-lazr.uri.changes
2020-03-09 18:07:33.160882660 +0100
@@ -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.lNKVvF/_old 2020-03-09 18:07:33.420882790 +0100
+++ /var/tmp/diff_new_pack.lNKVvF/_new 2020-03-09 18:07:33.420882790 +0100
@@ -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