removed some static libraries from openldap-devel

This commit is contained in:
Jan Zeleny 2010-01-19 14:16:46 +00:00
parent 13d1c21d4e
commit 8375d885af
1 changed files with 5 additions and 4 deletions

View File

@ -11,7 +11,7 @@
Summary: LDAP support libraries
Name: openldap
Version: %{version}
Release: 1%{?dist}
Release: 2%{?dist}
License: OpenLDAP
Group: System Environment/Daemons
Source0: ftp://ftp.OpenLDAP.org/pub/OpenLDAP/openldap-release/openldap-%{version}.tgz
@ -244,7 +244,6 @@ build \
--enable-relay \
--disable-shared \
--disable-dynamic \
--enable-static \
--with-kerberos=k5only \
--enable-overlays=mod
unset LIBS
@ -257,7 +256,6 @@ build \
--disable-slapd \
--enable-shared \
--enable-dynamic \
--enable-static \
--without-kerberos \
--with-pic
popd
@ -381,6 +379,7 @@ mkdir $RPM_BUILD_ROOT/%{_sysconfdir}/openldap/slapd.d
# Remove files which we don't want packaged.
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.a
rm -f $RPM_BUILD_ROOT/%{evolution_connector_libdir}/*.la
rm -f $RPM_BUILD_ROOT/%{evolution_connector_libdir}/*.so*
rm -f $RPM_BUILD_ROOT/%{_libdir}/openldap/*.a
@ -620,7 +619,6 @@ fi
%defattr(-,root,root)
%doc openldap-%{version}/doc/drafts openldap-%{version}/doc/rfc
%attr(0755,root,root) %{_libdir}/libl*.so
%attr(0644,root,root) %{_libdir}/libl*.a
%attr(0644,root,root) %{_includedir}/*
%attr(0644,root,root) %{_mandir}/man3/*
%attr(0755,root,root) %dir %{evolution_connector_prefix}
@ -631,6 +629,9 @@ fi
%attr(0644,root,root) %{evolution_connector_libdir}/*.a
%changelog
* Tue Jan 19 2010 Jan Zeleny <jzeleny@redhat.com> - 2.4.21-2
- removed some static libraries from openldap-devel (#556090)
* Mon Jan 11 2010 Jan Zeleny <jzeleny@redhat.com> - 2.4.21-1
- rebased openldap to 2.4.21
- rebased bdb to 4.8.26