* [PATCH 1/2] systemd: Drop systemd-units package.
@ 2019-06-21 21:11 Stefan Schantl
2019-06-21 21:11 ` [PATCH 2/2] systemd: Enable libseccomp support Stefan Schantl
0 siblings, 1 reply; 2+ messages in thread
From: Stefan Schantl @ 2019-06-21 21:11 UTC (permalink / raw)
To: development
[-- Attachment #1: Type: text/plain, Size: 2796 bytes --]
* Rework build process to use meson and ninja macros.
Signed-off-by: Stefan Schantl <stefan.schantl(a)ipfire.org>
---
systemd/systemd.nm | 61 +++++++++-------------------------------------
1 file changed, 11 insertions(+), 50 deletions(-)
diff --git a/systemd/systemd.nm b/systemd/systemd.nm
index a1c3677d0..25bbd99cf 100644
--- a/systemd/systemd.nm
+++ b/systemd/systemd.nm
@@ -5,7 +5,7 @@
name = systemd
version = 242
-release = 2
+release = 3
maintainer = Stefan Schantl <stefan.schantl(a)ipfire.org>
groups = System/Base
@@ -52,15 +52,16 @@ build
libblkid-devel
libcap-devel
libgcrypt-devel
- libmount-devel
- libuuid-devel
+ libmount-devel >= 2.34-2
+ libuuid-devel >= 2.34-2
m4
- meson
- ninja >= 1.5
+ meson >= 0.50.1
+ ninja >= 1.9.0
pam-devel
pciutils-devel
python3-devel
python3-lxml
+ setup >= 3.0-13
usbutils
vala
xz-devel
@@ -95,10 +96,10 @@ build
build
# Call meson and pass configure options.
- meson --buildtype=plain %{configure_options} . build
+ %{meson} %{configure_options}
# Call ninja to start build
- ninja -v %{PARALLELISMFLAGS} -C build
+ %{meson_build}
end
test
@@ -113,11 +114,8 @@ build
end
install
- # Export destdir.
- export DESTDIR=%{BUILDROOT}
-
- # Call ninja to perform installation
- ninja install -v %{PARALLELISMFLAGS} -C build
+ # Install systemd.
+ %{meson_install}
# Create folder in log to store the journal.
mkdir -pv %{BUILDROOT}/var/log/journal
@@ -242,7 +240,6 @@ packages
python-dbus
python-gobject3
%{name}-libs=%{thisver}
- %{name}-units=%{thisver}
util-linux>=2.19
end
@@ -269,6 +266,7 @@ packages
obsoletes
udev < 183
+ systemd-units <= 242
end
configfiles
@@ -339,43 +337,6 @@ packages
end
end
- # Package information for systemd-units
- package %{name}-units
- summary = Configuration files, directories and installation tool for systemd.
- description
- This package contains all needed configuration files, directories
- and installation / configuration tool for systemd.
- end
-
- prerequires
- /bin/sh
- coreutils
- end
-
- provides
- /bin/systemctl
- end
-
- conflicts
- filesystem < 002
- end
-
- files
- %{sysconfdir}/etc/systemd/system
- %{sysconfdir}/tmpfiles.d
- %{sysconfdir}/bash_completion.d/systemctl-bash-completion.sh
- %{unitdir}
- %{bindir}/systemctl
- %{bindir}/systemd-tmpfiles
- %{mandir}/man1/systemctl.*
- end
-
- script postup
- # Reload service files
- /usr/bin/systemctl daemon-reload > /dev/null 2>&1 || :
- end
- end
-
package %{name}-libs
template LIBS
--
2.20.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH 2/2] systemd: Enable libseccomp support
2019-06-21 21:11 [PATCH 1/2] systemd: Drop systemd-units package Stefan Schantl
@ 2019-06-21 21:11 ` Stefan Schantl
0 siblings, 0 replies; 2+ messages in thread
From: Stefan Schantl @ 2019-06-21 21:11 UTC (permalink / raw)
To: development
[-- Attachment #1: Type: text/plain, Size: 626 bytes --]
Signed-off-by: Stefan Schantl <stefan.schantl(a)ipfire.org>
---
systemd/systemd.nm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/systemd/systemd.nm b/systemd/systemd.nm
index 25bbd99cf..cd82ba000 100644
--- a/systemd/systemd.nm
+++ b/systemd/systemd.nm
@@ -5,7 +5,7 @@
name = systemd
version = 242
-release = 3
+release = 4
maintainer = Stefan Schantl <stefan.schantl(a)ipfire.org>
groups = System/Base
@@ -53,6 +53,7 @@ build
libcap-devel
libgcrypt-devel
libmount-devel >= 2.34-2
+ libseccomp-devel
libuuid-devel >= 2.34-2
m4
meson >= 0.50.1
--
2.20.1
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-06-21 21:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-21 21:11 [PATCH 1/2] systemd: Drop systemd-units package Stefan Schantl
2019-06-21 21:11 ` [PATCH 2/2] systemd: Enable libseccomp support Stefan Schantl
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox