In the CentOS Hyperscale SIG, we maintain a backport of systemd with
its own rpm spec forked from rawhide.
Let's make it easy to build upstream rpms using the Hyperscale spec
by adding a mkosi hyperscale profile.
[Match]
Distribution=|fedora
Distribution=|centos
+Profiles=!hyperscale
[Build]
Environment=
--- /dev/null
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
+[Match]
+Profiles=hyperscale
+
+[Assert]
+Distribution=centos
+
+[Build]
+Environment=
+ GIT_URL=https://gitlab.com/CentOS/Hyperscale/rpms/systemd.git
+ GIT_BRANCH=c10s-sig-hyperscale
+ GIT_COMMIT=417b671b173ea6271c00a3c605215b5f68795a3a
+ PKG_SUBDIR=hyperscale
--- /dev/null
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
+[Match]
+Distribution=centos
+
+[Distribution]
+Repositories=hyperscale-packages-main