Help needed with macros

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

 



Hi list,

RHAS3, soon 4, rpm-4.2.3-10.

I've got to the stage where I install just about all of my extra stuff
and utilities using spec files and tarballs. Red Hat isn't very good at
supplying utility upgrades. In fact, the only package that I haven't yet
installed as an rpm is OpenLDAP - mine's 2.3.7.

The only useful OpenLDAP 2.2/2.3 spec file I've found to use as an
example is Mandriva's (Mandrake Software). Sassing it out, I've found a
few macros that aren't listed in the Maximum or Guru Labs HOWTOs. Here's
an example, line 48/1719 - e.g., quite near the top:

%{?_with_system: %global build_system 1}
%{?_without_system: %global build_system 0}
%{?_with_modules: %global build_modules 1}
%{?_without_modules: %global build_modules 0}
%{?_with_slp: %global build_slp 1}
%{?_without_slp: %global build_slp 0}

Where can I go to learn more about what "%{?_with[out]_" and "%global"
do? Are these particular to Mandriva's version of rpm?

I guess I can cheese my own spec file without knowing, but knowing would
be nice :)

--Tonni

-- 
mail: tonye@xxxxxxxxxxxxxx
http://www.billy.demon.nl

_______________________________________________
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