diff --git a/python-augeas.changes b/python-augeas.changes index 8b309a1..8bfe142 100644 --- a/python-augeas.changes +++ b/python-augeas.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Feb 12 14:59:57 UTC 2018 - tchvatal@suse.com + +- Sort out a bit with spec-cleaner and remove all the sle11 + conditions + ------------------------------------------------------------------- Thu Aug 24 13:32:55 UTC 2017 - jmatejek@suse.com diff --git a/python-augeas.spec b/python-augeas.spec index cb8c87d..0821ca2 100644 --- a/python-augeas.spec +++ b/python-augeas.spec @@ -1,7 +1,7 @@ # # spec file for package python-augeas # -# Copyright (c) 2017 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 @@ -26,21 +26,12 @@ Group: Development/Languages/Python Url: http://augeas.net/ Source: https://fedorahosted.org/released/python-augeas/python-augeas-%{version}.tar.gz BuildRequires: %{python_module devel} +BuildRequires: augeas-lenses BuildRequires: python-rpm-macros Requires: augeas -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildArch: noarch -%if 0%{?suse_version} >= 1140 -BuildRequires: augeas-lenses -%endif # 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 @@ -56,15 +47,13 @@ configuration files. %install %python_install -%if 0%{?suse_version} >= 1210 %check cd test -python test_augeas.py -%endif +%python_exec test_augeas.py %files %{python_files} -%defattr(-,root,root) -%doc AUTHORS COPYING README.txt +%doc AUTHORS README.txt +%license COPYING %{python_sitelib}/* %changelog