pck-update: do not check for missing build requirements and source files when pck-update is invoked with the option --list-check
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
This commit is contained in:
parent
75bf9e1ed6
commit
a191a40d35
@ -6,6 +6,11 @@ Changes in version 1.12.2
|
|||||||
Add a few more examples for 'autospec -u' and add a short comment before
|
Add a few more examples for 'autospec -u' and add a short comment before
|
||||||
each example.
|
each example.
|
||||||
|
|
||||||
|
+ update
|
||||||
|
* pck-update - Davide Madrisan:
|
||||||
|
Do not check for missing build requirements and source files when
|
||||||
|
pck-update is invoked with the option '--list-check'.
|
||||||
|
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
|
|
||||||
Changes in version 1.12.1
|
Changes in version 1.12.1
|
||||||
|
@ -1854,7 +1854,7 @@ specfile is newer than srpm (according to modification date)"
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# download and install all the needed build requirements...
|
# download and install all the needed build requirements...
|
||||||
|
if [ "$list_check" = 0 ]; then
|
||||||
# note: it's not possible to directly use the features provided by
|
# note: it's not possible to directly use the features provided by
|
||||||
# rpmlib because they'are bugged (at least in the version 4.0.4)
|
# rpmlib because they'are bugged (at least in the version 4.0.4)
|
||||||
# so we install the necessary 'BuildRequirement's looking at the
|
# so we install the necessary 'BuildRequirement's looking at the
|
||||||
@ -1909,9 +1909,10 @@ cannot install the needed build requirements"
|
|||||||
found ${NOTE}missing BuildRequirement${NORM} \`${NOTE}$f${NORM}'"
|
found ${NOTE}missing BuildRequirement${NORM} \`${NOTE}$f${NORM}'"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
# automatically download the missing source and patch files...
|
# automatically download the missing source and patch files...
|
||||||
|
if [ "$list_check" = 0 ]; then
|
||||||
# get the list of URLs for the source files to download
|
# get the list of URLs for the source files to download
|
||||||
specfile.getvars -s $SRPM_SPECFILE_WITH_PATH --verbatim SPEC_SOURCE
|
specfile.getvars -s $SRPM_SPECFILE_WITH_PATH --verbatim SPEC_SOURCE
|
||||||
|
|
||||||
@ -1950,6 +1951,7 @@ rpmvars.solve "$fullURL" "$SRPM_SPECFILE_WITH_PATH")
|
|||||||
${proxy:+--proxy $proxy} ${proxy_user:+--proxy-user $proxy_user} \
|
${proxy:+--proxy $proxy} ${proxy_user:+--proxy-user $proxy_user} \
|
||||||
--exit-on-err --filenum="$totfilenum" --destdir="$source_dir" "$fullURL"
|
--exit-on-err --filenum="$totfilenum" --destdir="$source_dir" "$fullURL"
|
||||||
done
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
local rpmbuild_opts="\
|
local rpmbuild_opts="\
|
||||||
--define=\"%_srcrpmdir $srpms_dir\" \
|
--define=\"%_srcrpmdir $srpms_dir\" \
|
||||||
|
Loading…
Reference in New Issue
Block a user