summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 35cc8cd2b..f3b300ffe 100644
--- a/Makefile
+++ b/Makefile
@@ -92,9 +92,9 @@ tag:
archive: create-archive
+PWDIR=$(shell pwd)
beehive-srpm: create-snapshot
- DIR = $(shell pwd)
- @rpmbuild --define "_sourcedir $(DIR)" --define "_srcrpmdir $(DIR)" --define "_builddir $(BUILDDIR)" --define "_rpmdir $(RPMDIR)" --nodeps -ts anaconda-$(VERSION).tar.bz2
+ @rpmbuild --define "_sourcedir $(PWDIR)" --define "_srcrpmdir $(PWDIR)" --define "_builddir $(PWDIR)" --define "_rpmdir $(PWDIR)" --nodeps -ts anaconda-$(VERSION).tar.bz2
@mv anaconda-$(VERSION)-$(RELEASE).src.rpm src.rpm
src: create-archive