Hello community,

here is the log from the commit of package python-pushy for openSUSE:Factory 
checked in at 2018-06-19 12:02:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pushy (Old)
 and      /work/SRC/openSUSE:Factory/.python-pushy.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pushy"

Tue Jun 19 12:02:05 2018 rev:5 rq:616901 version:0.5.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pushy/python-pushy.changes        
2013-10-11 09:02:30.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-pushy.new/python-pushy.changes   
2018-06-19 12:02:08.841409519 +0200
@@ -1,0 +2,10 @@
+Thu Jun 14 15:54:42 UTC 2018 - [email protected]
+
+- Clean SPEC file
+
+-------------------------------------------------------------------
+Thu Aug 24 13:50:06 UTC 2017 - [email protected]
+
+- singlespec auto-conversion
+
+-------------------------------------------------------------------
@@ -10,0 +21 @@
+

Old:
----
  pushy-0.5.3.zip

New:
----
  pushy-0.5.4.zip

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

Other differences:
------------------
++++++ python-pushy.spec ++++++
--- /var/tmp/diff_new_pack.7OvxYx/_old  2018-06-19 12:02:09.889370609 +0200
+++ /var/tmp/diff_new_pack.7OvxYx/_new  2018-06-19 12:02:09.897370312 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pushy
 #
-# 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
@@ -16,24 +16,26 @@
 #
 
 
+#
+%define skip_python3 1
+
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-pushy
-Version:        0.5.3
+Version:        0.5.4
 Release:        0
 Summary:        A library for transparently accessing objects in a remote 
Python interpreter
 License:        MIT
 Group:          Development/Languages/Python
-Url:            http://awilkins.id.au/pushy/
-Source:         
https://pypi.python.org/packages/source/p/pushy/pushy-%{version}.zip
-BuildRequires:  python-devel
-BuildRequires:  python-paramiko
-Requires:       python-paramiko
+URL:            https://github.com/pushyrpc/pushy
+Source:         
https://files.pythonhosted.org/packages/source/p/pushy/pushy-%{version}.zip
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module paramiko}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
 BuildRequires:  unzip
-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
+Requires:       python-paramiko
 BuildArch:      noarch
-%endif
+%python_subpackages
 
 %description
 Pushy is a Python library for allowing one to connect to a remote Python
@@ -53,13 +55,13 @@
 %setup -q -n pushy-%{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}
 
-%files
-%defattr(-,root,root,-)
+%files %{python_files}
 %{python_sitelib}/*
 
 %changelog


Reply via email to