|
|
@@ -33,7 +33,7 @@ Distribution: OpenPKG [PLUS]
|
|
|
Group: Database
|
|
|
License: GPL
|
|
|
Version: 2.1.15
|
|
|
-Release: 20030310
|
|
|
+Release: 20030312
|
|
|
|
|
|
# list of sources
|
|
|
Source0: ftp://ftp.openldap.org/pub/openldap/openldap-release/openldap-%{version}.tgz
|
|
|
@@ -98,12 +98,7 @@ AutoReqProv: no
|
|
|
|
|
|
%install
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
- %{l_shtool} subst -v -s \
|
|
|
- -e "s;^\\(prefix[^=]*=\\).*;\\1 $RPM_BUILD_ROOT%{l_prefix};g" \
|
|
|
- -e "s;^\\(exec_prefix[^=]*=\\).*;\\1 $RPM_BUILD_ROOT%{l_prefix};g" \
|
|
|
- -e "s;^\\(localstatedir[^=]*=\\).*;\\1 $RPM_BUILD_ROOT%{l_prefix}/var/openldap;g" \
|
|
|
- `find . -name Makefile -print`
|
|
|
- %{l_make} %{l_mflags} install
|
|
|
+ %{l_make} %{l_mflags} install DESTDIR="$RPM_BUILD_ROOT"
|
|
|
rm -f $RPM_BUILD_ROOT%{l_prefix}/etc/openldap/*.default
|
|
|
rm -f $RPM_BUILD_ROOT%{l_prefix}/etc/openldap/*/*.default
|
|
|
%{l_shtool} mkdir -f -p -m 755 $RPM_BUILD_ROOT%{l_prefix}/var/openldap
|