pck-update (-a6): never include in the list of build requirements a self-provided package
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
This commit is contained in:
parent
e682c64fc0
commit
18ab4ff63d
@ -25,6 +25,10 @@ Changes in version 1.9.2
|
|||||||
* pck-update - Davide Madrisan:
|
* pck-update - Davide Madrisan:
|
||||||
Action 6: do support static requirements containing <,>,<=,>=,...
|
Action 6: do support static requirements containing <,>,<=,>=,...
|
||||||
|
|
||||||
|
* pck-update - Davide Madrisan:
|
||||||
|
Action 6: never include in the list of build requirements an rpm provided
|
||||||
|
by the package itself.
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
Changes in version 1.9.1
|
Changes in version 1.9.1
|
||||||
|
@ -2465,8 +2465,13 @@ $(rpm --qf %{name} -qf $solibpath_catch 2>/dev/null)" 2>/dev/null
|
|||||||
rpm -q ${buildreq}-devel &>/dev/null &&
|
rpm -q ${buildreq}-devel &>/dev/null &&
|
||||||
buildreq="$(rpm -q --qf %{name} ${buildreq}-devel)"
|
buildreq="$(rpm -q --qf %{name} ${buildreq}-devel)"
|
||||||
fi
|
fi
|
||||||
|
if [ -z "$(for p in ${SPEC_TARGET[*]}; do
|
||||||
|
# self-provided package
|
||||||
|
[ "$p" = "$buildreq" ] && echo "$p"
|
||||||
|
done)" ]; then
|
||||||
# finally print buildrequires block
|
# finally print buildrequires block
|
||||||
[ "$buildreq" ] && echo "BuildRequires: $buildreq"
|
[ "$buildreq" ] && echo "BuildRequires: $buildreq"
|
||||||
|
fi
|
||||||
done ) >> $frequires
|
done ) >> $frequires
|
||||||
|
|
||||||
notify.note "
|
notify.note "
|
||||||
|
Loading…
Reference in New Issue
Block a user