From 2cc9873629ac934229f3db3b6c385b20a29dded5c82683585f8298ec6d7b7b2a Mon Sep 17 00:00:00 2001 From: Howard Guo Date: Wed, 15 Jun 2016 14:18:39 +0000 Subject: [PATCH] Accepting request 402431 from home:jengelh:branches:network:ldap - Drop %clean section and authors list. OBS-URL: https://build.opensuse.org/request/show/402431 OBS-URL: https://build.opensuse.org/package/show/network:ldap/nss-pam-ldapd?expand=0&rev=3 --- nss-pam-ldapd.changes | 6 ++++++ nss-pam-ldapd.spec | 29 +++++++---------------------- 2 files changed, 13 insertions(+), 22 deletions(-) diff --git a/nss-pam-ldapd.changes b/nss-pam-ldapd.changes index 3f39651..1d8b066 100644 --- a/nss-pam-ldapd.changes +++ b/nss-pam-ldapd.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jun 15 12:19:09 UTC 2016 - jengelh@inai.de + +- Drop %clean section and authors list. + %doc is already implicit for manpages. + ------------------------------------------------------------------- Mon Sep 14 08:06:23 UTC 2015 - hguo@suse.com diff --git a/nss-pam-ldapd.spec b/nss-pam-ldapd.spec index 88dc07b..b202522 100644 --- a/nss-pam-ldapd.spec +++ b/nss-pam-ldapd.spec @@ -51,13 +51,6 @@ This is implemented using thin NSS and PAM modules which delegate to a dedicated service (nslcd) that queries the LDAP server with persistent connections, authentication, attribute translation, etc. - -Authors: --------- - Luke Howard - West Consulting - Arthur de Jong - %prep %setup -q %patch0 -p1 @@ -65,14 +58,10 @@ Authors: %build %{?suse_update_config:%{suse_update_config -f}} autoreconf -CFLAGS="$RPM_OPT_FLAGS" \ -CPPFLAGS="-I/usr/include/sasl" \ -./configure --prefix=/usr \ - --mandir=%{_mandir} \ - --libdir=/%{_lib} \ - --with-pam-seclib-dir=/%{_lib}/security \ - --sysconfdir=/etc -make +export CPPFLAGS="-I/usr/include/sasl" +%configure --libdir=/%{_lib} \ + --with-pam-seclib-dir=/%{_lib}/security +make %{?_smp_mflags} %install make DESTDIR=$RPM_BUILD_ROOT install @@ -80,9 +69,6 @@ mkdir -p $RPM_BUILD_ROOT/%{_unitdir}/ install -p -m644 %{S:2} $RPM_BUILD_ROOT/%{_unitdir}/ ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rcnslcd -%clean -rm -fr $RPM_BUILD_ROOT - %pre %service_add_pre nslcd.service @@ -105,11 +91,10 @@ rm -fr $RPM_BUILD_ROOT %doc AUTHORS COPYING ChangeLog NEWS README /%{_lib}/libnss_ldap.so.2 /%{_lib}/security/pam_ldap.so -%doc %{_mandir}/man5/* -%doc %{_mandir}/man8/* +%{_mandir}/man?/* %config(noreplace) %attr(640,root,root) /etc/nslcd.conf /%{_unitdir}/nslcd.service -/usr/sbin/nslcd -/usr/sbin/rcnslcd +%{_sbindir}/nslcd +%{_sbindir}/rcnslcd %changelog