mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-19 05:13:56 +01:00
$(TOPDIR), make, scripts: Rename LAST_RPM_VERSION to RELEASES
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
75bc87ad44
commit
74a62bfda9
4 changed files with 13 additions and 13 deletions
|
|
@ -16,9 +16,9 @@ FTP_DIR_MODE ?= 755
|
|||
FTP_HOST ?= ftp.jannet.de
|
||||
FTP_HOST_LOGIN ?= root
|
||||
RPM_VERSION ?= $(DIST_VERSION)
|
||||
LAST_RPM_VERSION_FILE = $(TOPDIR)/LAST_RPM_VERSION$(FLAVOUR_SUFFIX)
|
||||
LAST_RPM_VERSION ?= $(shell $(PKG_SH_EXE) version \
|
||||
-p $(OS)/$(RPM_ARCH) $(LAST_RPM_VERSION_FILE) read | $(SED) 's/-dev//')
|
||||
RELEASES_FILE = $(TOPDIR)/RELEASES$(FLAVOUR_SUFFIX)
|
||||
RELEASES ?= $(shell $(PKG_SH_EXE) version \
|
||||
-p $(OS)/$(RPM_ARCH) $(RELEASES_FILE) read | $(SED) 's/-dev//')
|
||||
RPMBUILD ?= pkgbuild
|
||||
CHECK_CVS_SYNC_BEFORE_RPM_RELEASE ?= true
|
||||
HASH = $(shell $(cvs_files) -z | \
|
||||
|
|
@ -269,8 +269,8 @@ define increase_build_number
|
|||
if [ "$(CHECK_CVS_SYNC_BEFORE_RPM_RELEASE)" = true ]; then \
|
||||
$(check_scm_sync) ;\
|
||||
fi ;\
|
||||
if [ "$(LAST_RPM_VERSION)" != "$(RPM_VERSION)" ]; then \
|
||||
echo "+ no need to increase build number of $(RPM_VERSION), last rpm has $(LAST_RPM_VERSION)" ;\
|
||||
if [ "$(RELEASES)" != "$(RPM_VERSION)" ]; then \
|
||||
echo "+ no need to increase build number of $(RPM_VERSION), last rpm has $(RELEASES)" ;\
|
||||
exit 0 ;\
|
||||
fi ;\
|
||||
echo -n "+ increasing build number to " ;\
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue