Hello community,

here is the log from the commit of package python-pyrrd for openSUSE:Leap:15.2 
checked in at 2020-03-02 13:21:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-pyrrd (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.python-pyrrd.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pyrrd"

Mon Mar  2 13:21:17 2020 rev:12 rq:777003 version:0.1.0

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-pyrrd/python-pyrrd.changes      
2020-01-15 15:52:09.123553494 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.python-pyrrd.new.26092/python-pyrrd.changes   
2020-03-02 13:21:17.698152326 +0100
@@ -1,0 +2,15 @@
+Fri Jun 22 15:52:52 UTC 2018 - [email protected]
+
+- This time really clean SPEC file (and yes, this is noarch package)
+
+-------------------------------------------------------------------
+Fri Jun 22 14:22:21 UTC 2018 - [email protected]
+
+- Clean SPEC file
+
+-------------------------------------------------------------------
+Thu Aug 24 13:51:51 UTC 2017 - [email protected]
+
+- singlespec auto-conversion
+
+-------------------------------------------------------------------
@@ -41,0 +57 @@
+

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

Other differences:
------------------
++++++ python-pyrrd.spec ++++++
--- /var/tmp/diff_new_pack.uyvWWo/_old  2020-03-02 13:21:18.126153177 +0100
+++ /var/tmp/diff_new_pack.uyvWWo/_new  2020-03-02 13:21:18.126153177 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pyrrd
 #
-# 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,48 +16,56 @@
 #
 
 
+%define skip_python3 1
 %define modname PyRRD
-
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-pyrrd
 Version:        0.1.0
 Release:        0
 Summary:        An Object-Oriented Python Interface for RRD
 License:        BSD-3-Clause
 Group:          Development/Libraries/Python
-Url:            http://code.google.com/p/pyrrd/
-Source:         
http://pypi.python.org/packages/source/P/PyRRD/%{modname}-%{version}.tar.gz
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
-BuildRequires:  python-xml
-Requires:       python-setuptools
+URL:            http://code.google.com/p/pyrrd/
+Source:         
https://files.pythonhosted.org/packages/source/P/PyRRD/%{modname}-%{version}.tar.gz
+BuildRequires:  %{python_module docutils}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module xml}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
 Requires:       python-xml
 Requires:       rrdtool
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%{py_requires}
-%if %{?suse_version: 0%{?suse_version} > 1110} %{!?suse_version:1}
 BuildArch:      noarch
-%endif
+%python_subpackages
 
 %description
 PyRRD is a pure-Python OO wrapper for the RRDTool (round-robin database tool).
 The idea is to make RRDTool insanely easy to use and to be aesthetically
 pleasing for Python programmers.
 
+%package -n %{name}-docs
+Summary:        Documentation files for %{name}
+Group:          Documentation/Other
+
+%description -n %{name}-docs
+HTML Documentation and examples for %{name}.
+
 %prep
 %setup -q -n %{modname}-%{version}
 
 %build
-export CFLAGS="%{optflags}"
-python setup.py build
+%python_build
 
 %install
-python setup.py install --single-version-externally-managed 
--prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES
+%python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
-%clean
-rm -rf %{buildroot}
+%files %{python_files}
+%license LICENSE
+%doc ChangeLog README TODO
+%{python_sitelib}/pyrrd
+%{python_sitelib}/PyRRD-*.egg-info
 
-%files -f INSTALLED_FILES
-%defattr(-,root,root)
-%doc docs examples ChangeLog LICENSE README TODO
+%files -n %{name}-docs
+%doc examples docs
 
 %changelog


Reply via email to