]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
rpm: fix build-root for build-doozer
authorJaroslav Kysela <perex@perex.cz>
Thu, 20 Apr 2017 07:05:18 +0000 (09:05 +0200)
committerJaroslav Kysela <perex@perex.cz>
Thu, 20 Apr 2017 07:05:18 +0000 (09:05 +0200)
rpm/Makefile

index d9396fc14a84739b048fd5323c773354e0dc779c..f899c5f377b9818a0cf44556d18cc46a20c30ac4 100644 (file)
@@ -54,12 +54,12 @@ srpm: ~/rpmbuild/SOURCES tvheadend.spec
 .PHONY: build
 build: ~/rpmbuild/SOURCES tvheadend.spec
        spectool --get-files --sourcedir tvheadend.spec
-       rpmbuild -ba tvheadend.spec
+       rpmbuild --build-root=/project/repo/rpmbuild -ba tvheadend.spec
 
 .PHONY: build-doozer
 build-doozer: build
-       @for a in /project//rpmbuild/RPMS/$$(uname -m)/tvheadend-$(VERSION)-$(RELEASE)*.rpm \
-                 /project//rpmbuild/RPMS/$$(uname -m)/tvheadend-debuginfo-$(VERSION)-$(RELEASE)*.rpm; do \
+       @for a in /project//repo/rpmbuild/RPMS/$$(uname -m)/tvheadend-$(VERSION)-$(RELEASE)*.rpm \
+                 /project//repo/rpmbuild/RPMS/$$(uname -m)/tvheadend-debuginfo-$(VERSION)-$(RELEASE)*.rpm; do \
                name=$$(basename $$a); \
                echo "doozer-versioned-artifact:$$a:rpm:application/x-rpm:$$name"; \
         done