public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH] systemd: Update to version 232.
@ 2016-12-01 12:07 Stefan Schantl
  0 siblings, 0 replies; only message in thread
From: Stefan Schantl @ 2016-12-01 12:07 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 3015 bytes --]

* Drop sub-package for compat-libs which will not be provided
  anymore since systemd 230.

* Drop sub-package for python binding, which have been moved to
  an own package.

* Remove unneeded file for X11 and ZSH.

Signed-off-by: Stefan Schantl <stefan.schantl(a)ipfire.org>
---
 systemd/systemd.nm | 42 ++++++++++++------------------------------
 1 file changed, 12 insertions(+), 30 deletions(-)

diff --git a/systemd/systemd.nm b/systemd/systemd.nm
index 760c38e..074440e 100644
--- a/systemd/systemd.nm
+++ b/systemd/systemd.nm
@@ -4,8 +4,8 @@
 ###############################################################################
 
 name       = systemd
-version    = 231
-release    = 2
+version    = 232
+release    = 1
 
 maintainer = Stefan Schantl <stefan.schantl(a)ipfire.org>
 groups     = System/Base
@@ -70,9 +70,7 @@ build
 		PYTHON=%{python3} \
 		--with-sysvinit-path= \
 		--with-sysvrcnd-path= \
-		--enable-introspection \
 		--enable-zlib \
-		--enable-compat-libs \
 		--disable-smack \
 		--disable-backlight \
 		--disable-firstboot \
@@ -86,7 +84,6 @@ build
 		--disable-timesyncd \
 		--disable-timedated \
 		--disable-polkit \
-		--disable-kdbus \
 		--disable-static
 
 	prepare_cmds
@@ -147,9 +144,15 @@ build
 			ln -svf ../system/${i}.target ${i}.target || exit 1
 		done
 
+		# Remove .so file for the shared library, it's not supposed to be used for anything.
+		rm -rvf %{BUILDROOT}%{prefix}/lib/systemd/libsystemd-shared.so
+
 		# Remove tmpfile for X11
 		rm -rfv %{BUILDROOT}/usr/lib/tmpfiles.d/x11.conf
 
+		# Drop X11 related config files
+		rm -rvf %{BUILDROOT}%{sysconfdir}/X11
+
 		# Remove unneeded stuff for xdg
 		rm -rfv %{BUILDROOT}/etc/xdg
 
@@ -157,6 +160,9 @@ build
 		rm -rvf %{BUILDROOT}/etc/rpm
 		rm -rvf %{BUILDROOT}/usr/lib/rpm
 
+		# Drop ZSH related files
+		rm -rvf %{BUILDROOT}%{datadir}/zsh
+
 		# Use journald. Enable the import of kernel messages.
 		# Stop forwarding to a syslog daemon.
 		sed \
@@ -350,6 +356,7 @@ packages
 
 		obsoletes
 			nss-myhostname <= 0.3-3
+			systemd-compat-libs < 230
 		end
 
 		conflicts
@@ -380,30 +387,9 @@ packages
 		end
 	end
 
-	package %{name}-compat-libs
-		summary = systemd compatibility libraries.
-		description
-			Compatibility libraries for systemd. If your package requires this
-			package, you need to update your link options and build.
-		end
-
-		requires
-			%{name}-libs = %{thisver}
-		end
-
-		files
-			%{libdir}/libsystemd-daemon.so.*
-			%{libdir}/libsystemd-login.so.*
-			%{libdir}/libsystemd-journal.so.*
-			%{libdir}/libsystemd-id128.so.*
-		end
-	end
-
 	package %{name}-devel
 		template DEVEL
 
-		requires += %{name}-compat-libs = %{thisver}
-
 		files += %{prefix}/lib/pakfire/macros/
 	end
 
@@ -448,10 +434,6 @@ packages
 		end
 	end
 
-	package python3-%{name}
-		template PYTHON3
-	end
-
 	package %{name}-debuginfo
 		template DEBUGINFO
 	end
-- 
2.7.4


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-12-01 12:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-01 12:07 [PATCH] systemd: Update to version 232 Stefan Schantl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox