]> git.pld-linux.org Git - packages/systemd.git/blobdiff - systemd.spec
up to 248.2
[packages/systemd.git] / systemd.spec
index 3fb43ac269ee8bbfe8adf0ed94399c01c5e27895..c2e6496876f2a81d18c3bba27f75f91c0b970d9e 100644 (file)
@@ -30,14 +30,14 @@ Summary:    A System and Service Manager
 Summary(pl.UTF-8):     systemd - zarządca systemu i usług dla Linuksa
 Name:          systemd
 # Verify ChangeLog and NEWS when updating (since there are incompatible/breaking changes very often)
-Version:       248
+Version:       248.2
 Release:       0.1
 Epoch:         1
 License:       GPL v2+ (udev), LGPL v2.1+ (the rest)
 Group:         Base
 #Source0Download: https://github.com/systemd/systemd/releases
 Source0:       https://github.com/systemd/systemd-stable/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: 5f72949ebbc609cb9f07ee05165093fa
+# Source0-md5: a9ef37089c45cd9c80802c30152a7485
 Source1:       %{name}-sysv-convert
 Source2:       %{name}_booted.c
 Source3:       network.service
@@ -57,6 +57,7 @@ Source102:    udev.rules
 Source103:     udev-links.conf
 Source104:     udev-uinput.rules
 Source105:     udev-steam_controller.rules
+Source106:     udev-i2c.rules
 # scripts / helpers
 Source110:     udev-net.helper
 Source111:     start_udev
@@ -164,7 +165,7 @@ Requires:   libgpg-error >= 1.12
 Requires:      libutempter
 Requires:      polkit >= 0.106
 Requires:      rc-scripts >= 0.4.5.3-7
-Requires:      setup >= 2.8.0-2
+Requires:      setup >= 2.10.1
 Requires:      udev-core = %{epoch}:%{version}-%{release}
 Requires:      udev-libs = %{epoch}:%{version}-%{release}
 Requires:      uname(release) >= 3.13
@@ -350,6 +351,7 @@ Summary(pl.UTF-8):  Pliki konfiguracyjne, katalogi i narzędzie instalacyjne dla
 Group:         Base
 Requires(post):        coreutils
 Requires(post):        /bin/awk
+Requires:      less >= 568
 
 %description units
 Basic configuration files, directories and installation tool for the
@@ -635,7 +637,7 @@ Requires:   filesystem >= 3.0-45
 Requires:      kmod >= 15
 Requires:      libblkid >= 2.24
 %{?with_selinux:Requires:      libselinux >= 2.6}
-Requires:      setup >= 2.9.0-3
+Requires:      setup >= 2.10.1
 Requires:      systemd-libs = %{epoch}:%{version}-%{release}
 Requires:      udev-libs = %{epoch}:%{version}-%{release}
 Requires:      uname(release) >= 3.13
@@ -811,6 +813,7 @@ cp -a %{SOURCE101} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/40-alsa-restore.ru
 cp -a %{SOURCE102} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/70-udev-pld.rules
 cp -a %{SOURCE104} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/70-uinput.rules
 cp -a %{SOURCE105} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/70-steam_controller.rules
+cp -a %{SOURCE106} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/70-i2c.rules
 
 # http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames
 ln -s /dev/null $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/80-net-setup-link.rules
@@ -963,11 +966,11 @@ if [ "$1" = "0" ]; then
        %groupremove systemd-journal
 fi
 
-%triggerpostun -- systemd < 1:208-1
+%triggerpostun -- systemd < 1:220-1
+# systemd < 1:208-1
 chgrp -R systemd-journal /var/log/journal
 chmod g+s /var/log/journal
-
-%triggerpostun -- systemd < 1:220-1
+# systemd < 1:220-1
 # https://bugs.freedesktop.org/show_bug.cgi?id=89202
 /bin/getfacl -p /var/log/journal/$(cat /etc/machine-id) | grep -v '^#' | sort -u | /bin/setfacl -R --set-file=- /var/log/journal/$(cat /etc/machine-id) || :
 
