RE: Relocatable package problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Use %{prefix} in the %files section.

Don't use the directory again.


Regs,
Manjula 

-----Original Message-----
From: rpm-list-bounces@xxxxxxxxxx [mailto:rpm-list-bounces@xxxxxxxxxx] On
Behalf Of Agarwal Deepesh-A19519
Sent: Friday, August 06, 2004 4:05 PM
To: 'rpm-list@xxxxxxxxxx'
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@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list


_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux