RPM Community Forums

Mailing List Message of <rpm-users>

rpm spec: clearing Prefix: to create a non-relocatable subpackage (of a relocatable package)?

From: Andreas Luik <andreas.luik@innovative-navigation.de>
Date: Mon 07 Oct 2013 - 14:02:57 CEST
Message-Id: <zarafa.5252a2f1.2056.19e2d15557a802de@zarafa.innovative-navigation.de>

  I'm trying to create a non-relocatable subpackage from a spec file, where the

main package is relocatable, i.e. has a Prefix: tag.  It is possible to use Prefix:

for subpackages, e.g. to use a different value as for the main package, but I

have not been able to "clear" the main package's prefix setting.  Using the following

spec file:

Name: xxx

Version: 1.0


Prefix: /usr/local



%package sub

Summary: subpackage


%description sub

subpackage test


(Prefix: without a value) generates the error message

error: line xx: Empty tag: Prefix:
Thanks in advance for any suggestions.

Kind regards,
i. A. Andreas Luik
in - innovative navigation GmbH
phone: +49 7154 807171
fax: +49 7154 807154
email: Andreas.Luik@innovative-navigation.de <mailto:Andreas.Luik@innovative-navigation.de> 

in - innovative navigation GmbH, Leibnizstrasse 11, D-70806 Kornwestheim
Geschäftsführer/Managing Directors:
Dr. Thomas Gern, Dr. Martin Sandler, Dr. Reinhard Zimmermann, Uwe Vögele
Handelsregister: Stuttgart HRB 205770

in - innovative navigation GmbH is ISO 9001:2008 certified.

Received on Mon Oct 7 14:45:09 2013
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.