Skip to content

Commit

Permalink
Merge pull request #1073 from vojtechtrefny/master_fix-bumpver
Browse files Browse the repository at this point in the history
Makefile: Fix generating RPM log during bumpver
  • Loading branch information
vojtechtrefny authored Nov 7, 2024
2 parents bf79df6 + 30d0a0f commit f47a3e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,8 @@ tag:

rpmlog:
@cl=`grep -n %changelog dist/libblockdev.spec.in |cut -d : -f 1 |head -1` ; \
version_release=`tail --lines=+$$(($$cl + 1)) dist/libblockdev.spec.in|head -1|cut -d- -f2-3|sed 's/ //g'` ; \
git log --no-merges --pretty="format:- %s (%ae)" "$$version_release.." |sed -e 's/@.*)/)/' ; \
version=`tail --lines=+$$(($$cl + 1)) dist/libblockdev.spec.in|head -1|cut -d- -f2|sed 's/ //g'` ; \
git log --no-merges --pretty="format:- %s (%ae)" "$$version.." |sed -e 's/@.*)/)/' ; \
echo

shortlog:
Expand Down

0 comments on commit f47a3e9

Please sign in to comment.