Hello community,

here is the log from the commit of package python-pycha for openSUSE:Factory 
checked in at 2017-06-08 15:02:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pycha (Old)
 and      /work/SRC/openSUSE:Factory/.python-pycha.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pycha"

Thu Jun  8 15:02:28 2017 rev:3 rq:501308 version:0.7.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pycha/python-pycha.changes        
2016-11-09 11:39:46.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python-pycha.new/python-pycha.changes   
2017-06-08 15:02:31.119125733 +0200
@@ -1,0 +2,10 @@
+Mon May 29 07:55:03 UTC 2017 - [email protected]
+
+- added python-rpm-macros
+
+-------------------------------------------------------------------
+Sun May 28 13:01:00 UTC 2017 - [email protected]
+
+- Convert to singlespec
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-pycha.spec ++++++
--- /var/tmp/diff_new_pack.iNMHTH/_old  2017-06-08 15:02:32.390946242 +0200
+++ /var/tmp/diff_new_pack.iNMHTH/_new  2017-06-08 15:02:32.394945677 +0200
@@ -1,8 +1,9 @@
 #
 # spec file for package python-pycha
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2016 Dr. Axel Braun
+# Copyright (c) 2017 Oliver Kurz
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,20 +18,23 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+
+%define         mod_name pycha
 Name:           python-pycha
 Version:        0.7.0
 Release:        0
 Summary:        A library for making charts with Python
 License:        LGPL-3.0+
 Group:          Development/Languages/Python
-Url:            http://bitbucket.org/lgs/pycha/
-Source:         https://pypi.io/packages/source/p/pycha/pycha-%{version}.tar.gz
+Url:            http://bitbucket.org/lgs/%{mod_name}/
+Source:         
https://pypi.io/packages/source/p/%{mod_name}/%{mod_name}-%{version}.tar.gz
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  python-rpm-macros
 BuildRequires:  fdupes
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-
 BuildArch:      noarch
+%python_subpackages
 
 %description
 Pycha is a Python package for drawing charts using the Cairo library.
@@ -40,22 +44,19 @@
 web programming. Pycha was developed for the server side.
 
 %prep
-%setup -q -n pycha-%{version}
+%setup -q -n %{mod_name}-%{version}
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
 %fdupes -s %{buildroot}
 
-%check
-#python setup.py test
-
-%files
+%files %{python_files}
 %defattr(-,root,root,-)
 %doc COPYING README.txt CHANGES.txt AUTHORS
 %{python_sitelib}/*
-%{_bindir}/chavier
+%python3_only %{_bindir}/chavier
 
 %changelog


Reply via email to