Bring back *.la files in %{_libdir}/openldap/

Related: #1331484
This commit is contained in:
Matúš Honěk 2016-05-03 19:12:27 +02:00
parent ace19e3e36
commit a0c7cda8b5

View File

@ -5,7 +5,7 @@
Name: openldap
Version: 2.4.43
Release: 4%{?dist}
Release: 5%{?dist}
Summary: LDAP support libraries
Group: System Environment/Daemons
License: OpenLDAP
@ -332,7 +332,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
find %{buildroot} -type f -name "*.la" -delete
rm -f %{buildroot}%{_libdir}/*.la # because we do not want files in %{_libdir}/openldap/ removed, yet
rm -f %{buildroot}%{_localstatedir}/openldap-data/DB_CONFIG.example
rmdir %{buildroot}%{_localstatedir}/openldap-data
@ -541,6 +541,9 @@ exit 0
%{_mandir}/man3/*
%changelog
* Tue May 3 2016 Matus Honek <mhonek@redhat.com> - 2.4.43-5
- Bring back *.la files in %{_libdir}/openldap/ (#1331484)
* Wed Apr 27 2016 Matus Honek <mhonek@redhat.com> - 2.4.43-4
- Keep *.so libraries in %{_libdir}/openldap/ (#1331484)
- Include AllOp overlay (#1319782)