summaryrefslogtreecommitdiffhomepage
path: root/pkg/rpm/Makefile
diff options
context:
space:
mode:
authorAndrei Belov <defan@nginx.com>2018-03-01 23:03:03 +0300
committerAndrei Belov <defan@nginx.com>2018-03-01 23:03:03 +0300
commit1f06ccb6d898b6dbb2506e4a893691a67da80130 (patch)
tree8a9116b3728d87f694085402fa3e17c0edb3edf7 /pkg/rpm/Makefile
parent49c58909add5f45db093e57b5094a8780d5cc9a4 (diff)
downloadunit-1f06ccb6d898b6dbb2506e4a893691a67da80130.tar.gz
unit-1f06ccb6d898b6dbb2506e4a893691a67da80130.tar.bz2
Packages: fixed changelog generation for rpms.
Diffstat (limited to 'pkg/rpm/Makefile')
-rw-r--r--pkg/rpm/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/rpm/Makefile b/pkg/rpm/Makefile
index 7f4975cf..37132fa8 100644
--- a/pkg/rpm/Makefile
+++ b/pkg/rpm/Makefile
@@ -151,8 +151,8 @@ rpmbuild/SPECS/unit-%.spec: unit.module.spec.in ../../docs/changes.xml | rpmbuil
-e "s#%%MODULE_POST%%#$${post}#g" \
> $@.tmp ; \
}
- cd ../../docs && make ../build/unit-$*.rpm-changelog
- cat ../../build/unit-$*.rpm-changelog | sed -e \
+ cd ../../docs && make ../build/unit-$(MODULE_SUFFIX_$*).rpm-changelog
+ cat ../../build/unit-$(MODULE_SUFFIX_$*).rpm-changelog | sed -e \
"s/> - $(DEFAULT_VERSION)-$(DEFAULT_RELEASE)/> - $(MODULE_VERSION_$*)-$(MODULE_RELEASE_$*)/" \
>> $@.tmp
mv $@.tmp $@