commit b361bea904e41a3aefdded8203f4e3c3421e6d89
Author: Jan Rękorajski <[email protected]>
Date:   Sat Oct 16 23:01:42 2021 +0200

    - up to 0.63

 format-security.patch | 22 ----------------------
 libuser.spec          | 23 ++++++++++++++---------
 2 files changed, 14 insertions(+), 31 deletions(-)
---
diff --git a/libuser.spec b/libuser.spec
index b90cd57..01c2179 100644
--- a/libuser.spec
+++ b/libuser.spec
@@ -7,15 +7,12 @@
 Summary:       A user and group account administration library
 Summary(pl.UTF-8):     Biblioteka do administrowania kontami użytkowników i 
grup
 Name:          libuser
-Version:       0.62
-Release:       5
+Version:       0.63
+Release:       1
 License:       LGPL v2+
 Group:         Base
-#Source0Download: https://pagure.io/libuser/releases
-#Source0:      
https://pagure.io/libuser/archive/libuser-%{version}/libuser-%{name}-%{version}.tar.gz
-Source0:       %{name}-%{version}.tar.xz
-# Source0-md5: 63e5e5c551e99dc5302b40b80bd6d4f2
-Patch0:                format-security.patch
+Source0:       
https://pagure.io/libuser/archive/libuser-%{version}/libuser-%{name}-%{version}.tar.gz
+# Source0-md5: 3ab610afe9ab2431cdeed46b0c629bd1
 URL:           https://pagure.io/libuser
 BuildRequires: cyrus-sasl-devel
 BuildRequires: gettext-tools >= 0.17
@@ -96,12 +93,20 @@ pythonowe API do manipulowania i administrowania kontami 
użytkowników
 i grup.
 
 %prep
-%setup -q
-%patch0 -p1
+%setup -q -n %{name}-%{name}-%{version}
 
 %build
+mkdir -p m4
+%{__gtkdocize} --docdir docs/reference
+%{__libtoolize}
+%{__autopoint}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
 %configure \
        NSCD=/usr/sbin/nscd \
+       --enable-gtk-doc \
        --with-html-dir=%{_gtkdocdir} \
        --with-ldap \
        --with-selinux
diff --git a/format-security.patch b/format-security.patch
deleted file mode 100644
index 9216149..0000000
--- a/format-security.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- libuser-0.58/modules/files.c~      2012-11-08 03:25:58.000000000 +0100
-+++ libuser-0.58/modules/files.c       2012-12-07 09:10:29.293666410 +0100
-@@ -294,7 +294,7 @@
-                                                string, &err);
-       if (ret == FALSE) {
-               g_assert(err != NULL);
--              g_warning(lu_strerror(err));
-+              g_warning("%s", lu_strerror(err));
-               lu_error_free(&err);
-       }
-       return ret;
---- libuser-0.58/modules/ldap.c~       2012-11-08 03:25:58.000000000 +0100
-+++ libuser-0.58/modules/ldap.c        2012-12-07 09:11:05.156998479 +0100
-@@ -672,7 +672,7 @@
-                                               (&value, attr, val, &error);
-                                       if (ok == FALSE) {
-                                               g_assert(error != NULL);
--                                              g_warning(lu_strerror(error));
-+                                              g_warning("%s", 
lu_strerror(error));
-                                               lu_error_free(&error);
-                                       } else {
-                                               lu_ent_add_current(ent, attr,
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libuser.git/commitdiff/b361bea904e41a3aefdded8203f4e3c3421e6d89

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to