Package: gcc-3.4 Version: 3.4.4-8 Severity: wishlist Tags: patch It would be good if gcc-3.4 supports binary-only NMU for porters.
Suppose that the version of gcc-3.4 is 3.4.4-8. If we do binary-only NMU, say, for the port m32r-linux-gnu with version 3.4.4-8.0.1, gcc-m32r-linux-gnu package will depend on gcc-3.4-base (= 3.4.4-8.0.1). It means, we cannot do binary-only NMU (virtually). How about following patch (or something like that)? -- System Information: Debian Release: testing/unstable Kernel: Linux 2.6.11 Versions of packages gcc-3.4 depends on: ii binutils 2.16.1cvs20050902-1 The GNU assembler, linker and bina ii cpp-3.4 3.4.4-8 The GNU C preprocessor ii gcc-3.4-base 3.4.4-8 The GNU Compiler Collection (base ii libc6 2.3.5-6 GNU C Library: Shared libraries an ii libgcc1 1:4.0.1-8 GCC support library Versions of packages gcc-3.4 recommends: ii libc6-dev 2.3.5-6 GNU C Library: Development Librari
* debian/rules.conf (DEB_VERSION): Support binary-only NMU. * debian/rules.patch (DEB_VERSION): Likewise. -- NIIBE Yutaka <[EMAIL PROTECTED]> Fri, 23 Sep 2005 22:31:00 +0900 --- gcc-3.4-3.4.4/debian/rules.conf +++ gcc-3.4-3.4.4/debian/rules.conf @@ -124,7 +124,7 @@ SOURCE_VERSION := $(shell dpkg-parsechangelog | awk '/^Version:/ {print $$NF}') DEB_VERSION := $(shell echo $(SOURCE_VERSION) \ - | sed -e 's/.*://' -e 's/ds[0-9]*//') + | sed -e 's/.*://' -e 's/ds[0-9]*//' -e 's/\.[0-9][^.-]*\.[0-9][^.-]*$$//') # epoch used for gcc versions up to 3.3.x, now used for some remaining # libraries: libgcc1, libobjc1, libffi2, libffi2-dev, libg2c0 EPOCH := 1 --- gcc-3.4-3.4.4/debian/rules.patch +++ gcc-3.4-3.4.4/debian/rules.patch @@ -192,8 +192,8 @@ # debian/rules.conf isn't yet sourced SOURCE_VERSION := $(shell dpkg-parsechangelog | awk '/^Version:/ {print $$NF}') -DEB_VERSION := $(shell echo $(SOURCE_VERSION) | sed 's/ds[0-9]*//') - +DEB_VERSION := $(shell echo $(SOURCE_VERSION) \ + | sed -e 's/.*://' -e 's/ds[0-9]*//' -e 's/\.[0-9][^.-]*\.[0-9][^.-]*$$//') $(patch_stamp)-%: $(patchdir)/%.dpatch if [ -x $< ]; then true; else chmod +x $<; fi if [ -f $@ ]; then \