[libuser] Update to libuser-0.57
Miloslav Trmac
mitr at fedoraproject.org
Mon Jan 10 18:02:57 UTC 2011
commit 35f9f0a28dd87b6d2f55793e0996fc7f61e34962
Author: Miloslav Trmač <mitr at redhat.com>
Date: Mon Jan 10 19:01:57 2011 +0100
Update to libuser-0.57
Resolves: #497333 #610172
.gitignore | 1 +
libuser-0.56.17-crypt_style.patch | 16 ----------------
libuser-0.56.18-matchpathcon.patch | 30 ------------------------------
libuser.spec | 18 ++++++++++--------
sources | 2 +-
5 files changed, 12 insertions(+), 55 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 1dff5f7..9b67de9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
libuser-0.56.16.tar.xz
/libuser-0.56.17.tar.xz
/libuser-0.56.18.tar.xz
+/libuser-0.57.tar.xz
diff --git a/libuser.spec b/libuser.spec
index dffcfbf..2af0515 100644
--- a/libuser.spec
+++ b/libuser.spec
@@ -1,20 +1,18 @@
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
Name: libuser
-Version: 0.56.18
-Release: 2%{?dist}
+Version: 0.57
+Release: 1%{?dist}
Group: System Environment/Base
License: LGPLv2+
URL: https://fedorahosted.org/libuser/
Source: https://fedorahosted.org/releases/l/i/libuser/libuser-%{version}.tar.xz
-# Upstream commit 276fa0a3078b431e18289285f84a77381b89726c
-Patch0: libuser-0.56.17-crypt_style.patch
-# Upstream commit 2744aecc92b1f0c78d19022bf9e8107450544e18
-Patch1: libuser-0.56.18-matchpathcon.patch
BuildRequires: glib2-devel, linuxdoc-tools, pam-devel, popt-devel, python2-devel
BuildRequires: cyrus-sasl-devel, libselinux-devel, openldap-devel
# To make sure the configure script can find it
BuildRequires: nscd
+# For %%check
+BuildRequires: openldap-clients, openldap-servers
Summary: A user and group account administration library
%description
@@ -47,8 +45,6 @@ administering user and group accounts.
%prep
%setup -q
-%patch0 -p1 -b .crypt_style
-%patch1 -p1 -b .matchpathcon
%build
%configure --with-selinux --with-ldap --with-html-dir=%{_datadir}/gtk-doc/html
@@ -64,6 +60,8 @@ make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
%check
+make check
+
# Verify that all python modules load, just in case.
LD_LIBRARY_PATH=$RPM_BUILD_ROOT/%{_libdir}:${LD_LIBRARY_PATH}
export LD_LIBRARY_PATH
@@ -104,6 +102,10 @@ python -c "import libuser"
%{_datadir}/gtk-doc/html/*
%changelog
+* Mon Jan 10 2011 Miloslav Trmač <mitr at redhat.com> - 0.57-1
+- Update to libuser-0.57
+ Resolves: #497333 #610172
+
* Wed Sep 29 2010 Miloslav Trmač <mitr at redhat.com> - 0.56.18-2
- Handle matchpathcon() failing with ENOENT
Resolves: #631717
diff --git a/sources b/sources
index 01f1256..9101cf1 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-de074409153f690821d9340cb33ee435 libuser-0.56.18.tar.xz
+f4ff22c4ffe679df5e0e3c180c36b09d libuser-0.57.tar.xz
More information about the scm-commits
mailing list