From d7f6ddcce18b9f889c1b785a39a487851a5a1b32 Mon Sep 17 00:00:00 2001 From: santoshkumar Date: Mon, 30 Sep 2019 10:32:32 +0800 Subject: [PATCH] make bump : Replaced *.spec to package specfilic specfile variable $(SPECFILE). In the submmitter's local pacakge directory can have mulptiple spec file present, or swap file thus to avoid adding multiple specfile in git add better only add package specific specfile. Signed-off-by: santoshkumar --- Makefile.common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.common b/Makefile.common index d7a1ff5..c5b0572 100644 --- a/Makefile.common +++ b/Makefile.common @@ -215,7 +215,7 @@ scanlicense: bump: git pull --rebase $(MAKE) bumpnogit - git add *.spec release + git add $(SPECFILE) release git commit -a -m "version bump from $(shell rpmspec -D '_vendor clr' --srpm -q --queryformat '%{VERSION}-%{RELEASE}\n' $(SPECFILE)) to `rpmspec -D '_vendor clr' --srpm -q --queryformat '%{VERSION}-%{RELEASE}\n' $(SPECFILE)`" #help bumpnogit: Increments the release file by one and does not commit changes.