Hello community,
here is the log from the commit of package python-distutils-extra for
openSUSE:Factory checked in at 2017-09-04 12:31:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-distutils-extra (Old)
and /work/SRC/openSUSE:Factory/.python-distutils-extra.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-distutils-extra"
Mon Sep 4 12:31:07 2017 rev:26 rq:519784 version:2.38
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-distutils-extra/python-distutils-extra.changes
2013-09-09 19:47:37.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.python-distutils-extra.new/python-distutils-extra.changes
2017-09-04 12:31:15.046299325 +0200
@@ -1,0 +2,5 @@
+Thu Aug 24 13:36:16 UTC 2017 - [email protected]
+
+- singlespec auto-conversion
+
+-------------------------------------------------------------------
@@ -157,0 +163 @@
+
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-distutils-extra.spec ++++++
--- /var/tmp/diff_new_pack.i8s5Uv/_old 2017-09-04 12:31:16.066155934 +0200
+++ /var/tmp/diff_new_pack.i8s5Uv/_new 2017-09-04 12:31:16.074154809 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-distutils-extra
#
-# Copyright (c) 2013 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
@@ -16,6 +16,7 @@
#
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-distutils-extra
Version: 2.38
Release: 0
@@ -24,14 +25,11 @@
Group: Development/Libraries/Python
Url: https://launchpad.net/python-distutils-extra
Source:
http://launchpad.net/python-distutils-extra/trunk/%{version}/+download/python-distutils-extra-%{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
+BuildRequires: %{python_module devel}
+BuildRequires: %{python_module setuptools}
+BuildRequires: python-rpm-macros
BuildArch: noarch
-%endif
+%python_subpackages
%description
This package adds support for common build additions to distutils. This
@@ -42,15 +40,15 @@
* program icons
%prep
-%setup -q -n "%{name}-%{version}"
+%setup -q
%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 LICENSE doc/*
%{python_sitelib}/*