common Makefile.common,1.82,1.83

Dennis Gilmore (ausil) fedora-extras-commits at redhat.com
Mon Nov 19 17:28:42 UTC 2007


Author: ausil

Update of /cvs/extras/common
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17860

Modified Files:
	Makefile.common 
Log Message:
add abilty to specify a user name



Index: Makefile.common
===================================================================
RCS file: /cvs/extras/common/Makefile.common,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -r1.82 -r1.83
--- Makefile.common	18 Nov 2007 21:15:11 -0000	1.82
+++ Makefile.common	19 Nov 2007 17:28:11 -0000	1.83
@@ -439,7 +439,7 @@
 	@$(BUILD_CLIENT) $(SECONDARY_CONFIG) build --scratch --arch-overwrite=$* $(TARGET) '$(CVS_URL)'
 
 
-bodhi: build-check $(COMMON_DIR)/branches clog
+bodhi: build-check $(COMMON_DIR)/branches clog 
 	@if [ ! -x "$(BODHI_CLIENT)" ]; then echo "Must have bodhi-client installed"; exit 1; fi
 	@echo -e "\
 # [ $(NAME)-$(VERSION)-$(RELEASE) ]\n\
@@ -454,12 +454,16 @@
 	@if [ -z "$$EDITOR" ]; then vi bodhi.template; else $$EDITOR bodhi.template; fi
 	@if [ -n "`sed -e '/^#/d' < bodhi.template | diff bodhi.template.orig -`" ]; then \
 		$(BODHI_CLIENT) --new --release $(subst -,,$(BRANCH)) \
-			--file bodhi.template $(NAME)-$(VERSION)-$(RELEASE); \
+			--file bodhi.template $(NAME)-$(VERSION)-$(RELEASE) -u $(BODHI_USER); \
 	else \
 		echo "Bodhi update aborted!"; \
 	fi
 	@rm -f bodhi.template{,.orig} $(NAME).bugs clog
 
+ifndef $(BODHI_USER)
+BODHI_USER=$(USERNAME)
+endif
+
 ifneq (, $(filter F-8 F-7, $(BRANCH)))
 update: bodhi
 endif




More information about the fedora-extras-commits mailing list