[Using sources file] --- https://www.pld-linux.org/infrastructure/distfiles?rev=1396985843 +++ https://www.pld-linux.org/infrastructure/distfiles @@ -19,8 +19,27 @@ As you can see, there's no url in that file, to indicate where to fetch, You should have ''SourceX'' with same basename in your ''.spec'': <code rpmspec> 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 + </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> ===== Manually forcing distfiles fetch ===== use ''make-request'' ''-df'' paramter:
Diff URL: https://www.pld-linux.org/infrastructure/distfiles?do=diff&r1=1396985843&r2=1396985933 -- This mail was generated by DokuWiki at https://www.pld-linux.org/ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
