Re: %if

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

 



On December 16, 2006 10:04:01 PM +0100 "Marcus Habermehl (BMH1980)" <bmh1980de@xxxxxxxx> wrote:

%ifdef %{prefix}
    %_prefix            %{prefix}
%else
    %_prefix            /usr
%endif

This is only for testing purpose. If this is working, I want to add
macros for sysconfdir and localstatedir depending on the prefix/_prefix
macro.

I have searched in the whole max-rpm book and I have readed some spec
files from SuSE. As I'm understandig it, my code is right.

But it isn't working. So I'm thinking it isn't right. Can you help me?

Please quote any URL, page#, or spec file where you see '%ifdef' used or
documented.  You're probably trying to use a SuSE-specific macro on a
non-SuSE system.

-frank

_______________________________________________
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