Using $(CURDIR) to fix the absolute path issue

Change-Id: Ic26edd34a2980fc8cf34514433a7b7076660316e
Signed-off-by: Marco Varlese <marco.varlese@suse.com>
This commit is contained in:
Marco Varlese
2017-11-28 14:50:45 +01:00
committed by Damjan Marion
parent 0a32b60cf0
commit 176fd570e6

View File

@ -44,7 +44,7 @@ RPM:
mkdir -p RPMS SOURCES
cp $(TARBALL) SOURCES/vpp-$(VERSION)-$(RELEASE).tar.xz
rpmbuild -bb \
--define "_topdir $(PWD)" \
--define "_topdir $(CURDIR)" \
--define "_version $(VERSION)" \
--define "_release $(RELEASE)" \
vpp-suse.spec