15
0
forked from pool/python-augeas

- Sort out a bit with spec-cleaner and remove all the sle11

conditions

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-augeas?expand=0&rev=10
This commit is contained in:
Tomáš Chvátal
2018-02-12 15:00:19 +00:00
committed by Git OBS Bridge
parent b4340a2ad6
commit 63d61e19f6
2 changed files with 12 additions and 17 deletions

View File

@@ -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

View File

@@ -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