RE: Relocatable package problem

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

 



On Fri, 6 Aug 2004, Agarwal Deepesh-A19519 wrote:

> I'm using RPM 4.2. I tried the following combination, but still failed :(
> 
> ----------------------------------------
> Prefix: /users/venkatsr/ACE/ACE_wrappers/ace
> 
> %files
> #some README files if required
> %{prefix}/libACE.so.5.3a.1
> ----------------------------------------
> Error it throws:
> error: File must begin with "/": %{prefix}/libACE.so.5.3a.1
>
I do relocatable packages in 4.2, and I just define a macro like:

	%define ace_base /where/ace/goes/by/default

And then do:
	Prefix:  %{ace_base} 
	...
	%files
	%{ace_base}/file1
	...
	%{ace_base}/fileN

Cheers...james


_______________________________________________
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