Don't install the old configuration file alongside the new one

- Add bnx2fc to the SUPPORTED_DRIVERS for consistency with previous configuration
This commit is contained in:
Petr Šabata 2013-11-07 11:53:09 +09:00
parent 7a118f8dc1
commit 86f3998a20
2 changed files with 8 additions and 2 deletions

View File

@ -3,7 +3,7 @@
Name: fcoe-utils Name: fcoe-utils
Version: 1.0.29 Version: 1.0.29
Release: 1%{?dist} Release: 2%{?dist}
Summary: Fibre Channel over Ethernet utilities Summary: Fibre Channel over Ethernet utilities
Group: Applications/System Group: Applications/System
License: GPLv2 License: GPLv2
@ -64,6 +64,8 @@ for file in \
debug/*sh debug/*sh
do install -m 755 ${file} %{buildroot}%{_libexecdir}/fcoe/ do install -m 755 ${file} %{buildroot}%{_libexecdir}/fcoe/
done done
# We supply our own config for fcoe.service
rm -f %{buildroot}/%{_sysconfdir}/fcoe/config
%post %post
%systemd_post fcoe.service %systemd_post fcoe.service
@ -86,6 +88,10 @@ done
%{_libexecdir}/fcoe/ %{_libexecdir}/fcoe/
%changelog %changelog
* Thu Nov 07 2013 Petr Šabata <contyk@redhat.com> - 1.0.29-2
- Don't install the old configuration file alongside the new one
- Add bnx2fc to the SUPPORTED_DRIVERS for consistency with previous configuration
* Thu Aug 29 2013 Petr Šabata <contyk@redhat.com> - 1.0.29-1 * Thu Aug 29 2013 Petr Šabata <contyk@redhat.com> - 1.0.29-1
- 1.0.29 bump - 1.0.29 bump

View File

@ -1,5 +1,5 @@
# All supported drivers listed here are loaded when service starts # All supported drivers listed here are loaded when service starts
SUPPORTED_DRIVERS="libfc fcoe" SUPPORTED_DRIVERS="libfc fcoe bnx2fc"
# Add --debug to enable debug messages # Add --debug to enable debug messages
FCOEMON_OPTS="--syslog" FCOEMON_OPTS="--syslog"