1
0
forked from pool/util-linux
Dominique Leuenberger 2018-05-25 19:33:58 +00:00 committed by Git OBS Bridge
commit 8a6cfeb45d
6 changed files with 42 additions and 24 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue May 22 11:54:13 UTC 2018 - tchvatal@suse.com
- Do not run rfkill-block@.service and rfkill-unblock@service as it
is just template without parameter bsc#1092820 bsc#1093176
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Apr 12 17:09:30 CEST 2018 - sbrabec@suse.com Thu Apr 12 17:09:30 CEST 2018 - sbrabec@suse.com

View File

@ -787,7 +787,7 @@ ln -sf /sbin/service %{buildroot}/usr/sbin/rcfstrim
%if %build_util_linux %if %build_util_linux
%pre %pre
%service_add_pre raw.service rfkill-block@.service rfkill-unblock@.service %service_add_pre raw.service
# Check whether we are upgrading from < Leap 15 or SLE 15 # Check whether we are upgrading from < Leap 15 or SLE 15
# Check for /sbin/su and not /usr/sbin/su, as it exists in all old versions. # Check for /sbin/su and not /usr/sbin/su, as it exists in all old versions.
# (bsc#353876#c7) # (bsc#353876#c7)
@ -796,7 +796,7 @@ if test -e /bin/su && ! ( LANG=C su --help 2>/dev/null) | grep -q -- --pty ; the
fi fi
%post %post
%service_add_post raw.service rfkill-block@.service rfkill-unblock@.service %service_add_post raw.service
%set_permissions %{_bindir}/wall %{_bindir}/write %{_bindir}/mount %{_bindir}/umount %set_permissions %{_bindir}/wall %{_bindir}/write %{_bindir}/mount %{_bindir}/umount
%set_permissions %{_bindir}/su %set_permissions %{_bindir}/su
# Safely migrate PAM files from coreutils to util-linux # Safely migrate PAM files from coreutils to util-linux
@ -832,10 +832,10 @@ fi
rm -f %{_sysconfdir}/default/su.needs_ALWAYS_SET_ROOT rm -f %{_sysconfdir}/default/su.needs_ALWAYS_SET_ROOT
%preun %preun
%service_del_preun raw.service rfkill-block@.service rfkill-unblock@.service %service_del_preun raw.service
%postun %postun
%service_del_postun raw.service rfkill-block@.service rfkill-unblock@.service %service_del_postun raw.service
%verifyscript %verifyscript
%verify_permissions -e %{_bindir}/wall -e %{_bindir}/write -e %{_bindir}/mount -e %{_bindir}/umount %verify_permissions -e %{_bindir}/wall -e %{_bindir}/write -e %{_bindir}/mount -e %{_bindir}/umount
@ -868,16 +868,16 @@ rm -f %{_sysconfdir}/default/su.needs_ALWAYS_SET_ROOT
# fstrim(8) and fstrim.service are from different packages. But it's a oneshot # fstrim(8) and fstrim.service are from different packages. But it's a oneshot
# service (timer), no restart needed on binary updates (unless path is changed). # service (timer), no restart needed on binary updates (unless path is changed).
%pre -n util-linux-systemd %pre -n util-linux-systemd
%{service_add_pre fstrim.service fstrim.timer} %service_add_pre fstrim.service fstrim.timer
%post -n util-linux-systemd %post -n util-linux-systemd
%{service_add_post fstrim.service fstrim.timer} %service_add_post fstrim.service fstrim.timer
%preun -n util-linux-systemd %preun -n util-linux-systemd
%{service_del_preun fstrim.service fstrim.timer} %service_del_preun fstrim.service fstrim.timer
%postun -n util-linux-systemd %postun -n util-linux-systemd
%{service_del_postun fstrim.service fstrim.timer} %service_del_postun fstrim.service fstrim.timer
%if 0%{?suse_version} >= 1330 %if 0%{?suse_version} >= 1330
%pre -n uuidd %pre -n uuidd

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue May 22 11:54:13 UTC 2018 - tchvatal@suse.com
- Do not run rfkill-block@.service and rfkill-unblock@service as it
is just template without parameter bsc#1092820 bsc#1093176
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Apr 12 17:09:30 CEST 2018 - sbrabec@suse.com Thu Apr 12 17:09:30 CEST 2018 - sbrabec@suse.com

View File

