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
This commit is contained in:
Howard Guo 2016-06-15 14:18:39 +00:00 committed by Git OBS Bridge
parent aa095ce799
commit 2cc9873629
2 changed files with 13 additions and 22 deletions

View File

@ -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

View File

@ -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 <lukeh@padl.com>
West Consulting <info@west.nl>
Arthur de Jong <arthur@arthurdejong.org>
%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