From 92d3fc1c3ae76e89ca5053df25f13701f47ab539 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Mar 01 2022 12:05:09 +0000 Subject: import oddjob-0.34.7-5.el9 --- diff --git a/SPECS/oddjob.spec b/SPECS/oddjob.spec index 634e411..2fac7ec 100644 --- a/SPECS/oddjob.spec +++ b/SPECS/oddjob.spec @@ -22,7 +22,7 @@ Name: oddjob Version: 0.34.7 -Release: 4%{?dist} +Release: 5%{?dist} Source0: https://releases.pagure.org/oddjob/oddjob-%{version}.tar.gz Source1: https://releases.pagure.org/oddjob/oddjob-%{version}.tar.gz.asc Summary: A D-Bus service which runs odd jobs on behalf of client applications @@ -186,7 +186,7 @@ touch -r src/oddjob-mkhomedir.conf.in $RPM_BUILD_ROOT/%{_sysconfdir}/dbus-1/syst %post if test $1 -eq 1 ; then - killall -HUP dbus-daemon 2>&1 > /dev/null + killall -HUP dbus-daemon >/dev/null 2>&1 fi %if %{systemd} %systemd_post oddjobd.service @@ -201,7 +201,7 @@ fi %endif %if %{sysvinit} if [ $1 -gt 0 ] ; then - /sbin/service oddjobd condrestart 2>&1 > /dev/null || : + /sbin/service oddjobd condrestart >/dev/null 2>&1 || : fi %endif exit 0 @@ -212,7 +212,7 @@ exit 0 %endif %if %{sysvinit} if [ $1 -eq 0 ] ; then - /sbin/service oddjobd stop > /dev/null 2>&1 + /sbin/service oddjobd stop >/dev/null 2>&1 /sbin/chkconfig --del oddjobd fi %endif @@ -239,7 +239,7 @@ if grep -q %{_libdir}/%{name}/mkhomedir $cfg ; then sed -i 's^%{_libdir}/%{name}/mkhomedir^%{_libexecdir}/%{name}/mkhomedir^g' $cfg fi if test $1 -eq 1 ; then - killall -HUP dbus-daemon 2>&1 > /dev/null + killall -HUP dbus-daemon >/dev/null 2>&1 fi if [ -f /var/lock/subsys/oddjobd ] ; then %{dbus_send} --system --dest=com.redhat.oddjob /com/redhat/oddjob com.redhat.oddjob.reload @@ -247,6 +247,10 @@ fi exit 0 %changelog +* Mon Feb 07 2022 Alexander Bokovoy - 0.34.7-5 +- Fix stdin redirection in RPM scripts + Resolves: rhbz#2041585 + * Mon Aug 09 2021 Mohan Boddu - 0.34.7-4 - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags Related: rhbz#1991688