From Fedora Project Wiki

 
(3 intermediate revisions by one other user not shown)
Line 13: Line 13:


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. --[[User:Sherr|Sherr]] ([[User talk:Sherr|talk]]) 14:20, 3 May 2013 (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. --[[User:Sherr|Sherr]] ([[User talk:Sherr|talk]]) 14:20, 3 May 2013 (UTC)
Might be helpful to include a "fedora || rhel" example, like:
'<code>%if 0%{?fedora} >= 20 || 0{?rhel} >= 7</code>'.  --[[User:Petersen|Petersen]] ([[User talk:Petersen|talk]]) 04:04, 25 March 2015 (UTC)
The ''pre'' tag before ''Note the leading period in the definition'' is probably a leftover and should be removed.  --[[User:Goeran|Goeran]] ([[User talk:Goeran|talk]]) 21:19, 30 June 2015 (UTC)

Latest revision as of 21:19, 30 June 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)

The pre tag before Note the leading period in the definition is probably a leftover and should be removed. --Goeran (talk) 21:19, 30 June 2015 (UTC)