Bug#635076: llvm-2.7: diff for NMU version 2.7-6.2

Stephane Glondu glondu at debian.org
Fri Jul 22 11:49:08 UTC 2011


Package: llvm-2.7
Version: 2.7-6.1
Severity: normal
Tags: patch pending

Dear maintainer,

I've prepared an NMU for llvm-2.7 (versioned as 2.7-6.2) and
uploaded it to DELAYED/1. Please feel free to tell me if I
should delay it longer.

Regards.
diff -u llvm-2.7-2.7/debian/changelog llvm-2.7-2.7/debian/changelog
--- llvm-2.7-2.7/debian/changelog
+++ llvm-2.7-2.7/debian/changelog
@@ -1,3 +1,12 @@
+llvm-2.7 (2.7-6.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * debian/packages.d/llvm.mk: fallback to 0 when computing the previous
+    Debian revision fails, to generate the versioned dependency on
+    llvm-priv-dev
+
+ -- Stéphane Glondu <glondu at debian.org>  Fri, 22 Jul 2011 12:14:39 +0200
+
 llvm-2.7 (2.7-6.1) unstable; urgency=low
 
   * Non-maintainer upload.
diff -u llvm-2.7-2.7/debian/control llvm-2.7-2.7/debian/control
--- llvm-2.7-2.7/debian/control
+++ llvm-2.7-2.7/debian/control
@@ -6,7 +6,7 @@
 Build-Depends: debhelper (>= 6.0.0), flex, bison, dejagnu, tcl8.5, expect,
     autoconf, automake1.9, perl, libtool, doxygen, chrpath, texinfo,
     sharutils, autotools-dev (>= 20060702.1), libffi-dev (>= 3.0.9),
-    lsb-release, patchutils, diffstat, lzma, llvm-2.7-priv-dev (>= 2.7-) [alpha amd64 armel hppa hurd-i386 i386 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 sparc], ccache, ocaml-nox (>= 3.11.2), ocaml-best-compilers | ocaml-nox, dh-ocaml (>= 0.9.1)
+    lsb-release, patchutils, diffstat, lzma, llvm-2.7-priv-dev (>= 2.7-0) [alpha amd64 armel hppa hurd-i386 i386 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 sparc], ccache, ocaml-nox (>= 3.11.2), ocaml-best-compilers | ocaml-nox, dh-ocaml (>= 0.9.1)
 Build-Conflicts: oprofile
 Standards-Version: 3.9.1
 Homepage: http://www.llvm.org/
diff -u llvm-2.7-2.7/debian/packages.d/llvm.mk llvm-2.7-2.7/debian/packages.d/llvm.mk
--- llvm-2.7-2.7/debian/packages.d/llvm.mk
+++ llvm-2.7-2.7/debian/packages.d/llvm.mk
@@ -29,7 +29,7 @@
 
 ifeq (Debian,$(OS))
   ifeq (yes,$(shell dpkg --compare-versions $(VERSION) gt $(UVERSION)-1 && echo yes))
-    llvm-priv-dev_version := $(UVERSION)-$(shell expr $(subst $(UVERSION)-,,$(VERSION)) - 1)
+    llvm-priv-dev_version := $(UVERSION)-$(shell expr $(subst $(UVERSION)-,,$(VERSION)) - 1 || echo 0)
     BUILDDEPS := llvm-$(UVERSION)-priv-dev (>= $(llvm-priv-dev_version)) [$(debian_supported_archs)], $(BUILDDEPS)
   endif
 endif
@@ -176 +175,0 @@
-





More information about the Pkg-llvm-team mailing list