rpms/openldap/devel openldap.spec,1.81,1.82
Jan Šafránek (jsafrane)
fedora-extras-commits at redhat.com
Wed Jul 4 17:10:49 UTC 2007
- Previous message (by thread): rpms/xzgv/FC-6 xzgv-0.8-integer-overflow-fix.diff, NONE, 1.1 xzgv.spec, NONE, 1.1 sources, 1.1, 1.2
- Next message (by thread): rpms/dar/FC-6 dar.spec,1.3,1.4 sources,1.3,1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: jsafrane
Update of /cvs/pkgs/rpms/openldap/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31383
Modified Files:
openldap.spec
Log Message:
fix compat-slapcat compilation
Resolves:246581
Index: openldap.spec
===================================================================
RCS file: /cvs/pkgs/rpms/openldap/devel/openldap.spec,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -r1.81 -r1.82
--- openldap.spec 1 Jul 2007 19:58:38 -0000 1.81
+++ openldap.spec 4 Jul 2007 17:10:13 -0000 1.82
@@ -13,7 +13,7 @@
Summary: The configuration files, libraries, and documentation for OpenLDAP
Name: openldap
Version: %{version_23}
-Release: 5%{?dist}
+Release: 6%{?dist}
License: OpenLDAP
Group: System Environment/Daemons
Source0: ftp://ftp.OpenLDAP.org/pub/OpenLDAP/openldap-release/openldap-%{version_23}.tgz
@@ -432,10 +432,9 @@
rm $RPM_BUILD_ROOT/%{_libdir}/*.so
popd
+mkdir -p $RPM_BUILD_ROOT/%{_libdir}/compat-openldap
pushd openldap-%{compat_version}/build-compat/servers/slapd
- make install-tools DESTDIR=$RPM_BUILD_ROOT libdir=%{_libdir} LIBTOOL="$libtool"
- mv $RPM_BUILD_ROOT/%{_sbindir}/slapcat $RPM_BUILD_ROOT/%{_sbindir}/compat-slapcat
- rm $RPM_BUILD_ROOT/%{_sbindir}/sl*
+ $libtool --mode=install /usr/bin/install -c -s -m 755 slapd $RPM_BUILD_ROOT/%{_libdir}/compat-openldap/slapcat
popd
# Install servers.
@@ -675,7 +674,9 @@
%attr(0755,root,root) %{_libdir}/liblber-2.2.so.*
%attr(0755,root,root) %{_libdir}/libldap-2.2.so.*
%attr(0755,root,root) %{_libdir}/libldap_r-2.2.so.*
-%attr(0755,root,root) %{_sbindir}/compat-slapcat
+%attr(0755,ldap,ldap) %dir %{_libdir}/compat-openldap
+%attr(0755,root,root) %{_libdir}/compat-openldap/slapcat
+
%files servers
%defattr(-,root,root)
@@ -746,6 +747,11 @@
%attr(0644,root,root) %{evolution_connector_libdir}/*.a
%changelog
+* Wed Jul 4 2007 Jan Safranek <jsafranek at redhat.com> 2.3.34-6%{?dist}
+- fix compat-slapcat compilation. Now it can be found in
+ /usr/lib/compat-openldap/slapcat, because the tool checks argv[0]
+ (#246581)
+
* Fri Jun 29 2007 Jan Safranek <jsafranek at redhat.com> 2.3.34-5%{?dist}
- smbk5pwd added (#220895)
- correctly distribute modules between servers and servers-sql packages
- Previous message (by thread): rpms/xzgv/FC-6 xzgv-0.8-integer-overflow-fix.diff, NONE, 1.1 xzgv.spec, NONE, 1.1 sources, 1.1, 1.2
- Next message (by thread): rpms/dar/FC-6 dar.spec,1.3,1.4 sources,1.3,1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list