# when the upstream spec is updated
while read -r filelist; do
sed -E \
- -e 's/\.gz$//; /systemd-cgroups-agent/d; s/import-pubring.gpg/import-pubring.pgp/' \
- -e '/(initctl|runlevel|telinit)/ d' \
- -e 's/systemd-quotacheck.service.8/systemd-quotacheck@.service.8/' \
- -e '/systemd-sysv-generator/d' \
- -e '/rc-local/d' \
+ -e 's/\.gz$//' \
"$filelist" >"/tmp/$(basename "$filelist")"
mount --bind "/tmp/$(basename "$filelist")" "$filelist"
done < <(find "pkg/$PKG_SUBDIR${GIT_SUBDIR:+/$GIT_SUBDIR}" -name "files.*")
--noprep \
--build-in-place \
--with upstream \
+ --without sysvcompat \
$( ((WITH_TESTS)) || echo "--nocheck") \
--define "_topdir /var/tmp" \
--define "_sourcedir $PWD/pkg/$PKG_SUBDIR${GIT_SUBDIR:+/$GIT_SUBDIR}" \