Re: Another dereference question

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

 




--- "Steven W. Orr" <steveo@xxxxxxxxxxx> wrote:

You can change it as following:

ADD:
%define MY_PREFIX /usr/local/guardium
> I have the following snippet:
> 
> Name: guard_stap
> Version: 1.0
> Release: 1

CHANGE:
> Prefix: /usr/local/guardium
< Prefix: %{MY_PREFIX}
> %define InstRoot
> %{MY_PREFIX}/%{Name}-%{Version}-%{Release}
> 
> Then later on I have these refs:
> 
> %files
> %defattr(-,root,root)
DELETE:
> %dir /usr/ 
> %dir /usr/local/
> %dir /usr/local/guardium/
END OF DELETE
> %dir %{InstRoot}/
> %dir %{InstRoot}/trace_files/
> %dir %{InstRoot}/traceinstall/
> %dir %{InstRoot}/traceinstall/db2/
> %dir %{InstRoot}/traceinstall/db2/unix/
> %dir %{InstRoot}/traceinstall/ora/
> %dir %{InstRoot}/traceinstall/ora/unix/
> %dir %{InstRoot}/traceinstall/sybase/
> %dir %{InstRoot}/traceinstall/sybase/unix/
> %{InstRoot}/guard_hnt
> %{InstRoot}/guard_sof64
> %{InstRoot}/guard_sof32
> %{InstRoot}/guard_stap
> %{InstRoot}/guard_tap.ini
> %{InstRoot}/guard_tee
> %{InstRoot}/uninstall.sh

May be you need to strip trailing slash from the dir
names too.

Valery


	
		
______________________________________________________
Click here to donate to the Hurricane Katrina relief effort.
http://store.yahoo.com/redcross-donate3/

_______________________________________________
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