Browse Source

168309 - Removed setup wrappers used for Java packaging and added RPM dependency for java-1.4.2-ibm package.

Nathan Kinder 20 years ago
parent
commit
9321759255
2 changed files with 6 additions and 27 deletions
  1. 2 26
      ldap/cm/Makefile
  2. 4 1
      ldapserver.spec.tmpl

+ 2 - 26
ldap/cm/Makefile

@@ -696,25 +696,6 @@ endif
 # base.inf file
 	$(PERL) -w $(FIX_BASE_INF) $(INSTDIR)/base/base.inf
 
-# Move setup binary to dssetup
-	mv $(INSTDIR)/setup $(INSTDIR)/dssetup
-# Move the new setup wrappers into place
-	cp $(BUILD_ROOT)/ldap/cm/newinst/setup.pl $(INSTDIR)/setup.pl
-	cp $(BUILD_ROOT)/ldap/cm/newinst/setup.sh $(INSTDIR)/setup
-
-# We need to package perl for the new setup wrapper to run
-	mkdir $(INSTDIR)/tmp
-	$(UNZIP) $(INSTDIR)/nsperl/$(NSPERL_ZIP_FILE) \
-	lib/nsPerl5.6.1/\* -d $(INSTDIR)/tmp
-	cp -R $(INSTDIR)/tmp/lib/nsPerl5.6.1 \
-	$(INSTDIR)/tools
-	rm -rf $(INSTDIR)/tmp
-
-# We also need to package the infozip utilities
-	$(UNZIP) -j $(INSTDIR)/tools/infozip.zip \
-	-d $(INSTDIR)/tools
-	rm -f $(INSTDIR)/tools/infozip.zip
-
 # Install LDAP Readme and License files at root of Installation (dated pre-packaging) directory.
 # And, replace the License.txt file that is packaged in nssvrcore.zip.
 	if [ -d $(LDAPDIR)/docs ] ; then \
@@ -731,13 +712,13 @@ ifndef NO_INSTALLER_TAR_FILES
 	| gzip -f > ../$(NS_BUILD_FLAVOR).tar.gz
 # build the combined packages tar file; use h flag to follow symlinks
 ifdef BUILD_SHIP
-	cd $(INSTDIR); $(TAR) cvfh - setup.inf dssetup setup.pl slapd nsperl \
+	cd $(INSTDIR); $(TAR) cvfh - setup.inf setup slapd nsperl \
 	perldap dsktune tools $(ADMIN_IMPORTS) | gzip -f > $(BUILD_SHIP)/$(FTPNAMEGZ)
 ifeq ($(DEBUG), optimize)
 #	$(REMSH) "/u/svbld/bin/preRtm $(BUILD_SHIP) $(FTPNAMEGZ) svbld"
 endif
 else
-	cd $(INSTDIR); $(TAR) cvfh - setup.inf dssetup setup.pl slapd nsperl \
+	cd $(INSTDIR); $(TAR) cvfh - setup.inf setup slapd nsperl \
 	perldap dsktune tools $(ADMIN_IMPORTS) | gzip -f > ../all$(NS_BUILD_FLAVOR).tar.gz
 endif # BUILD_SHIP
 #cp $(INSTDIR).tar.gz  $(BUILD_SHIP)
@@ -892,11 +873,6 @@ _admserv_files: $(INSTDIR) $(ADMSERV_DEP)
 	mv $(ADMSERV_DIR)/../$(ADMIN_SERVER_TARGZ) $(ADMSERV_DIR)
 # make sure our packages are in the setup.inf file
 	$(PERL) -w $(FIX_SETUP_INF) $(ADMSERV_DIR)/setup.inf $(INSTDIR)/setup.inf
-# move setup.exe to dssetup.exe
-	mv $(INSTDIR)/setup.exe $(INSTDIR)/dssetup.exe
-# copy in the new setup wrapper script
-	cp $(BUILD_ROOT)/ldap/cm/newinst/setup.pl $(INSTDIR)
-	cp $(BUILD_ROOT)/ldap/cm/newinstnt/setup.bat $(INSTDIR)
 
 
 #----------------------------  slapd rules --------------------------------------------------

+ 4 - 1
ldapserver.spec.tmpl

@@ -58,7 +58,7 @@ Autoreq: 0
 # Don't automatically generate provides list
 AutoProv: 0
 # Without Requires: something, rpmbuild will abort!
-Requires: perl
+Requires: perl,java-1.4.2-ibm
 Prefix: /opt/%{name}
 
 %description
@@ -109,6 +109,9 @@ if [ "$1" = 0 ] ; then
 fi
 
 %changelog
+* Wed Sep 14 2005 Nathan Kinder <[email protected]> 7.1-2
+- Added a dependency on the java-1.4.2-ibm package
+
 * Tue May 10 2005 Richard Megginson <[email protected]> 7.1-2
 - Change release to 2