pck-update: add a warning message when a requirement is ignored

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
This commit is contained in:
Davide Madrisan 2012-11-01 23:11:39 +01:00
parent 3716f5e0c2
commit 941504de3c
3 changed files with 14 additions and 1 deletions

View File

@ -69,11 +69,21 @@ Changes in version 1.12.6
function is not the expected one (that is a string made by the current
date in the format YYYYMMDD followed by "git").
+ bugfix
* pck-update - Silvan Calarco:
Try to avoid reporting package requirements set with 'Requires:' as build
requirements. Unless not better identified requirements are in 'a(b)' form
don't report them as build requirements to avoid breaking stage1 builds and
causing unneeded circular dependencies.
(patch by Silvan Calarco)
+ improvement
* pck-update - Davide Madrisan:
Add a warning message when a requirement is ignored.
+ update
* po/it/pck-update.po - Davide Madrisan:
Updated.
-------------------------------------------------------------------------------

View File

@ -2252,7 +2252,7 @@ $(echo $solibpath | sed "s|-[0-9.]*\.so|.so|")"
else
# other requirements probably coming from static 'Requires:'
# so don't treat them as build requirements
:
notify.warning $"ignoring requirement: \`${NOTE}$req${NORM}'"
fi
if [ -n "$buildreq" \
-a "${buildreq/%-devel/}" = "$buildreq" ]; then

View File

@ -468,6 +468,9 @@ msgstr "release del nuovo pacchetto non indicata"
msgid "package not found"
msgstr "pacchetto non trovato"
msgid "ignoring requirement"
msgstr "requirement ignorato"
msgid "rpm exited with error code:"
msgstr "rpm è terminato con il codice di errore:"