From 59c35e89273e75ff9309420e898e38ad190d8c75 Mon Sep 17 00:00:00 2001 From: tgoff0 Date: Fri, 13 Feb 2015 22:35:38 +0000 Subject: [PATCH] Makefile improvements related to building rpms. --- Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 7acc6911..49869213 100644 --- a/Makefile.am +++ b/Makefile.am @@ -48,9 +48,9 @@ dist-hook: # build a source RPM using Fedora ~/rpmbuild dirs .PHONY: rpm -rpm: +rpm: dist rpmdev-setuptree - cp -afv core-*.tar.gz ~/rpmbuild/SOURCES + cp -afv core-@CORE_VERSION@.tar.gz ~/rpmbuild/SOURCES cp -afv packaging/rpm/core.spec ~/rpmbuild/SPECS rpmbuild -bs ~/rpmbuild/SPECS/core.spec