Ensure all libtool archive files are removed (.la)

This commit is contained in:
Peter Robinson 2016-04-10 23:43:12 +01:00
parent 65a5310ab6
commit eb29790db6

View File

@ -5,11 +5,12 @@
Name: openldap Name: openldap
Version: 2.4.43 Version: 2.4.43
Release: 2%{?dist} Release: 3%{?dist}
Summary: LDAP support libraries Summary: LDAP support libraries
Group: System Environment/Daemons Group: System Environment/Daemons
License: OpenLDAP License: OpenLDAP
URL: http://www.openldap.org/ URL: http://www.openldap.org/
Source0: ftp://ftp.OpenLDAP.org/pub/OpenLDAP/openldap-release/openldap-%{version}.tgz Source0: ftp://ftp.OpenLDAP.org/pub/OpenLDAP/openldap-release/openldap-%{version}.tgz
Source1: slapd.service Source1: slapd.service
Source2: slapd.tmpfiles 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 chmod 0644 %{buildroot}%{_datadir}/openldap-servers/DB_CONFIG.example
# remove files which we don't want packaged # 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} mv %{buildroot}%{_libdir}/openldap/check_password.so{,.tmp}
rm -f %{buildroot}%{_libdir}/openldap/*.so rm -f %{buildroot}%{_libdir}/openldap/*.so
mv %{buildroot}%{_libdir}/openldap/check_password.so{.tmp,} mv %{buildroot}%{_libdir}/openldap/check_password.so{.tmp,}
@ -536,6 +537,9 @@ exit 0
%{_mandir}/man3/* %{_mandir}/man3/*
%changelog %changelog
* Sun Apr 10 2016 Peter Robinson <pbrobinson@fedoraproject.org> 2.4.43-3
- Ensure all libtool archive files are removed (.la)
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.43-2 * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.43-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild