From 3e1c7f48ef20fe5c7c54d1ed5e4002ccc574b6a8 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 8 Aug 2013 11:01:03 +0100 Subject: [PATCH] Rename README.Fedora to README.RHEL on RHEL. --- watchdog.spec | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/watchdog.spec b/watchdog.spec index 3aba5e3..b5b5a57 100644 --- a/watchdog.spec +++ b/watchdog.spec @@ -1,7 +1,7 @@ Summary: Software and/or Hardware watchdog daemon Name: watchdog Version: 5.13 -Release: 2%{?dist} +Release: 3%{?dist} License: GPL+ URL: http://sourceforge.net/projects/watchdog/ @@ -47,6 +47,9 @@ expiration) initiated by the BMC. cp %{SOURCE2} . cp %{SOURCE3} . +%if 0%{?rhel} +mv README.Fedora README.RHEL +%endif mv README README.orig iconv -f ISO-8859-1 -t UTF-8 < README.orig > README @@ -99,7 +102,12 @@ fi %files -%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 +%if 0%{?rhel} +%doc README.RHEL +%else +%doc README.Fedora +%endif %config(noreplace) %{_sysconfdir}/watchdog.conf %config(noreplace) %{_sysconfdir}/sysconfig/watchdog %{_sysconfdir}/watchdog.d @@ -114,6 +122,9 @@ fi %changelog +* Thu Aug 8 2013 Richard W.M. Jones - 5.13-3 +- Rename README.Fedora to README.RHEL on RHEL. + * Tue Jul 30 2013 Richard W.M. Jones - 5.13-2 - Enable /etc/watchdog.d directory for storing test binaries (RHBZ#657750, RHBZ#831190).