[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
RE: Relocatable package problem
- From: "Manjula Ramachandra \(mramacha\)" <mramacha cisco com>
- To: "'RPM Package Manager'" <rpm-list redhat com>
- Subject: RE: Relocatable package problem
- Date: Fri, 6 Aug 2004 16:12:04 +0530
Hi,
Use %{prefix} in the %files section.
Don't use the directory again.
Regs,
Manjula
-----Original Message-----
From: rpm-list-bounces@redhat.com [mailto:rpm-list-bounces@redhat.com] On
Behalf Of Agarwal Deepesh-A19519
Sent: Friday, August 06, 2004 4:05 PM
To: 'rpm-list@redhat.com'
Subject: Relocatable package problem
Hi,
I'm building a relocateable package as
http://www.rpm.org/max-rpm/s1-rpm-reloc-prefix-tag.html . I'm trying to
package a library (libACE).
My .spec file looks like
--------------------------------------------
Provides: libACE.so.5.3a.1
Prefix: /users/venkatsr/ACE/ACE_wrappers/ace
%prep
%build
%install
%files
/users/venkatsr/ACE/ACE_wrappers/ace/libACE.so.5.3a.1
---------------------------------------------------------
But when i try installing it somewhere by giving
rpm -i -vv --prefix /tmp/deepesh ACElib-1.0-1.i386.rpm
it fails saying that the package is not-relocatable :(
Even the command
rpm -qp --queryformat '%{DEFAULTPREFIX}\n' TAOlib-1.0-1.i386.rpm
gives error "unknown tag"
TIA,
Deepesh.
_______________________________________________
Rpm-list mailing list
Rpm-list@redhat.com https://www.redhat.com/mailman/listinfo/rpm-list
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]