Received: (at submit) by bugs.debian.org; 31 Oct 1996 22:27:19 +0000 Received: (qmail 13869 invoked from smtpd); 31 Oct 1996 22:27:12 -0000 Received: from aurora.cc.monash.edu.au (root@130.194.1.91) by master.debian.org with SMTP; 31 Oct 1996 22:27:10 -0000 Received: from localhost (lamble@localhost [127.0.0.1]) by aurora.cc.monash.edu.au (8.8.2/8.8.0) with SMTP id JAA06056 for submit@bugs.debian.org; Fri, 1 Nov 1996 09:14:57 +1100 (EST) From: Mr Stuart Lamble Message-Id: <199610312214.JAA06056@aurora.cc.monash.edu.au> X-Authentication-Warning: aurora.cc.monash.edu.au: lamble@localhost [127.0.0.1] didn't use HELO protocol To: submit@bugs.debian.org Subject: dpkg-source complains on substitution variables Date: Fri, 01 Nov 96 09:14:57 +1100 X-Mts: smtp Package: dpkg Version: 1.4.0.2 When I was building up libelf0, I tried using ${MAJOR} in debian/control: Package: libelf${MAJOR} ... Package: libelf${MAJOR}-dev in an attempt to not have to edit the control file when libelf 1.0.0 comes out. (yeah, I'm lazy. :) dpkg-source barfs on this, despite having setup substvars properly, claiming that the package has two conflicting names, libelf0 and libelf${MAJOR}. I worked around it by changing the ${MAJOR}s to 0, but as I read the manual, it should know how to use substvars to do the required job. 'Course, I could be showing off my ignorance here. :)