From eb29790db6db5d9194122cfdad55045442547948 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Sun, 10 Apr 2016 23:43:12 +0100 Subject: [PATCH] Ensure all libtool archive files are removed (.la) --- openldap.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/openldap.spec b/openldap.spec index 8470d1f..cb9a850 100644 --- a/openldap.spec +++ b/openldap.spec @@ -5,11 +5,12 @@ Name: openldap Version: 2.4.43 -Release: 2%{?dist} +Release: 3%{?dist} Summary: LDAP support libraries Group: System Environment/Daemons License: OpenLDAP URL: http://www.openldap.org/ + Source0: ftp://ftp.OpenLDAP.org/pub/OpenLDAP/openldap-release/openldap-%{version}.tgz Source1: slapd.service Source2: slapd.tmpfiles @@ -325,7 +326,7 @@ mv %{buildroot}%{_sysconfdir}/openldap/DB_CONFIG.example %{buildroot}%{_datadir} chmod 0644 %{buildroot}%{_datadir}/openldap-servers/DB_CONFIG.example # remove files which we don't want packaged -rm -f %{buildroot}%{_libdir}/*.la +find %{buildroot} -type f -name "*.la" -delete mv %{buildroot}%{_libdir}/openldap/check_password.so{,.tmp} rm -f %{buildroot}%{_libdir}/openldap/*.so mv %{buildroot}%{_libdir}/openldap/check_password.so{.tmp,} @@ -536,6 +537,9 @@ exit 0 %{_mandir}/man3/* %changelog +* Sun Apr 10 2016 Peter Robinson 2.4.43-3 +- Ensure all libtool archive files are removed (.la) + * Thu Feb 04 2016 Fedora Release Engineering - 2.4.43-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild