Hi,
rpms could no longer be built from the new git repository

- holger




commit 02911a66d4f509feba99429ca3dddfbb2630eae2
Author: Holger Teutsch <holger.teut...@web.de>
Date:   Sun Mar 13 13:52:29 2011 +0100

    Med: GNUmakefile: Change hg commands to git commands

diff --git a/GNUmakefile b/GNUmakefile
index 1361870..d8938df 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -29,14 +29,14 @@ RPM_OPTS	= --define "_sourcedir $(RPM_ROOT)" 	\
 
 getdistro = $(shell test -e /etc/SuSE-release || echo fedora; test -e /etc/SuSE-release && echo suse)
 DISTRO ?= $(call getdistro)
-TAG    ?= tip
+TAG    ?= HEAD
 
-hgarchive:
+gitarchive:
 	rm -f $(TARFILE)
-	hg archive -t tbz2 -r $(TAG) $(TARFILE)
+	git archive --format=tar --prefix $(PACKAGE)/ $(TAG) | bzip2 > $(TARFILE)
 	echo `date`: Rebuilt $(TARFILE)
 
-srpm:	hgarchive
+srpm:	gitarchive
 	rm -f *.src.rpm
 	@echo To create custom builds, edit the flags and options in $(PACKAGE).spec first
 	rpmbuild -bs --define "dist .$(DISTRO)" $(RPM_OPTS) $(PACKAGE).spec
_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to