From Fedora Project Wiki

Line 15: Line 15:


Might be helpful to include a "fedora || rhel" example, like:
Might be helpful to include a "fedora || rhel" example, like:
<code>%if 0%{?fedora} >= 20 || 0{?rhel} >= 7</code>.  --~~
<code>%if 0%{?fedora} >= 20 || 0{?rhel} >= 7</code>.  --[[User:Petersen|Petersen]] ([[User talk:Petersen|talk]]) 04:04, 25 March 2015 (UTC)

Revision as of 04:04, 25 March 2015


The following metadata was found in MoinMoin that could not be converted to a useful value in MediaWiki:

  • : Note that only one of these conditionals will be true, because only one fc# macro is set at any time.
  • acl: TomCallaway:read,write All:read

Suggested corrections

Common questions talks about "make tag or make build". Should read "fedpkg build". Hno 21:46, 29 October 2010 (UTC)

This document should be edited to make it more clear that the "dist", "rhel", and "el#" macros are only defined by default for EPEL packages and on RHEL 6 and up. Specifically they are not defined on RHEL 5 or below by default, and if you try to use them to build RHEL 5 packages you are going to have a bad time. --Sherr (talk) 14:20, 3 May 2013 (UTC)

Might be helpful to include a "fedora || rhel" example, like: %if 0%{?fedora} >= 20 || 0{?rhel} >= 7. --Petersen (talk) 04:04, 25 March 2015 (UTC)