Keep *.so libraries in %{_libdir}/openldap/

Resolves: #1331484
This commit is contained in:
Matúš Honěk 2016-04-27 18:17:47 +02:00
parent 8291cbaa23
commit ace19e3e36

View File

@ -333,9 +333,6 @@ chmod 0644 %{buildroot}%{_datadir}/openldap-servers/DB_CONFIG.example
# remove files which we don't want packaged
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,}
rm -f %{buildroot}%{_localstatedir}/openldap-data/DB_CONFIG.example
rmdir %{buildroot}%{_localstatedir}/openldap-data
@ -544,6 +541,10 @@ exit 0
%{_mandir}/man3/*
%changelog
* Wed Apr 27 2016 Matus Honek <mhonek@redhat.com> - 2.4.43-4
- Keep *.so libraries in %{_libdir}/openldap/ (#1331484)
- Include AllOp overlay (#1319782)
* Sun Apr 10 2016 Peter Robinson <pbrobinson@fedoraproject.org> 2.4.43-3
- Ensure all libtool archive files are removed (.la)