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.

(cherry picked from commit bdb4a0f)

Related: rhbz#1196721
  • Loading branch information
clumens authored and bcl committed Jun 3, 2015
1 parent acd8563 commit 4dec2f6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Makefile.am
Expand Up @@ -94,10 +94,8 @@ api:
doxygen docs/api.cfg

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 4dec2f6

Please sign in to comment.