diff --git a/bnc-722317.patch b/bnc-722317.patch deleted file mode 100644 index 0a7b979..0000000 --- a/bnc-722317.patch +++ /dev/null @@ -1,25 +0,0 @@ -diff -u python-augeas-0.4.0.orig/augeas.py python-augeas-0.4.0/augeas.py ---- python-augeas-0.4.0.orig/augeas.py 2011-10-13 10:49:23.000000000 +0200 -+++ python-augeas-0.4.0/augeas.py 2011-10-13 10:51:11.000000000 +0200 -@@ -60,6 +60,7 @@ - _libpython = _dlopen(*["python" + _v % _pyver[:2] - for _v in ("%d.%d", "%d%d")]) - _libpython.PyFile_AsFile.restype = ctypes.c_void_p -+ _libpython.PyMem_Free.argtypes = [ctypes.c_void_p] - - # Load libaugeas - _libaugeas = _dlopen("augeas") -@@ -100,6 +101,12 @@ - self.__handle = Augeas._libaugeas.aug_init(root, loadpath, flags) - if not self.__handle: - raise RuntimeError("Unable to create Augeas object!") -+ -+ # ctypes implicitly converts void* to int (PyIntObject), which -+ # might cause issues on non-x86 architectures. -+ # This explicit cast avoids explicitly setting every -+ # _libaugeas.aug_* argtypes. -+ self.__handle = ctypes.c_void_p(self.__handle) - - def __del__(self): - self.close() -Common subdirectories: python-augeas-0.4.0.orig/test and python-augeas-0.4.0/test diff --git a/python-augeas-0.4.0.tar.bz2 b/python-augeas-0.4.0.tar.bz2 deleted file mode 100644 index 7ac72c6..0000000 --- a/python-augeas-0.4.0.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5d46c41fa58f7e9291244a98e4e8fbfae19433c0e51facc02fae6ad8b7eef1b6 -size 78408 diff --git a/python-augeas-0.4.1.tar.gz b/python-augeas-0.4.1.tar.gz new file mode 100644 index 0000000..034b954 --- /dev/null +++ b/python-augeas-0.4.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2d9e618fad03f68033b5ac94d0d57136df9ed75bf21c6e7877d3107866af89bf +size 89652 diff --git a/python-augeas.changes b/python-augeas.changes index ba674a6..34180b3 100644 --- a/python-augeas.changes +++ b/python-augeas.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Wed Jan 23 16:14:53 UTC 2013 - aj@ajaissle.de + +- New upstream release 0.4.1 + * Allow "None" as value for set() + * Add span API call to match C API + * Make unit tests more quiet + * Work around RHEL6 on Power issue. + * test: make sure local augeas.py is used +- New format for license tag (spdx.org) +- Dropped bnc-722317.patch (included in upstream package) + ------------------------------------------------------------------- Thu Mar 15 11:35:32 UTC 2012 - dmacvicar@suse.de diff --git a/python-augeas.spec b/python-augeas.spec index 16383d3..90d5f93 100644 --- a/python-augeas.spec +++ b/python-augeas.spec @@ -1,7 +1,7 @@ # # spec file for package python-augeas # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 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 @@ -17,18 +17,18 @@ # norootforbuild -Url: http://augeas.net/ Name: python-augeas -Version: 0.4.0 +Version: 0.4.1 Release: 0. Summary: Python bindings for Augeas -License: LGPL v2.1 or later +License: LGPL-2.1+ Group: Development/Libraries/Python -Source: python-augeas-%{version}.tar.bz2 -Patch0: bnc-722317.patch -BuildRequires: augeas-lenses python-devel +Url: http://augeas.net/ +Source: python-augeas-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: augeas-lenses +BuildRequires: python-devel Requires: augeas %{py_requires} @@ -47,7 +47,6 @@ Authors: %prep %setup -q -%patch0 -p1 %build %{__python} setup.py build @@ -55,7 +54,7 @@ Authors: %install %{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES -#%check +#%%check #cd test #python test_augeas.py ## the test fails because the binding is testing for features from newer augeas releases