Hello community, here is the log from the commit of package python-pyrrd for openSUSE:Factory checked in at 2018-06-27 10:20:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pyrrd (Old) and /work/SRC/openSUSE:Factory/.python-pyrrd.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pyrrd" Wed Jun 27 10:20:42 2018 rev:8 rq:618635 version:0.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pyrrd/python-pyrrd.changes 2013-10-25 11:29:45.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-pyrrd.new/python-pyrrd.changes 2018-06-27 10:20:47.449417678 +0200 @@ -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.ZyHgVJ/_old 2018-06-27 10:20:48.329385684 +0200 +++ /var/tmp/diff_new_pack.ZyHgVJ/_new 2018-06-27 10:20:48.329385684 +0200 @@ -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
