[yum-git] Makefile
Tim Lauridsen
timlau at linux.duke.edu
Wed Aug 27 18:06:54 UTC 2008
Makefile | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
New commits:
commit 4f133cbe7122335afa807b5ccc6513c11cfbcbc3
Author: Tim Lauridsen <timlau at fedoraproject.org>
Date: Wed Aug 27 20:06:47 2008 +0200
fix the awk voodoo, to do the right thing
diff --git a/Makefile b/Makefile
index eb5cfd3..824fd1f 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ UTILS = package-cleanup debuginfo-install repoclosure repomanage repoquery repo-
UTILSROOT = yum-complete-transaction
VERSION=$(shell awk '/Version:/ { print $$2 }' ${PKGNAME}.spec)
RELEASE=$(shell awk -F%: '/Release:/ { print $$2 }' ${PKGNAME}.spec ')
-SRPM_RELEASE=$(shell awk '/Release:/ { split($$2,a,"%"); print a[1] }')
+SRPM_RELEASE=$(shell awk '/Release:/ { split($$2,a,"%"); print a[1] }' ${PKGNAME}.spec )
SRPM_FILE = ${PKGNAME}-${VERSION}-${SRPM_RELEASE}.src.rpm
WEBHOST = login.dulug.duke.edu
WEBPATH = /home/groups/yum/web/download/yum-utils/
@@ -73,6 +73,10 @@ test-cleanup:
@git checkout master
@git branch -D release-test
+tla-test:
+ @echo "Test"
+ @echo " SRPM : $(SRPM_RELEASE)"
+
upload: archive srpm
@scp ${PKGNAME}-${VERSION}.tar.gz $(WEBHOST):$(WEBPATH)/
@scp ~/rpmbuild/SRPMS/${PKGNAME}-${VERSION}-*.src.rpm $(WEBHOST):$(WEBPATH)/${SRPM_FILE}
More information about the Yum-cvs-commits
mailing list