76fa8b1172
It is not that easy to ship find-package as part of rpm-build. We have to drop find-package from the filelist of rpm as well. For this change to enter Sisyphus, both rpm-build and rpm have to be changed and rebuilt in their own base build chroots. If rpm-build is built to include find-package first, rpm is uninstallable in the base chroot due to a misconflict, so it cannot be rebuilt. If rpm is built to exclude find-package first, it disappears from the base chroot altogether, making rpm-build break, so no package can be built as well.
17 lines
314 B
Bash
Executable File
17 lines
314 B
Bash
Executable File
#!/bin/sh -efu
|
|
|
|
. @RPMCONFIGDIR@/rpmb-functions
|
|
. @RPMCONFIGDIR@/rpmb-find-package
|
|
|
|
SystemdServiceReq()
|
|
{
|
|
local bin
|
|
|
|
sed -n 's|^[[:space:]]*Exec[^=]*=[[:space:]]*[@:+!]*\([^[:space:]@:+!-][^[:space:]]*\).*|\1|p' "$1" |
|
|
while read bin; do
|
|
FindPackage "$1" "$bin"
|
|
done
|
|
}
|
|
|
|
ArgvFileAction SystemdServiceReq "$@"
|