Hello community,

here is the log from the commit of package nfsidmap for openSUSE:Factory 
checked in at 2018-07-18 22:36:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nfsidmap (Old)
 and      /work/SRC/openSUSE:Factory/.nfsidmap.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "nfsidmap"

Wed Jul 18 22:36:09 2018 rev:37 rq:622436 version:0.27

Changes:
--------
--- /work/SRC/openSUSE:Factory/nfsidmap/nfsidmap.changes        2015-03-16 
09:41:36.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.nfsidmap.new/nfsidmap.changes   2018-07-18 
22:36:12.762486448 +0200
@@ -1,0 +2,16 @@
+Fri Jul 13 07:23:40 UTC 2018 - jeng...@inai.de
+
+- --with-pic is pointless in conjunction with --disable-static.
+  Remove it.
+
+-------------------------------------------------------------------
+Tue Jul 10 11:38:21 UTC 2018 - mplus...@suse.com
+
+- Update to version 0.27
+  * No changelog available
+- Refresh patches:
+  * fix-prototype.patch
+  * libnfsidmap-export-symbols.patch
+- Modernise spec file with spec-cleaner
+
+-------------------------------------------------------------------

Old:
----
  libnfsidmap-0.26.tar.bz2

New:
----
  libnfsidmap-0.27.tar.bz2

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

Other differences:
------------------
++++++ nfsidmap.spec ++++++
--- /var/tmp/diff_new_pack.YLYfCe/_old  2018-07-18 22:36:13.570483771 +0200
+++ /var/tmp/diff_new_pack.YLYfCe/_new  2018-07-18 22:36:13.574483757 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package nfsidmap
 #
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX 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,21 +17,19 @@
 
 
 Name:           nfsidmap
-Version:        0.26
+Version:        0.27
 Release:        0
 Summary:        NFSv4 ID Mapping Library
 License:        BSD-3-Clause
 Group:          Productivity/Networking/NFS
-Url:            http://nfs.sourceforge.net
-
+URL:            http://nfs.sourceforge.net
 Source0:        
https://fedorapeople.org/~steved/libnfsidmap/%{version}/libnfsidmap-%{version}.tar.bz2
 Source1:        nfsv4.schema
 Patch0:         fix-prototype.patch
 Patch1:         libnfsidmap-export-symbols.patch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  libtool
 BuildRequires:  openldap2-devel
-BuildRequires:  pkg-config
+BuildRequires:  pkgconfig
 BuildRequires:  tcpd-devel
 
 %description
@@ -42,7 +40,7 @@
 %package devel
 Summary:        NFSv4 ID Mapping Library development libraries
 Group:          Development/Libraries/C and C++
-Requires:       nfsidmap = %version
+Requires:       nfsidmap = %{version}
 
 %description devel
 In NFSv4, identities of users are conveyed by names rather than user ID
@@ -50,38 +48,36 @@
 translate these to numeric IDs.
 
 %prep
-%setup -q -n libnfsidmap-%version
-%patch0 -p0
-%patch1
-cp %{S:1} .
+%setup -q -n libnfsidmap-%{version}
+%patch0 -p1
+%patch1 -p1
+cp %{SOURCE1} .
 
 %build
 autoreconf -fiv
-export CFLAGS="$RPM_OPT_FLAGS -DLDAP_DEPRECATED -DENABLE_LDAP"
-%configure --disable-static --with-pic --with-pluginpath=%_libdir/libnfsidmap
-%{__make} %{?_smp_mflags}
+export CFLAGS="%{optflags} -DLDAP_DEPRECATED -DENABLE_LDAP"
+%configure \
+  --disable-static \
+  --with-pluginpath=%{_libdir}/libnfsidmap
+make %{?_smp_mflags}
 
 %check
-make check
+make %{?_smp_mflags} check
 
 %install
-make DESTDIR=$RPM_BUILD_ROOT install
-%{__rm} -f %{buildroot}%{_libdir}/*.la
-%{__rm} -f %{buildroot}%{_libdir}/libnfsidmap/*.la
+%make_install
+find %{buildroot} -type f -name "*.la" -delete -print
 
 %post -p /sbin/ldconfig
-
 %postun -p /sbin/ldconfig
 
 %files
-%defattr(-,root,root)
 %doc README nfsv4.schema
 %{_libdir}/libnfsidmap/
 %{_libdir}/libnfsidmap.so.0*
 %{_mandir}/man?/*
 
 %files devel
-%defattr(-,root,root)
 %{_libdir}/libnfsidmap.so
 %{_includedir}/*.h
 %{_libdir}/pkgconfig/libnfsidmap.pc

++++++ fix-prototype.patch ++++++
--- /var/tmp/diff_new_pack.YLYfCe/_old  2018-07-18 22:36:13.598483678 +0200
+++ /var/tmp/diff_new_pack.YLYfCe/_new  2018-07-18 22:36:13.598483678 +0200
@@ -1,6 +1,8 @@
---- nfsidmap.h
-+++ nfsidmap.h
-@@ -50,6 +50,7 @@
+Index: libnfsidmap-0.27/nfsidmap.h
+===================================================================
+--- libnfsidmap-0.27.orig/nfsidmap.h
++++ libnfsidmap-0.27/nfsidmap.h
+@@ -50,6 +50,7 @@ typedef struct _extra_mapping_params {
  typedef void (*nfs4_idmap_log_function_t)(const char *, ...);
  
  int nfs4_init_name_mapping(char *conffile);
@@ -8,13 +10,3 @@
  int nfs4_get_default_domain(char *server, char *domain, size_t len);
  int nfs4_uid_to_name(uid_t uid, char *domain, char *name, size_t len);
  int nfs4_gid_to_name(gid_t gid, char *domain, char *name, size_t len);
---- nss.c
-+++ nss.c
-@@ -44,6 +44,7 @@
- #include <netdb.h>
- #include <err.h>
- #include <grp.h>
-+#include <ctype.h>
- #include "nfsidmap.h"
- #include "nfsidmap_internal.h"
- #include "cfg.h"

++++++ libnfsidmap-0.26.tar.bz2 -> libnfsidmap-0.27.tar.bz2 ++++++
++++ 43552 lines of diff (skipped)

++++++ libnfsidmap-export-symbols.patch ++++++
--- /var/tmp/diff_new_pack.YLYfCe/_old  2018-07-18 22:36:13.858482816 +0200
+++ /var/tmp/diff_new_pack.YLYfCe/_new  2018-07-18 22:36:13.858482816 +0200
@@ -1,19 +1,17 @@
-Index: configure.in
+Index: libnfsidmap-0.27/configure.ac
 ===================================================================
---- configure.in.orig
-+++ configure.in
-@@ -5,11 +5,16 @@ AC_PREREQ([2.68])
- AC_INIT([libnfsidmap],[0.25],[linux-...@vger.kernel.org])
+--- libnfsidmap-0.27.orig/configure.ac
++++ libnfsidmap-0.27/configure.ac
+@@ -6,11 +6,15 @@ AC_INIT([libnfsidmap],[0.27],[linux-nfs@
+ AC_CONFIG_AUX_DIR([build-aux])
  AC_CONFIG_SRCDIR([nfsidmap.h])
  AC_CONFIG_MACRO_DIR([m4])
--AM_INIT_AUTOMAKE
 +AC_CONFIG_AUX_DIR([build-aux])
 +AC_CONFIG_MACRO_DIR([m4])
-+AM_INIT_AUTOMAKE([foreign])
+ AM_INIT_AUTOMAKE([foreign])
 +AC_PROG_LIBTOOL
  LT_INIT
  
-+
  # Checks for programs.
 -AC_PROG_CC
 +AC_PROG_CC_STDC
@@ -21,10 +19,10 @@
  
  # Checks for libraries.
  
-Index: strlcpy.c
+Index: libnfsidmap-0.27/strlcpy.c
 ===================================================================
---- strlcpy.c.orig
-+++ strlcpy.c
+--- libnfsidmap-0.27.orig/strlcpy.c
++++ libnfsidmap-0.27/strlcpy.c
 @@ -43,6 +43,7 @@ static char *rcsid = "$OpenBSD: strlcpy.
   * will be copied.  Always NUL terminates (unless siz == 0).
   * Returns strlen(src); if retval >= siz, truncation occurred.


Reply via email to