# # spec file for package python-augeas # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Url: http://augeas.net/ Name: python-augeas Version: 0.4.0 Release: 0. Summary: Python bindings for Augeas License: LGPL v2.1 or later Group: Development/Libraries/Python Source: python-augeas-%{version}.tar.bz2 Patch0: bnc-722317.patch BuildRequires: augeas-lenses python-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: augeas %{py_requires} %description Python bindings for Augeas, a library for programmatically editing configuration files. Authors: -------- Nathaniel McCallum Jeff Schroeder Harald Hoyer Nils Philippsen %prep %setup -q %patch0 -p1 %build %{__python} setup.py build %install %{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES #%check #cd test #python test_augeas.py ## the test fails because the binding is testing for features from newer augeas releases %files -f INSTALLED_FILES %defattr(-,root,root) %changelog