@@ -1025,14 +1028,14 @@ if [ $1 -ge 1 ]; then
        /bin/systemctl daemon-reload || :
 fi
 
-%triggerpostun units -- systemd-units < 43-7
+%triggerpostun units -- systemd-units < 1:242
+# systemd-units < 43-7
 # Remove design fialures
 %{__rm} -f %{_sysconfdir}/systemd/system/network.target.wants/ifcfg@*.service || :
 %{__rm} -f %{_sysconfdir}/systemd/system/network.target.wants/network-post.service || :
 %{__rm} -f %{_sysconfdir}/systemd/system/multi-user.target.wants/network-post.service || :
 /bin/systemctl reenable network.service || :
-
-%triggerpostun units -- systemd-units < 1:183
+# systemd-units < 1:183
 /bin/systemctl --quiet enable systemd-udev-settle.service || :
 %{__rm} -f /etc/systemd/system/basic.target.wants/udev-settle.service || :
 # preserve renamed configs
@@ -1044,22 +1047,19 @@ if [ -f /etc/systemd/systemd-logind.conf.rpmsave ]; then
        %{__mv} /etc/systemd/logind.conf{,.rpmnew}
        %{__mv} -f /etc/systemd/systemd-logind.conf.rpmsave /etc/systemd/logind.conf
 fi
-
-%triggerpostun units -- systemd-units < 1:187-3
+# systemd-units < 1:187-3
 if [ -f /etc/sysconfig/rpm ]; then
        . /etc/sysconfig/rpm
        if [ ${RPM_ENABLE_SYSTEMD_SERVICE:-yes} = no ]; then
                echo "disable *" >>%{_sysconfdir}/systemd/system-preset/default.preset
        fi
 fi
-
-%triggerpostun units -- systemd-units < 1:208-9
+# systemd-units < 1:208-9
 # remove buggy symlink
 if [ -L /etc/systemd/system/getty.target.wants/getty@.service ] ; then
        rm -f /etc/systemd/system/getty.target.wants/getty@.service || :
 fi
-
-%triggerpostun units -- systemd-units < 1:242
+# systemd-units < 1:242
 if [ -L /var/lib/systemd/timesync ] ; then
        rm -f /var/lib/systemd/timesync || :
 fi
@@ -1117,13 +1117,14 @@ if [ "$2" = 0 ]; then
        /sbin/start_udev || exit 0
 fi
 
-%triggerpostun -n udev-core -- udev < 108
+%triggerpostun -n udev-core -- udev < 165
+# udev < 108
 %{__sed} -i -e 's#IMPORT{program}="/sbin/#IMPORT{program}="#g' /etc/udev/rules.d/*.rules
 %if "%{_lib}" != "lib"
 %{__sed} -i -e 's#/%{_lib}/udev/#/lib/udev/#g' /etc/udev/rules.d/*.rules
 %endif
 
-%triggerpostun -n udev-core -- udev < 165
+# udev < 165
 /bin/udevadm info --convert-db
 
 %post -n udev-core
@@ -2083,6 +2084,7 @@ fi
 %attr(755,root,root) /bin/oomctl
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/oomd.conf
 %attr(755,root,root) /lib/systemd/systemd-oomd
+%{systemdunitdir}/dbus-org.freedesktop.oom1.service
 %{systemdunitdir}/systemd-oomd.service
 %{_datadir}/dbus-1/system-services/org.freedesktop.oom1.service
 %{_datadir}/dbus-1/system.d/org.freedesktop.oom1.conf
@@ -2301,6 +2303,7 @@ fi
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/70-udev-pld.rules
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/70-uinput.rules
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/70-steam_controller.rules
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/70-i2c.rules
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/80-net-setup-link.rules
 
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/udev.conf
This page took 0.04431 seconds and 4 git commands to generate.