question on spec file snippet

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

 



What does this do?

I'm building a perl-tk srpm on redhat enterprise 3.  It's failing to
build because I don't have xorg-x11-devel installed.  But I think the
intention of the below code is to check for what I'm running and then
define a variable that says whether or not to use xorg.  So I'm not
sure what's going on.



%{?dist: %{expand: %%define %dist 1}}

%{?fc1:%define _without_xorg 1}
%{?el3:%define _without_xorg 1}

_______________________________________________
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