[node-patches] Change in ovirt-node[master]: build: Fix make publish and snapshot

fabiand at fedoraproject.org fabiand at fedoraproject.org
Mon Jun 30 18:12:05 UTC 2014


Fabian Deutsch has uploaded a new change for review.

Change subject: build: Fix make publish and snapshot
......................................................................

build: Fix make publish and snapshot

Change-Id: I6805616f4d7199f304d56582ca82b3cd8298613b
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M Makefile.am
1 file changed, 2 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/31/29431/1

diff --git a/Makefile.am b/Makefile.am
index 6e0f858..8a72639 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -73,8 +73,7 @@
 
 publish: rpms
 	mkdir -p $(OVIRT_CACHE_DIR)
-	rsync -aq $(shell rpm --eval '%{_rpmdir}')/ $(OVIRT_CACHE_DIR)/ovirt/
-	rsync -aq $(shell rpm --eval '%{_srcrpmdir}')/ $(OVIRT_CACHE_DIR)/ovirt/src
+	rsync -aq $(TMPREPOS)/ $(OVIRT_CACHE_DIR)/ovirt
 	createrepo $(OVIRT_CACHE_DIR)/ovirt
 
 iso: publish
@@ -94,7 +93,7 @@
 	$(MAKE) -C tests/ check-local
 
 snapshot-rpm:
-	make rpm RELEASE_SUFFIX=".$(date --utc +%Y%m%d).git$(git rev-parse --short HEAD)"
+	make rpm RELEASE_SUFFIX=".$$(date --utc +%Y%m%d).git$$(git rev-parse --short HEAD)"
 
 snapshot:
 	eval export $$(grep ^PACKAGE_ configure) ; \


-- 
To view, visit http://gerrit.ovirt.org/29431
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6805616f4d7199f304d56582ca82b3cd8298613b
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>



More information about the node-patches mailing list