Another dereference question

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

 



I have the following snippet:

Name: guard_stap
Version: 1.0
Release: 1
Prefix: /usr/local/guardium
%define InstRoot %{Prefix}/%{Name}-%{Version}-%{Release}

Then later on I have these refs:

%files
%defattr(-,root,root)
%dir /usr/
%dir /usr/local/
%dir /usr/local/guardium/
%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

When I run the rpmbuild I get these errors:

error: File must begin with "/": %{Prefix}/%{Name}-%{Version}-%{Release}/

Am I doing something wrong or is this not allowed in the %files section?

TIA

--
Time flies like the wind. Fruit flies like a banana. Stranger things have  .0.
happened but none stranger than this. Does your driver's license say Organ ..0
Donor?Black holes are where God divided by zero. Listen to me! We are all- 000
individuals! What if this weren't a hypothetical question?
steveo at syslang.net

_______________________________________________
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