Hello community,

here is the log from the commit of package python-entrypoint2 for 
openSUSE:Factory checked in at 2017-09-05 15:15:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-entrypoint2 (Old)
 and      /work/SRC/openSUSE:Factory/.python-entrypoint2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-entrypoint2"

Tue Sep  5 15:15:49 2017 rev:10 rq:520197 version:0.0.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-entrypoint2/python-entrypoint2.changes    
2013-10-25 11:15:02.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-entrypoint2.new/python-entrypoint2.changes   
    2017-09-05 15:15:52.739680930 +0200
@@ -1,0 +2,5 @@
+Thu Aug 24 13:38:12 UTC 2017 - jmate...@suse.com
+
+- singlespec auto-conversion
+
+-------------------------------------------------------------------
@@ -24,0 +30 @@
+

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

Other differences:
------------------
++++++ python-entrypoint2.spec ++++++
--- /var/tmp/diff_new_pack.8uddFh/_old  2017-09-05 15:15:53.519571306 +0200
+++ /var/tmp/diff_new_pack.8uddFh/_new  2017-09-05 15:15:53.523570744 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-entrypoint2
 #
-# 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,24 +16,24 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-entrypoint2
 Version:        0.0.6
 Release:        0
-Url:            https://github.com/ponty/entrypoint2
 Summary:        Easy to use command-line interface for python modules, fork of 
entrypoint
 License:        BSD-2-Clause
 Group:          Development/Languages/Python
-Source:         
http://pypi.python.org/packages/source/e/entrypoint2/entrypoint2-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
+Url:            https://github.com/ponty/entrypoint2
+Source:         
https://files.pythonhosted.org/packages/source/e/entrypoint2/entrypoint2-%{version}.tar.gz
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  python-rpm-macros
+%ifpython2
 Requires:       python-argparse
+%endif
 Requires:       python-decorator
-%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
 BuildArch:      noarch
-%endif
+%python_subpackages
 
 %description
 entrypoint2 is an easy to use command-line interface for python modules, fork
@@ -43,12 +43,12 @@
 %setup -q -n entrypoint2-%{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 LICENSE.txt README.rst
 %{python_sitelib}/*


Reply via email to