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 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 dedicated service (nslcd) that queries the LDAP server with persistent
connections, authentication, attribute translation, etc. connections, authentication, attribute translation, etc.
Authors:
--------
Luke Howard <lukeh@padl.com>
West Consulting <info@west.nl>
Arthur de Jong <arthur@arthurdejong.org>
%prep %prep
%setup -q %setup -q
%patch0 -p1 %patch0 -p1
@ -65,14 +58,10 @@ Authors:
%build %build
%{?suse_update_config:%{suse_update_config -f}} %{?suse_update_config:%{suse_update_config -f}}
autoreconf autoreconf
CFLAGS="$RPM_OPT_FLAGS" \ export CPPFLAGS="-I/usr/include/sasl"
CPPFLAGS="-I/usr/include/sasl" \ %configure --libdir=/%{_lib} \
./configure --prefix=/usr \ --with-pam-seclib-dir=/%{_lib}/security
--mandir=%{_mandir} \ make %{?_smp_mflags}
--libdir=/%{_lib} \
--with-pam-seclib-dir=/%{_lib}/security \
--sysconfdir=/etc
make
%install %install
make DESTDIR=$RPM_BUILD_ROOT 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}/ install -p -m644 %{S:2} $RPM_BUILD_ROOT/%{_unitdir}/
ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rcnslcd ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rcnslcd
%clean
rm -fr $RPM_BUILD_ROOT
%pre %pre
%service_add_pre nslcd.service %service_add_pre nslcd.service
@ -105,11 +91,10 @@ rm -fr $RPM_BUILD_ROOT
%doc AUTHORS COPYING ChangeLog NEWS README %doc AUTHORS COPYING ChangeLog NEWS README
/%{_lib}/libnss_ldap.so.2 /%{_lib}/libnss_ldap.so.2
/%{_lib}/security/pam_ldap.so /%{_lib}/security/pam_ldap.so
%doc %{_mandir}/man5/* %{_mandir}/man?/*
%doc %{_mandir}/man8/*
%config(noreplace) %attr(640,root,root) /etc/nslcd.conf %config(noreplace) %attr(640,root,root) /etc/nslcd.conf
/%{_unitdir}/nslcd.service /%{_unitdir}/nslcd.service
/usr/sbin/nslcd %{_sbindir}/nslcd
/usr/sbin/rcnslcd %{_sbindir}/rcnslcd
%changelog %changelog