d/control: cleanup Breaks/Conflicts/Replaces
This commit is contained in:
25
debian/rules.conf
vendored
25
debian/rules.conf
vendored
@@ -589,22 +589,6 @@ endif
|
||||
arch_gnutype_map = $(DEB_TARGET_ARCH)=$(TARGET_ALIAS)
|
||||
endif # cross compiler
|
||||
|
||||
BASE_BREAKS := gnat (<< 7)
|
||||
# these would need proper updates, and are only needed for upgrades
|
||||
ifneq (,$(filter $(distrelease),stretch jessie trusty xenial bionic))
|
||||
BASE_BREAKS :=
|
||||
endif
|
||||
|
||||
# FIXME: can these be dropped? In the end the libgcc_s.so.1 remained in the same location.
|
||||
ifneq (,$(filter $(DEB_HOST_ARCH), arm64 s390x sparc64))
|
||||
ifeq (,$(filter $(distrelease), jessie stretch buster trusty xenial bionic))
|
||||
LIBGCC_BREAKS := libgcc-9-dev (<< 9.2.1-26), libgcc-8-dev (<< 8.3.0-27), libgcc-7-dev (<< 7.5.0-4),
|
||||
endif
|
||||
endif
|
||||
ifneq (,$(filter $(distrelease),sid bullseye focal))
|
||||
LIBGCC_BREAKS += cryptsetup-initramfs (<< 2:2.2.2-3~),
|
||||
endif
|
||||
|
||||
# The numeric part of the gcc version number (x.yy.zz)
|
||||
NEXT_GCC_VERSION := $(shell echo $(GCC_VERSION) | \
|
||||
awk -F. '{OFS="."; if (NF==2) $$3=1; else $$NF += 1; print}')
|
||||
@@ -1037,8 +1021,6 @@ substvars-file: control-file
|
||||
echo 'dep:libcxxbiarchdev=$(libstdc++biarchdev)'; \
|
||||
echo 'dep:libcxxbiarchdbg=$(libstdc++biarchdbg)'; \
|
||||
echo 'dep:libgnat=$(LIBGNAT_DEP)'; \
|
||||
echo 'base:Breaks=$(BASE_BREAKS)'; \
|
||||
echo 'libgcc:Breaks=$(LIBGCC_BREAKS)'; \
|
||||
echo 'target:suffix=-$(subst _,-,$(TARGET_ALIAS))'; \
|
||||
) > debian/substvars.local.tmp
|
||||
ifneq (,$(filter $(DEB_TARGET_ARCH), $(multilib_archs)))
|
||||
@@ -1205,13 +1187,6 @@ endif
|
||||
ifeq ($(DEB_HOST_ARCH),hppa)
|
||||
echo 'dep:prctl=prctl' >> debian/substvars.local.tmp
|
||||
endif
|
||||
ifeq ($(derivative)-$(DEB_HOST_ARCH),Debian-amd64)
|
||||
echo 'confl:lib32=libc6-i386 (<< 2.9-22)' >> debian/substvars.local.tmp
|
||||
endif
|
||||
ifeq ($(with_multiarch_lib),yes)
|
||||
echo 'multiarch:breaks=gcc-4.3 (<< 4.3.6-1), gcc-4.4 (<< 4.4.6-4), gcc-4.5 (<< 4.5.3-2)' >> debian/substvars.local.tmp
|
||||
endif
|
||||
echo 'golang:Conflicts=golang-go (<< 2:1.3.3-1ubuntu2)' >> debian/substvars.local.tmp
|
||||
ifeq ($(add_built_using),yes)
|
||||
echo "Built-Using=$(shell dpkg-query -f '$${source:Package} (= $${source:Version}), ' -W gcc$(pkg_ver)-source)" \
|
||||
>> debian/substvars.local.tmp
|
||||
|
Reference in New Issue
Block a user