1
0

d/rules: relax checks

This commit is contained in:
2025-08-11 15:24:46 +03:00
parent e23938c6e4
commit 6a04c2c555

8
debian/rules vendored
View File

@@ -304,8 +304,8 @@ COMMA = ,
DEB_SVERSION := $(shell echo $(DEB_VERSION) | sed 's/+b[0-9][0-9]*$$//') DEB_SVERSION := $(shell echo $(DEB_VERSION) | sed 's/+b[0-9][0-9]*$$//')
VERSION := $(shell sed -n 's/^ *VERSION=\(.*\)/\1/p' bfd/configure | head -1 | tr -d \') VERSION = $(shell sed -n 's/^ *VERSION=\(.*\)/\1/p' bfd/configure | head -1 | tr -d \')
DATE := $(shell sed -n 's/.* \([0-9]*\)$$/\1/p' bfd/version.h) DATE = $(shell sed -n 's/.* \([0-9]*\)$$/\1/p' bfd/version.h)
ifneq (,$(DATE)) ifneq (,$(DATE))
# DATE_EXT := .$(DATE) # DATE_EXT := .$(DATE)
endif endif
@@ -328,10 +328,6 @@ endif
is_rc = yes is_rc = yes
is_rc = is_rc =
ifneq ($(DEB_VERSION_UPSTREAM),$(VERSION)$(DATE_EXT))
$(error upstream ($(VERSION)$(DATE_EXT)) and debian ($(DEB_VERSION_UPSTREAM)) version mismatch)
endif
SINGLE_VERSION= -system SINGLE_VERSION= -system
MULTI_VERSION = -multiarch MULTI_VERSION = -multiarch
HPPA64_VERSION= -hppa64 HPPA64_VERSION= -hppa64