mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
rpmdist.mk: Next attempt
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
2037a49269
commit
43102d8477
1 changed files with 2 additions and 2 deletions
|
|
@ -137,7 +137,7 @@ $(DIST_PCKG_SRPM): $(DIST_PCKG_DIR)/$(PCKG_TAR)
|
|||
|
||||
$(DIST_PCKG_RPM): $(DIST_PCKG_DIR)/$(PCKG_TAR)
|
||||
if [ $< -nt $(RPMS_DIR)/$(notdir $@) ]; then $(RPMBUILD) -tb $<; fi
|
||||
cp $(RPMS_DIR)/$(PCKG_RPM_RUN_I386) $(dir $@)/
|
||||
cp $(addprefix $(RPMS_DIR)/,$(notdir $(DIST_PCKG_RPM))) $(dir $@)/
|
||||
|
||||
$(DIST_PCKG_DIR)/CURRENT_%: $(TOPDIR)/VERSION
|
||||
echo $(CURRENT_$*) > $@
|
||||
|
|
@ -251,7 +251,7 @@ rpm-check-release:
|
|||
fi
|
||||
|
||||
rpm-release: rpm-update-release
|
||||
@if ! grep -q "^$(LAST_RPM_VERSION)\$" VERSION; then \
|
||||
@if ! grep -q "^$(LAST_RPM_VERSION)$$" VERSION; then \
|
||||
$(check_cvs_sync) ;\
|
||||
echo "+ version $(RPM_VERSION) doesn't match latest released rpm version "\
|
||||
"$(LAST_RPM_VERSION), building a new release" ;\
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue