Skip to content

Commit

Permalink
Put all mock results into the top-level source dir.
Browse files Browse the repository at this point in the history
This allows us to capture the mock logs in jenkins, among other things.
  • Loading branch information
clumens committed Mar 12, 2015
1 parent 8f06bba commit bdb4a0f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,8 @@ release:
$(MAKE) dist && $(MAKE) tag && git checkout -- $(srcdir)/po/$(PACKAGE_NAME).pot

rc-release: scratch-bumpver scratch
mock -r $(MOCKCHROOT) --buildsrpm --spec ./$(PACKAGE_NAME).spec --sources . || exit 1
cp /var/lib/mock/$(MOCKCHROOT)/result/*src.rpm . || exit 1
mock -r $(MOCKCHROOT) --rebuild *src.rpm || exit 1
cp /var/lib/mock/$(MOCKCHROOT)/result/*.rpm . || exit 1
mock -r $(MOCKCHROOT) --buildsrpm --spec ./$(PACKAGE_NAME).spec --sources . --resultdir $(PWD) || exit 1
mock -r $(MOCKCHROOT) --rebuild *src.rpm --resultdir $(PWD) || exit 1

bumpver: po-pull
@opts="-n $(PACKAGE_NAME) -v $(PACKAGE_VERSION) -r $(PACKAGE_RELEASE) -b $(PACKAGE_BUGREPORT)" ; \
Expand Down

0 comments on commit bdb4a0f

Please sign in to comment.