From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Hering Subject: Re: [PATCH] tools/mkrpm: allow custom rpm package name Date: Wed, 30 Jul 2014 16:06:26 +0200 Message-ID: <20140730140626.GA17117@aepfle.de> References: <1406542747-9732-1-git-send-email-olaf@aepfle.de> <53D8EE46.9040400@eu.citrix.com> <1406727739.10402.21.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1406727739.10402.21.camel@kazak.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: George Dunlap , Stefano Stabellini , Ian Jackson , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Wed, Jul 30, Ian Campbell wrote: > I thought RPM allowed multiple packages with the same name (but > different versions) to be installed at the same time already. e.g. the > kernel packages on such systems are just "kernel", in contrast with > Debian which encodes the uname-r into the package name to allow > coinstallation. > > Am I misremembering? Sure. Its very cumbersome to update a single such xen.rpm. And, depending on the branch, they will be all named xen-4.5-0.rpm. After a 'zypper patch' installs a security update for Xen my private xen.rpm packages will be all gone. I have a quick look at mkdeb, it looks like the same change could be applied there. But I dont run Debian so its hard to tell if that approach would work as expected. diff --git a/tools/misc/mkdeb b/tools/misc/mkdeb index 3bbf881..db7a003 100644 --- a/tools/misc/mkdeb +++ b/tools/misc/mkdeb @@ -33,8 +33,8 @@ fi # Fill in the debian boilerplate mkdir -p deb/DEBIAN cat >deb/DEBIAN/control <