Forcing a script to bomb, etc.

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

 



So... a few miscellaneous questions.

First, where is the current authoritative documentation? I've not found %{!? documented anywhere.

Second, is there a guide to what macros are common on all platforms, like %{with and %{without?

Third, can I force an RPM to error with a message is a standard fashion, if it finds (for instance) that it's being built with a combination of incompatible --with options?

Fourth, is it philosophically preferable to have a package build by default with everything, but have the package turn stuff off with --without xxx, or build the smallest supportable package, but turn things on via rpmbuild --with arguments?

Because I recently got flamed for updating proftpd's .spec file to disable most things, and changing the new default behavior to have you turn stuff on individually (even though the top of the comments section of the .spec file says "this is how you build with everything".... RTFSF (RTF-.spec file).

Lastly, where's the documentation on writing and using macros that take arguments?

-Philip

_______________________________________________
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