User Tools

Site Tools


infrastructure:distfiles

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
infrastructure:distfiles [2014-04-08 21:37] – [Using sources file] gleninfrastructure:distfiles [2014-04-08 21:38] (current) – [Using sources file] glen
Line 21: Line 21:
 Patch10004:     http://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-004 Patch10004:     http://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-004
 Patch10005:     http://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-005 Patch10005:     http://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-005
 +</code>
 +
 +==== patchset macro ====
 +
 +Listing sources in ''.spec'' and ''sources'' file can be annoying and duplicate work.
 +
 +Therefore ''%patchset_source'' macro was created.
 +
 +in Preamble define ''%patchset_source'' to inject to ''.spec'' file extra ''SourceX'' definitions:
 +<code rpmspec>
 +%patchset_source -f http://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-%03g 1 %{patchlevel}
 +</code>
 +
 +this would parse:
 +<code>
 +$ rpm -E '%patchset_source -f http://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-%03g 1 3'
 +Patch10001:     http://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-001
 +Patch10002:     http://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-002
 +Patch10003:     http://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-003 
 </code> </code>
 ===== Manually forcing distfiles fetch ===== ===== Manually forcing distfiles fetch =====
infrastructure/distfiles.txt · Last modified: 2014-04-08 21:38 by glen

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS PLD Linux Driven by DokuWiki