[packages/nss_altfiles] up to 2.18.1

glen glen at pld-linux.org
Sat May 23 21:30:18 CEST 2015


commit 4c5f0557615c9942513fd822c9a828abab2f8caf
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sat May 23 22:30:03 2015 +0300

    up to 2.18.1

 nss_altfiles.spec | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/nss_altfiles.spec b/nss_altfiles.spec
index ef2ae87..aad8fb3 100644
--- a/nss_altfiles.spec
+++ b/nss_altfiles.spec
@@ -1,16 +1,15 @@
 Summary:	NSS module to read passwd/group files from alternate locations
 Name:		nss_altfiles
-Version:	2.18.0
-Release:	0.1
+Version:	2.18.1
+Release:	1
 License:	LGPL v2+
 Group:		Libraries
 Source0:	https://github.com/aperezdc/nss-altfiles/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5:	21f2f86feb4d118ec7d58ecf528a30cf
+# Source0-md5:	9b7974fe70147d38f778b2ef7d153405
 URL:		https://github.com/aperezdc/nss-altfiles
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-# check if needed
-%define	no_install_post_check_so 1
+%define		no_install_post_check_so 1 
 
 %description
 This is a NSS module which can read user information from files in the
@@ -24,13 +23,14 @@ module included with eglibc. It should work with glibc2 as well.
 %setup -q -n nss-altfiles-%{version}
 
 %build
-%configure
+%configure \
+	--libdir=/%{_lib}
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/%{_lib}
-install -p libnss_altfiles.so.2 $RPM_BUILD_ROOT/%{_lib}
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/nss_altfiles.git/commitdiff/4c5f0557615c9942513fd822c9a828abab2f8caf



More information about the pld-cvs-commit mailing list