--- /dev/null
+--- needrestart-2.0/ex/needrestart.conf 2015-04-14 22:56:40.000000000 +0300
++++ needrestart-2.0/ex/needrestart.conf 2014-12-03 00:00:40.000000000 +0200
+@@ -29,10 +29,10 @@
+
+ # Disable sending notifications to user sessions running obsolete binaries
+ # using scripts from $nrconf{notify_d}.
+-#$nrconf{sendnotify} = 0;
++$nrconf{sendnotify} = 0;
+
+ # Restart services (l)ist only, (i)nteractive or (a)utomatically.
+-#$nrconf{restart} = 'i';
++$nrconf{restart} = 'l';
+
+ # Use prefered UI package.
+ #$nrconf{ui} = 'NeedRestart::UI::stdio';
Group: Applications
Source0: https://github.com/liske/needrestart/archive/v%{version}/%{name}-%{version}.tar.gz
# Source0-md5: 21d04f18accdd1fc538b436e2c8dac0c
+Patch0: config.patch
URL: https://fiasko-nw.net/~thomas/tag/needrestart.html
BuildRequires: rpm-perlprov >= 4.1-13
Requires: coreutils
- fully integrated into apt/dpkg using hooks
%prep
-%setup -q -c
+%setup -qc
mv %{name}-*/* .
+%patch0 -p1
%{__rm} perl/lib/NeedRestart/UI/Debconf.pm