rpmdist.mk, mkspec-wrapper.sh: Use all the required packages, seperated by spaces

This commit is contained in:
Jan Lindemann 2002-07-25 22:00:18 +00:00 committed by Jan Lindemann
commit 609c5b6fb3
2 changed files with 7 additions and 8 deletions

View file

@ -71,15 +71,11 @@ cpmod.dist:
done
touch $@
ifneq ($(RPM_REQUIRED),)
RPM_REQUIRED_FLAG = -R "$(RPM_REQUIRED)"
endif
cpfiles.dist:
mkdir -p $(DIST_SRC_DIR)
cp Makefile $(DIST_SRC_DIR)
cp configure.ac.tmpl $(DIST_SRC_DIR)
sh $(MKSPEC_SH) -V $(RPM_VERSION) -S $(notdir $(PCKG_TAR)) -N $(RPM_PROJECT) $(RPM_REQUIRED_FLAG) \
sh $(MKSPEC_SH) -V $(RPM_VERSION) -S $(notdir $(PCKG_TAR)) -N $(RPM_PROJECT) -R "$(RPM_REQUIRED)" \
-P $(PROJECT) \
> $(DIST_SRC_DIR)/$(RPM_PROJECT)-$(RPM_VERSION).spec
echo $(RPM_VERSION) > $(DIST_SRC_DIR)/VERSION