summaryrefslogtreecommitdiffstats
path: root/ldapserver.spec
diff options
context:
space:
mode:
authorRich Megginson <rmeggins@redhat.com>2005-02-04 01:06:44 +0000
committerRich Megginson <rmeggins@redhat.com>2005-02-04 01:06:44 +0000
commit023caab4bdc1d10c501bcb3aa888d5ebdffb10c5 (patch)
treeeaacb381f8fc6c82cb295852e2aaa3ffc7c0a1e3 /ldapserver.spec
parente2bbc6a84abed70debdf203c3b5f76b58428a305 (diff)
downloadds-023caab4bdc1d10c501bcb3aa888d5ebdffb10c5.tar.gz
ds-023caab4bdc1d10c501bcb3aa888d5ebdffb10c5.tar.xz
ds-023caab4bdc1d10c501bcb3aa888d5ebdffb10c5.zip
RPM packaging - set the flag to build java files - use serverroot/setup/setup insetad of serverroot/setup
Diffstat (limited to 'ldapserver.spec')
-rw-r--r--ldapserver.spec6
1 files changed, 3 insertions, 3 deletions
diff --git a/ldapserver.spec b/ldapserver.spec
index d3226784..b33412f3 100644
--- a/ldapserver.spec
+++ b/ldapserver.spec
@@ -33,7 +33,7 @@ ldapserver is an LDAPv3 compliant server.
# build the file structure to package under ldapserver/pkg
# instead of MM.DD/platform
# remove BUILD_DEBUG=optimize to build the debug version
-make BUILD_DEBUG=optimize NO_INSTALLER_TAR_FILES=1 INSTDIR=../../pkg
+make BUILD_JAVA_CODE=1 BUILD_DEBUG=optimize NO_INSTALLER_TAR_FILES=1 INSTDIR=../../pkg
%install
# all we do here is run setup -b to unpack the binaries
@@ -55,7 +55,7 @@ echo yes | ./setup -b $RPM_BUILD_ROOT/opt/ldapserver
# this is our setup script that sets up the initial
# server instances after installation
cd ..
-cp ldap/cm/newinst/setup $RPM_BUILD_ROOT/opt/ldapserver
+cp ldap/cm/newinst/setup $RPM_BUILD_ROOT/opt/ldapserver/setup
%clean
rm -rf $RPM_BUILD_ROOT
@@ -69,7 +69,7 @@ rm -rf $RPM_BUILD_ROOT
%post
echo ""
-echo "Please cd /opt/ldapserver and run ./setup"
+echo "Please cd /opt/ldapserver and run ./setup/setup"
%changelog
* Thu Jan 20 2005 Richard Megginson <rmeggins@redhat.com>