fix rpm mv command when rpm stashes the package in a subdirectory
This commit is contained in:
1 parent
277249ffe6
commit
76c8706145
1 file changed
+1
-1
+1
-1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user