Rename README.Fedora to README.RHEL on RHEL.

This commit is contained in:
Richard W.M. Jones 2013-08-08 11:01:03 +01:00
parent 1b24981a20
commit 3e1c7f48ef

View File

@ -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 <rjones@redhat.com> - 5.13-3
- Rename README.Fedora to README.RHEL on RHEL.
* 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).