]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- rpm 4.4.9 and 4.4.2 compatible %clean skipping, should also skip rpm 4.4.9 %install...
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 21 Jan 2008 00:50:45 +0000 (00:50 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    repackage.sh -> 1.18

repackage.sh

index 04a0ed32bd1f2744c9f04ba3fcf00dcc0561aeab..75d3361941120066059a1c0aeebf5a869eaf66d6 100644 (file)
 set -e
 
 rpmbuild() {
+       # use gz payload as time is what we need here, not compress ratio
        set -x
        /usr/bin/rpmbuild \
                --define '_source_payload w9.gzdio' \
-               --define 'clean exit 0; %{nil}' \
-               --define 'check exit 0; %{nil}' \
+               --define '__spec_clean_body %{nil}' \
+               --define 'clean %%clean \
+               exit 0%{nil}' \
+               --define 'check %%check \
+               exit 0%{nil}' \
                ${TARGET:+--target $TARGET} \
                $BCONDS \
                --short-circuit \
This page took 0.03811 seconds and 4 git commands to generate.