powerguru-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Powerguru-commit] [SCM] powerguru branch, master, updated. 96a148b56b41


From: Rob Savoye
Subject: [Powerguru-commit] [SCM] powerguru branch, master, updated. 96a148b56b41570df5c84fc774b9cec80e015433
Date: Sun, 13 Jan 2019 19:21:10 -0500 (EST)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "powerguru".

The branch, master has been updated
       via  96a148b56b41570df5c84fc774b9cec80e015433 (commit)
      from  d39fe3c73c9ebe12dcb0e2b72402038d29bf3cd2 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/powerguru.git/commit/?id=96a148b56b41570df5c84fc774b9cec80e015433


commit 96a148b56b41570df5c84fc774b9cec80e015433
Author: Rob Savoye <address@hidden>
Date:   Sun Jan 13 17:21:01 2019 -0700

    Fix path to spec

diff --git a/rpm/rpm.am b/rpm/rpm.am
index d773bdd..103988a 100644
--- a/rpm/rpm.am
+++ b/rpm/rpm.am
@@ -21,10 +21,13 @@ RPMBUILD_DIR = $(abs_top_builddir)/rpmbuild
 RPMMACROS = $(abs_top_builddir)/.rpmmacros
 RPMSPEC = $(abs_top_builddir)/powerguru.spec
 RPMBUILD_FLAGS = --macros=/usr/lib/rpm/macros:$(RPMMACROS)
+SNAPSHOT_VERSION = 0.5dev
 
-powerguru.spec spec: $(srcdir)/packaging/redhat/powerguru.spec
+powerguru.spec spec: $(srcdir)/rpm/powerguru.spec
        mkdir -p $(RPMBUILD_DIR); \
-       echo "%_topdir $(RPMBUILD_DIR)" > $(RPMMACROS); \
+       echo "%_topdir $(RPMBUILD_DIR)" > $(RPMMACROS)
+
+; \
        snapshot_version=$(SNAPSHOT_VERSION); \
        snapshot_release=`echo $${snapshot_version}|grep "~"|sed 
's/.*~\(.*\)/0.1.\1/'`; \
        snapshot_version=`echo $${snapshot_version}|cut -d"~" -f1`; \
@@ -33,7 +36,7 @@ powerguru.spec spec: $(srcdir)/packaging/redhat/powerguru.spec
        echo "Editing the version in the spec file to be $${snapshot_version} 
$${snapshot_release} for Distribution $${distro}..."; \
        sed -e "s/Version.*/Version:    $${snapshot_version}/" \
            -e "s/Release.*/Release:    $${snapshot_release}/" \
-           -e "s/Distribution:.*/Distribution:   $${distro}/" 
$(srcdir)/packaging/redhat/powerguru.spec > $(RPMSPEC)
+           -e "s/Distribution:.*/Distribution:   $${distro}/" 
$(srcdir)/rpm/powerguru.spec > $(RPMSPEC)
 
 
 # Build an Redhat/Fedora .rpm package

-----------------------------------------------------------------------

Summary of changes:
 rpm/rpm.am | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
powerguru



reply via email to

[Prev in Thread] Current Thread [Next in Thread]