mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
rpmdist.mk: Fix off-by-one bug in rpm-release-reinstall
Introduce --dont-expand-version-macros into projects.py, and use it to postpone version expansion into pkg.sh. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
9ad7fa6484
commit
69de7c53c8
3 changed files with 13 additions and 8 deletions
|
|
@ -393,8 +393,8 @@ build_pkg()
|
|||
local tar_archive=$src_base.tar.bz2
|
||||
local tar_archive_orig=$src_base.orig.tar.bz2
|
||||
local distribution=`os`
|
||||
local RPM_REQUIRES_RUN=`echo $RPM_REQUIRES_RUN | sed "s/__NEXT_VERSION__/$version/g"`
|
||||
local RPM_REQUIRES_DEVEL=`echo $RPM_REQUIRES_DEVEL | sed "s/__NEXT_VERSION__/$version/g"`
|
||||
local RPM_REQUIRES_RUN=`echo $RPM_REQUIRES_RUN | sed "s/__NEXT_VERSION__/$version/g; s/VERSION-REVISION/$version/g; s/VERSION/$version/g"`
|
||||
local RPM_REQUIRES_DEVEL=`echo $RPM_REQUIRES_DEVEL | sed "s/__NEXT_VERSION__/$version/g; s/VERSION-REVISION/$version/g; s/VERSION/$version/g"`
|
||||
|
||||
# --- create source directory tree
|
||||
create_empty_dir $src_tree "Source files compilation directory"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue