From 76c87061455af3d8d7d0506b153c140d7ee7b62d Mon Sep 17 00:00:00 2001 From: Lee Thompson Date: Tue, 4 Dec 2012 16:29:01 -0600 Subject: fix rpm mv command when rpm stashes the package in a subdirectory --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index c05f55e5..63fc5eab 100644 --- a/Makefile.am +++ b/Makefile.am @@ -70,7 +70,7 @@ rpm: jq jq_test mkdir -p rpm/SOURCES rpm/BUILD rpm/BUILDROOT rpm/RPMS rpm/SPECS cp jq-$$(cat VERSION).tar.gz rpm/SOURCES/ rpmbuild -tb --define "_topdir ${PWD}/rpm" --define "_prefix ${HOME}" --define "version $$(cat VERSION)" --define "release ${RELEASE}" rpm/SOURCES/jq-$$(cat VERSION).tar.gz - mv rpm/RPMS/* ./ + find rpm/RPMS/ -name "*.rpm" -exec mv {} ./ \; rm -rf rpm dist-clean-local: -- cgit v1.2.3