diff options
Diffstat (limited to 'pkg/rpm/Makefile')
-rw-r--r-- | pkg/rpm/Makefile | 4 |
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 $@ |