]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- need %patchset_source() as it defines PatchX
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 22 Dec 2006 19:52:11 +0000 (19:52 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    builder.sh -> 1.470

builder.sh

index 320bd9ee6423b34afe566e6db277c4f970d9cf1e..300d4c3470894e9ce5309bd96662c53724774e82 100644 (file)
@@ -401,7 +401,9 @@ cache_rpm_dump () {
 %py_ver ERROR
 %perl_vendorarch ERROR
 %perl_vendorlib ERROR
-%patchset_source() %{nil}
+# damn. need it here! - copied from /usr/lib/rpm/macros.build
+%tmpdir                %(echo "${TMPDIR:-/tmp}")
+%patchset_source(f:b:) %(base=%{-b*}%{!-b*:10000}; start=$((%1 + $base)); end=$((%{?2}%{!?2:%{1}} + $base)); seq -f 'Patch%g:' $start $end > %{tmpdir}/__ps1; seq -f '%{-f*}' %1 %{?2}%{!?2:%{1}} > %{tmpdir}/__ps2; paste %{tmpdir}/__ps{1,2}; rm -f %{tmpdir}/__ps{1,2})%{nil}
 EOF
        case "$RPMBUILD" in
        rpm)
This page took 0.039249 seconds and 4 git commands to generate.