mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
rpmdist.mk: Another attempt on try-reinstall
This commit is contained in:
parent
b480090852
commit
14f0d87c69
1 changed files with 5 additions and 2 deletions
|
|
@ -203,7 +203,7 @@ define increase_build_number
|
|||
endef
|
||||
|
||||
define check_reinstall_old
|
||||
true $(addprefix && test -f ,$(DIST_PACKAGE_RPM)) && make rpm-uninstall && make rpm-install
|
||||
(true $(addprefix && test -f ,$(DIST_PACKAGE_RPM)) && make rpm-uninstall && make rpm-install)
|
||||
endef
|
||||
|
||||
md5:
|
||||
|
|
@ -212,6 +212,9 @@ md5:
|
|||
rpm-next-build:
|
||||
@$(increase_build_number)
|
||||
|
||||
try-reinstall:
|
||||
$(check_reinstall_old)
|
||||
|
||||
rpm-update-release:
|
||||
@if [ "`cat HASH`" != "$(HASH)" ]; then \
|
||||
echo + source was modified ;\
|
||||
|
|
@ -238,7 +241,7 @@ rpm-release: rpm-update-release
|
|||
if ! grep -q $(LAST_RPM_VERSION_FILE) CVS/Entries; then \
|
||||
cvs add $(LAST_RPM_VERSION_FILE) ;\
|
||||
fi ;\
|
||||
cvs commit -m "o $(shell cat $(LAST_RPM_VERSION_FILE))" $(LAST_RPM_VERSION_FILE) ;\
|
||||
cvs commit -m "o `cat $(LAST_RPM_VERSION_FILE)`" $(LAST_RPM_VERSION_FILE) ;\
|
||||
else \
|
||||
echo "+ version matches latest released rpm version" ;\
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue