commit nfsidmap for openSUSE:Factory
![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
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 - jengelh@inai.de
+
+- --with-pic is pointless in conjunction with --disable-static.
+ Remove it.
+
+-------------------------------------------------------------------
+Tue Jul 10 11:38:21 UTC 2018 - mpluskal@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
participants (1)
-
root