Enable /etc/watchdog.d directory for storing test binaries

(RHBZ#657750, RHBZ#831190).
- Update .gitignore.
- Drop Group line, not required by modern RPM.
This commit is contained in:
Richard W.M. Jones 2013-07-30 10:13:53 +01:00
parent bb414e001c
commit b04737be2c
2 changed files with 15 additions and 6 deletions

10
.gitignore vendored
View File

@ -1,4 +1,6 @@
watchdog-5.5.tar.gz *~
/watchdog-5.9.tar.gz
/watchdog-5.12.tar.gz /.build-*
/watchdog-5.13.tar.gz
/clog
/watchdog-*.tar.gz

View File

@ -1,9 +1,8 @@
Summary: Software and/or Hardware watchdog daemon Summary: Software and/or Hardware watchdog daemon
Name: watchdog Name: watchdog
Version: 5.13 Version: 5.13
Release: 1%{?dist} Release: 2%{?dist}
License: GPL+ License: GPL+
Group: System Environment/Daemons
URL: http://sourceforge.net/projects/watchdog/ URL: http://sourceforge.net/projects/watchdog/
Source0: http://downloads.sourceforge.net/watchdog/watchdog-%{version}.tar.gz Source0: http://downloads.sourceforge.net/watchdog/watchdog-%{version}.tar.gz
@ -58,6 +57,7 @@ make %{?_smp_mflags}
%install %install
install -d -m0755 ${RPM_BUILD_ROOT}%{_sysconfdir} install -d -m0755 ${RPM_BUILD_ROOT}%{_sysconfdir}
install -d -m0755 ${RPM_BUILD_ROOT}%{_sysconfdir}/watchdog.d
make DESTDIR=${RPM_BUILD_ROOT} install make DESTDIR=${RPM_BUILD_ROOT} install
install -Dp -m0644 %{name}.sysconfig ${RPM_BUILD_ROOT}%{_sysconfdir}/sysconfig/watchdog install -Dp -m0644 %{name}.sysconfig ${RPM_BUILD_ROOT}%{_sysconfdir}/sysconfig/watchdog
install -Dp -m0644 %{SOURCE4} ${RPM_BUILD_ROOT}%{_unitdir}/watchdog.service install -Dp -m0644 %{SOURCE4} ${RPM_BUILD_ROOT}%{_unitdir}/watchdog.service
@ -100,6 +100,7 @@ fi
%doc AUTHORS ChangeLog COPYING examples/ IAFA-PACKAGE NEWS README TODO README.watchdog.ipmi README.Fedora %doc AUTHORS ChangeLog COPYING examples/ IAFA-PACKAGE NEWS README TODO README.watchdog.ipmi README.Fedora
%config(noreplace) %{_sysconfdir}/watchdog.conf %config(noreplace) %{_sysconfdir}/watchdog.conf
%config(noreplace) %{_sysconfdir}/sysconfig/watchdog %config(noreplace) %{_sysconfdir}/sysconfig/watchdog
%{_sysconfdir}/watchdog.d
%{_sbindir}/watchdog %{_sbindir}/watchdog
%{_sbindir}/wd_identify %{_sbindir}/wd_identify
%{_sbindir}/wd_keepalive %{_sbindir}/wd_keepalive
@ -111,6 +112,12 @@ fi
%changelog %changelog
* Tue Jul 30 2013 Richard W.M. Jones <rjones@redhat.com> - 5.13-2
- Enable /etc/watchdog.d directory for storing test binaries
(RHBZ#657750, RHBZ#831190).
- Update .gitignore.
- Drop Group line, not required by modern RPM.
* Thu May 16 2013 Richard W.M. Jones <rjones@redhat.com> - 5.13-1 * Thu May 16 2013 Richard W.M. Jones <rjones@redhat.com> - 5.13-1
- New upstream version 5.13. - New upstream version 5.13.
- Various documentation fixes (RHBZ#948883). - Various documentation fixes (RHBZ#948883).