Hello community,

here is the log from the commit of package python-slip for openSUSE:Factory 
checked in at 2017-11-12 17:58:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-slip (Old)
 and      /work/SRC/openSUSE:Factory/.python-slip.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-slip"

Sun Nov 12 17:58:56 2017 rev:3 rq:540002 version:0.6.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-slip/python-slip.changes  2017-05-18 
20:51:44.402302714 +0200
+++ /work/SRC/openSUSE:Factory/.python-slip.new/python-slip.changes     
2017-11-12 17:58:57.368228123 +0100
@@ -1,0 +2,10 @@
+Wed Nov  8 18:13:54 UTC 2017 - mplus...@suse.com
+
+- Finalize singlespec conversion
+
+-------------------------------------------------------------------
+Thu Aug 24 13:54:58 UTC 2017 - jmate...@suse.com
+
+- singlespec auto-conversion
+
+-------------------------------------------------------------------
@@ -19,0 +30 @@
+

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

Other differences:
------------------
++++++ python-slip.spec ++++++
--- /var/tmp/diff_new_pack.Q1rLHF/_old  2017-11-12 17:58:57.900208746 +0100
+++ /var/tmp/diff_new_pack.Q1rLHF/_new  2017-11-12 17:58:57.900208746 +0100
@@ -16,6 +16,7 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-slip
 Version:        0.6.5
 Release:        0
@@ -24,10 +25,12 @@
 Group:          System/Libraries
 Url:            https://github.com/nphilipp/python-slip
 Source0:        
https://github.com/nphilipp/%{name}/releases/download/%{name}-%{version}/%{name}-%{version}.tar.bz2
+BuildRequires:  %{python_module devel}
 BuildRequires:  fdupes
-BuildRequires:  python-devel
+BuildRequires:  python-rpm-macros
 Requires:       python-six
 BuildArch:      noarch
+%python_subpackages
 
 %description
 The Simple Library for Python packages contain miscellaneous code for
@@ -58,6 +61,7 @@
 there are no clients anymore on the message bus, as well as convenience
 functions and decorators for integrating a dbus service with PolicyKit.
 
+%ifpython2
 %package gtk
 Summary:        Code to make auto-wrapping gtk labels
 Group:          System/Libraries
@@ -70,38 +74,43 @@
 
 This package provides slip.gtk.set_autowrap(), a convenience function which
 lets gtk labels be automatically re-wrapped upon resizing.
+%endif
 
 %prep
 %setup -q
 
 %build
 make %{?_smp_mflags}
+%python_build
 
 %install
-%make_install
-
+%python_install
 %fdupes %{buildroot}/%{python_sitelib}
 
-%files
+%files %{python_files}
 %defattr(-,root,root,-)
 %doc COPYING
 %dir %{python_sitelib}/slip/
 %dir %{python_sitelib}/slip/_wrappers
+%pycache_only %{python_sitelib}/slip/_wrappers/__pycache__
+%pycache_only %{python_sitelib}/slip/__pycache__
 %{python_sitelib}/slip/__init__.py*
 %{python_sitelib}/slip/util
 %{python_sitelib}/slip-%{version}-py%{python_version}.egg-info
 %{python_sitelib}/slip/_wrappers/__init__.*
 %{python_sitelib}/slip/_wrappers/_glib.*
 
-%files dbus
+%files %{python_files dbus}
 %defattr(-,root,root,-)
 %doc doc/dbus/*
 %{python_sitelib}/slip/dbus
 %{python_sitelib}/slip.dbus-%{version}-py%{python_version}.egg-info
 
-%files gtk
+%ifpython2
+%files %{python_files gtk}
 %defattr(-,root,root,-)
 %{python_sitelib}/slip/gtk
 %{python_sitelib}/slip.gtk-%{version}-py%{python_version}.egg-info
+%endif
 
 %changelog


Reply via email to