###############################################################################
name = systemd
-version = 231
-release = 2
+version = 232
+release = 1
maintainer = Stefan Schantl <stefan.schantl@ipfire.org>
groups = System/Base
PYTHON=%{python3} \
--with-sysvinit-path= \
--with-sysvrcnd-path= \
- --enable-introspection \
--enable-zlib \
- --enable-compat-libs \
--disable-smack \
--disable-backlight \
--disable-firstboot \
--disable-timesyncd \
--disable-timedated \
--disable-polkit \
- --disable-kdbus \
--disable-static
prepare_cmds
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
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 \
obsoletes
nss-myhostname <= 0.3-3
+ systemd-compat-libs < 230
end
conflicts
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
end
end
- package python3-%{name}
- template PYTHON3
- end
-
package %{name}-debuginfo
template DEBUGINFO
end