Patchwork D3891: packaging: add missing path segments in cp statements in fedora build

login
register
mail settings
Submitter phabricator
Date July 5, 2018, 7:44 a.m.
Message ID <differential-rev-PHID-DREV-c4jgpoq5wom7tthywmfu-req@phab.mercurial-scm.org>
Download mbox | patch
Permalink /patch/32627/
State Superseded
Headers show

Comments

phabricator - July 5, 2018, 7:44 a.m.
durin42 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D3891

AFFECTED FILES
  contrib/packaging/Makefile

CHANGE DETAILS




To: durin42, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/contrib/packaging/Makefile b/contrib/packaging/Makefile
--- a/contrib/packaging/Makefile
+++ b/contrib/packaging/Makefile
@@ -100,8 +100,8 @@ 
 fedora$(1):
 	mkdir -p $$(HGROOT)/packages/fedora$(1)
 	./buildrpm
-	cp $$(HGROOT)/rpmbuild/RPMS/*/* $$(HGROOT)/packages/fedora$(1)
-	cp $$(HGROOT)/rpmbuild/SRPMS/* $$(HGROOT)/packages/fedora$(1)
+	cp $$(HGROOT)/contrib/packaging/rpmbuild/RPMS/*/* $$(HGROOT)/packages/fedora$(1)
+	cp $$(HGROOT)/contrib/packaging/rpmbuild/SRPMS/* $$(HGROOT)/packages/fedora$(1)
 	rm -rf $(HGROOT)/rpmbuild
 
 .PHONY: docker-fedora$(1)