Hello community,
here is the log from the commit of package python-multi_key_dict for
openSUSE:Factory checked in at 2017-09-07 22:15:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-multi_key_dict (Old)
and /work/SRC/openSUSE:Factory/.python-multi_key_dict.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-multi_key_dict"
Thu Sep 7 22:15:49 2017 rev:2 rq:521509 version:2.0.3
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-multi_key_dict/python-multi_key_dict.changes
2015-12-23 08:49:03.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.python-multi_key_dict.new/python-multi_key_dict.changes
2017-09-07 22:16:05.802602532 +0200
@@ -1,0 +2,5 @@
+Tue Sep 5 16:37:41 UTC 2017 - [email protected]
+
+- Use singlespec macros
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-multi_key_dict.spec ++++++
--- /var/tmp/diff_new_pack.PIUrum/_old 2017-09-07 22:16:06.542498268 +0200
+++ /var/tmp/diff_new_pack.PIUrum/_new 2017-09-07 22:16:06.550497141 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-multi_key_dict
#
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -13,23 +13,23 @@
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-multi_key_dict
Version: 2.0.3
Release: 0
-License: MIT
Summary: Multi key dictionary implementation
-Url: https://github.com/formiaczek/multi_key_dict
+License: MIT
Group: Development/Languages/Python
+Url: https://github.com/formiaczek/multi_key_dict
Source:
https://pypi.python.org/packages/source/m/multi_key_dict/multi_key_dict-%{version}.tar.gz
-BuildRequires: python-devel
-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
+BuildRequires: %{python_module devel}
+BuildRequires: python-rpm-macros
BuildArch: noarch
-%endif
+
+%python_subpackages
%description
Multi-key dict provides also extended interface for iterating over items and
@@ -43,12 +43,12 @@
%setup -q -n multi_key_dict-%{version}
%build
-python setup.py build
+%python_build
%install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
-%files
+%files %{python_files}
%defattr(-,root,root,-)
%doc README.txt
%{python_sitelib}/*