Hello community, here is the log from the commit of package python-augeas for openSUSE:Factory checked in at 2018-02-13 10:31:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-augeas (Old) and /work/SRC/openSUSE:Factory/.python-augeas.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-augeas" Tue Feb 13 10:31:35 2018 rev:6 rq:575807 version:0.5.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-augeas/python-augeas.changes 2016-01-01 19:47:59.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python-augeas.new/python-augeas.changes 2018-02-13 10:31:37.220300789 +0100 @@ -1,0 +2,11 @@ +Mon Feb 12 14:59:57 UTC 2018 - tchva...@suse.com + +- Sort out a bit with spec-cleaner and remove all the sle11 + conditions + +------------------------------------------------------------------- +Thu Aug 24 13:32:55 UTC 2017 - jmate...@suse.com + +- singlespec auto-conversion + +------------------------------------------------------------------- @@ -71,0 +83 @@ + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-augeas.spec ++++++ --- /var/tmp/diff_new_pack.8asFOv/_old 2018-02-13 10:31:38.976237518 +0100 +++ /var/tmp/diff_new_pack.8asFOv/_new 2018-02-13 10:31:38.976237518 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-augeas # -# Copyright (c) 2015 SUSE LINUX 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,60 +16,44 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-augeas Version: 0.5.0 Release: 0 Summary: Python bindings for Augeas License: LGPL-2.1+ Group: Development/Languages/Python - Url: http://augeas.net/ Source: https://fedorahosted.org/released/python-augeas/python-augeas-%{version}.tar.gz -%if 0%{?suse_version} >= 1140 +BuildRequires: %{python_module devel} BuildRequires: augeas-lenses -%endif -BuildRequires: python-devel -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 -BuildArch: noarch -%endif - +BuildRequires: python-rpm-macros Requires: augeas # We'd always want to have augeas-lenses installed -%if 0%{?suse_version} >= 1140 Requires: augeas-lenses -%endif - -# Fix no-dependency-on python-base on SLE11 and openSUSE 11.4 -%if 0%{?suse_version} <= 1140 -%{py_requires} -%endif +BuildArch: noarch +%python_subpackages %description Python bindings for Augeas, a library for programmatically editing configuration files. - %prep %setup -q %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install -%if 0%{?suse_version} >= 1210 %check cd test -python test_augeas.py -%endif +%python_exec test_augeas.py -%files -%defattr(-,root,root) -%doc AUTHORS COPYING README.txt +%files %{python_files} +%doc AUTHORS README.txt +%license COPYING %{python_sitelib}/* %changelog