[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Another dereference question
- From: Valery Reznic <valery_reznic yahoo com>
- To: RPM Package Manager <rpm-list redhat com>
- Subject: Re: Another dereference question
- Date: Wed, 7 Sep 2005 08:16:00 -0700 (PDT)
--- "Steven W. Orr" <steveo syslang net> 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/
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]