mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
opensuse: Drop workarounds
None of these should be needed anymore.
This commit is contained in:
@@ -57,17 +57,6 @@ if ((COVERAGE)); then
|
||||
MKOSI_CFLAGS="$MKOSI_CFLAGS -fprofile-dir=/coverage"
|
||||
fi
|
||||
|
||||
# TODO: Drop when the spec is fixed (either the patch is adapted or not applied when building for upstream).
|
||||
sed --in-place '/0009-pid1-handle-console-specificities-weirdness-for-s390.patch/d' "pkg/$PKG_SUBDIR${GIT_SUBDIR:+/$GIT_SUBDIR}/systemd.spec"
|
||||
|
||||
# TODO: Drop when the opensuse spec uses README.md instead of README.testsuite.
|
||||
sed --in-place 's/README.testsuite/README.md/' "pkg/$PKG_SUBDIR${GIT_SUBDIR:+/$GIT_SUBDIR}/systemd.spec"
|
||||
|
||||
# TODO: Drop when https://bugzilla.opensuse.org/show_bug.cgi?id=1236901 is resolved.
|
||||
sed '/%buildroot/d' /usr/lib/rpm/macros >macros
|
||||
mount --bind "$PWD/macros" /usr/lib/rpm/macros
|
||||
rm macros
|
||||
|
||||
build() {
|
||||
IFS=
|
||||
# shellcheck disable=SC2046
|
||||
|
||||
@@ -11,9 +11,6 @@ if [[ ! -f "pkg/$PKG_SUBDIR${GIT_SUBDIR:+/$GIT_SUBDIR}/systemd.spec" ]]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# TODO: Drop when the spec is fixed (either the patch is adapted or not applied when building for upstream).
|
||||
sed --in-place '/0009-pid1-handle-console-specificities-weirdness-for-s390.patch/d' "pkg/$PKG_SUBDIR${GIT_SUBDIR:+/$GIT_SUBDIR}/systemd.spec"
|
||||
|
||||
mkosi-chroot \
|
||||
rpmspec \
|
||||
--with upstream \
|
||||
|
||||
Reference in New Issue
Block a user