@ -787,7 +787,7 @@ ln -sf /sbin/service %{buildroot}/usr/sbin/rcfstrim
%if %build_util_linux %if %build_util_linux
%pre %pre
%service_add_pre raw.service rfkill-block@.service rfkill-unblock@.service %service_add_pre raw.service
# Check whether we are upgrading from < Leap 15 or SLE 15 # Check whether we are upgrading from < Leap 15 or SLE 15
# Check for /sbin/su and not /usr/sbin/su, as it exists in all old versions. # Check for /sbin/su and not /usr/sbin/su, as it exists in all old versions.
# (bsc#353876#c7) # (bsc#353876#c7)
@ -796,7 +796,7 @@ if test -e /bin/su && ! ( LANG=C su --help 2>/dev/null) | grep -q -- --pty ; the
fi fi
%post %post
%service_add_post raw.service rfkill-block@.service rfkill-unblock@.service %service_add_post raw.service
%set_permissions %{_bindir}/wall %{_bindir}/write %{_bindir}/mount %{_bindir}/umount %set_permissions %{_bindir}/wall %{_bindir}/write %{_bindir}/mount %{_bindir}/umount
%set_permissions %{_bindir}/su %set_permissions %{_bindir}/su
# Safely migrate PAM files from coreutils to util-linux # Safely migrate PAM files from coreutils to util-linux
@ -832,10 +832,10 @@ fi
rm -f %{_sysconfdir}/default/su.needs_ALWAYS_SET_ROOT rm -f %{_sysconfdir}/default/su.needs_ALWAYS_SET_ROOT
%preun %preun
%service_del_preun raw.service rfkill-block@.service rfkill-unblock@.service %service_del_preun raw.service
%postun %postun
%service_del_postun raw.service rfkill-block@.service rfkill-unblock@.service %service_del_postun raw.service
%verifyscript %verifyscript
%verify_permissions -e %{_bindir}/wall -e %{_bindir}/write -e %{_bindir}/mount -e %{_bindir}/umount %verify_permissions -e %{_bindir}/wall -e %{_bindir}/write -e %{_bindir}/mount -e %{_bindir}/umount
@ -868,16 +868,16 @@ rm -f %{_sysconfdir}/default/su.needs_ALWAYS_SET_ROOT
# fstrim(8) and fstrim.service are from different packages. But it's a oneshot # fstrim(8) and fstrim.service are from different packages. But it's a oneshot
# service (timer), no restart needed on binary updates (unless path is changed). # service (timer), no restart needed on binary updates (unless path is changed).
%pre -n util-linux-systemd %pre -n util-linux-systemd
%{service_add_pre fstrim.service fstrim.timer} %service_add_pre fstrim.service fstrim.timer
%post -n util-linux-systemd %post -n util-linux-systemd
%{service_add_post fstrim.service fstrim.timer} %service_add_post fstrim.service fstrim.timer
%preun -n util-linux-systemd %preun -n util-linux-systemd
%{service_del_preun fstrim.service fstrim.timer} %service_del_preun fstrim.service fstrim.timer
%postun -n util-linux-systemd %postun -n util-linux-systemd
%{service_del_postun fstrim.service fstrim.timer} %service_del_postun fstrim.service fstrim.timer
%if 0%{?suse_version} >= 1330 %if 0%{?suse_version} >= 1330
%pre -n uuidd %pre -n uuidd

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue May 22 11:54:13 UTC 2018 - tchvatal@suse.com
- Do not run rfkill-block@.service and rfkill-unblock@service as it
is just template without parameter bsc#1092820 bsc#1093176
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Apr 12 17:09:30 CEST 2018 - sbrabec@suse.com Thu Apr 12 17:09:30 CEST 2018 - sbrabec@suse.com

View File

@ -787,7 +787,7 @@ ln -sf /sbin/service %{buildroot}/usr/sbin/rcfstrim
%if %build_util_linux %if %build_util_linux
%pre %pre
%service_add_pre raw.service rfkill-block@.service rfkill-unblock@.service %service_add_pre raw.service
# Check whether we are upgrading from < Leap 15 or SLE 15 # Check whether we are upgrading from < Leap 15 or SLE 15
# Check for /sbin/su and not /usr/sbin/su, as it exists in all old versions. # Check for /sbin/su and not /usr/sbin/su, as it exists in all old versions.
# (bsc#353876#c7) # (bsc#353876#c7)
@ -796,7 +796,7 @@ if test -e /bin/su && ! ( LANG=C su --help 2>/dev/null) | grep -q -- --pty ; the
fi fi
%post %post
%service_add_post raw.service rfkill-block@.service rfkill-unblock@.service %service_add_post raw.service
%set_permissions %{_bindir}/wall %{_bindir}/write %{_bindir}/mount %{_bindir}/umount %set_permissions %{_bindir}/wall %{_bindir}/write %{_bindir}/mount %{_bindir}/umount
%set_permissions %{_bindir}/su %set_permissions %{_bindir}/su
# Safely migrate PAM files from coreutils to util-linux # Safely migrate PAM files from coreutils to util-linux
@ -832,10 +832,10 @@ fi
rm -f %{_sysconfdir}/default/su.needs_ALWAYS_SET_ROOT rm -f %{_sysconfdir}/default/su.needs_ALWAYS_SET_ROOT
%preun %preun
%service_del_preun raw.service rfkill-block@.service rfkill-unblock@.service %service_del_preun raw.service
%postun %postun
%service_del_postun raw.service rfkill-block@.service rfkill-unblock@.service %service_del_postun raw.service
%verifyscript %verifyscript
%verify_permissions -e %{_bindir}/wall -e %{_bindir}/write -e %{_bindir}/mount -e %{_bindir}/umount %verify_permissions -e %{_bindir}/wall -e %{_bindir}/write -e %{_bindir}/mount -e %{_bindir}/umount
@ -868,16 +868,16 @@ rm -f %{_sysconfdir}/default/su.needs_ALWAYS_SET_ROOT
# fstrim(8) and fstrim.service are from different packages. But it's a oneshot # fstrim(8) and fstrim.service are from different packages. But it's a oneshot
# service (timer), no restart needed on binary updates (unless path is changed). # service (timer), no restart needed on binary updates (unless path is changed).
%pre -n util-linux-systemd %pre -n util-linux-systemd
%{service_add_pre fstrim.service fstrim.timer} %service_add_pre fstrim.service fstrim.timer
%post -n util-linux-systemd %post -n util-linux-systemd
%{service_add_post fstrim.service fstrim.timer} %service_add_post fstrim.service fstrim.timer
%preun -n util-linux-systemd %preun -n util-linux-systemd
%{service_del_preun fstrim.service fstrim.timer} %service_del_preun fstrim.service fstrim.timer
%postun -n util-linux-systemd %postun -n util-linux-systemd
%{service_del_postun fstrim.service fstrim.timer} %service_del_postun fstrim.service fstrim.timer
%if 0%{?suse_version} >= 1330 %if 0%{?suse_version} >= 1330
%pre -n uuidd %pre -n uuidd