Hello community,

here is the log from the commit of package python-augeas for openSUSE:Factory 
checked in at 2013-12-11 15:43:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-augeas (Old)
 and      /work/SRC/openSUSE:Factory/.python-augeas.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-augeas"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-augeas/python-augeas.changes      
2013-07-09 21:01:48.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-augeas.new/python-augeas.changes 
2013-12-11 15:43:58.000000000 +0100
@@ -1,0 +2,14 @@
+Mon Dec  9 14:34:05 UTC 2013 - a...@ajaissle.de
+
+- Changed BuildArch to noarch for suse-version >= 1140
+- Cleaned up spec file
+
+-------------------------------------------------------------------
+Wed Dec  4 22:49:12 UTC 2013 - a...@ajaissle.de
+
+- Added 'Requires: augeas-lenses'
+  * we'd always want to have lenses installed
+- Do not BuildRequire augeas-lenses and do not %check, if we are on 
suse_version >= 1140
+- Do not %check unless suse_version >= 1210
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-augeas.spec ++++++
--- /var/tmp/diff_new_pack.sz1hgx/_old  2013-12-11 15:43:59.000000000 +0100
+++ /var/tmp/diff_new_pack.sz1hgx/_new  2013-12-11 15:43:59.000000000 +0100
@@ -15,51 +15,61 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
-
 
 Name:           python-augeas
 Version:        0.4.1
-Release:        0.<RELEASE8>
+Release:        0
 Summary:        Python bindings for Augeas
 License:        LGPL-2.1+
-Group:          Development/Libraries/Python
+Group:          Development/Languages/Python
+
 Url:            http://augeas.net/
-Source:         python-augeas-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+Source:         
https://fedorahosted.org/released/python-augeas/python-augeas-%{version}.tar.gz
+%if 0%{?suse_version} >= 1140
 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
+
 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
 
 %description
 Python bindings for Augeas, a library for programmatically editing
 configuration files.
 
 
-
-Authors:
---------
-    Nathaniel McCallum <nathan...@natemccallum.com>
-    Jeff Schroeder <jeffschroe...@computer.org>
-    Harald Hoyer <har...@redhat.com>
-    Nils Philippsen <n...@redhat.com>
-
 %prep
 %setup -q
 
 %build
-%{__python} setup.py build
+python setup.py build
 
 %install
-%{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} 
--record-rpm=INSTALLED_FILES
+python setup.py install --prefix=%{_prefix} --root=%{buildroot}
 
+%if 0%{?suse_version} >= 1210
 %check
 cd test
 python test_augeas.py
+%endif
 
-%files -f INSTALLED_FILES
+%files
 %defattr(-,root,root)
 %doc AUTHORS COPYING README.txt
+%{python_sitelib}/*
 
 %changelog

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to