Skip to content

Commit 6313eb6

Browse files
authored
Merge pull request #446 from cconlon/fenrirOct22_2
Fix rpm target cleanup of previous package builds
2 parents 1bcb85d + 2bf77c3 commit 6313eb6

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎Makefile‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,8 @@ dist:
172172
rpm: dist
173173
@rm -f *.rpm
174174
rpmdev-setuptree
175-
find ~/rpmbuild/RPMS ~/rpmbuild/SRPMS -name "$(PACKAGE)-$(VERSION)*.rpm" | xargs rm -f
175+
find ~/rpmbuild/RPMS ~/rpmbuild/SRPMS \
176+
-name "$(NAME)-$(VERSION)*.rpm" | xargs rm -f
176177
@cp "$(NAME)-$(VERSION).tar.gz" ~/rpmbuild/SOURCES/
177178
@cp rpm/spec.in rpm/spec
178179
@sed -i rpm/spec -e "s/@NAME@/$(NAME)/g"

0 commit comments

Comments
 (0)