- added libhbalinux to Requires (#497605)

- correction of spec file (_initddir -> initrddir)
This commit is contained in:
Jan Zeleny 2009-04-27 11:24:53 +00:00
parent 21b88dff0e
commit 47a58f52c0

View File

@ -1,6 +1,6 @@
Name: fcoe-utils
Version: 1.0.7
Release: 3%{?dist}
Release: 4%{?dist}
Summary: Fibre Channel over Ethernet utilities
Group: Applications/System
@ -11,7 +11,7 @@ Patch0: fcoe-utils-1.0.7-init.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libhbaapi-devel dcbd-devel
Requires: dcbd
Requires: dcbd libhbalinux
Requires(post): chkconfig
Requires(preun): chkconfig initscripts
Requires(postun): initscripts
@ -34,8 +34,8 @@ make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_initddir}
mv $RPM_BUILD_ROOT/etc/init.d/fcoe $RPM_BUILD_ROOT%{_initddir}/fcoe-utils
mkdir -p $RPM_BUILD_ROOT%{_initrddir}
mv $RPM_BUILD_ROOT/etc/init.d/fcoe $RPM_BUILD_ROOT%{_initrddir}/fcoe-utils
rm -rf $RPM_BUILD_ROOT/etc/init.d
@ -72,6 +72,10 @@ fi
%changelog
* Wed Apr 27 2009 Jan Zeleny <jzeleny@redhat.com> - 1.0.7-4
- added libhbalinux to Requires (#497605)
- correction of spec file (_initddir -> _initrddir)
* Wed Apr 8 2009 Jan Zeleny <jzeleny@redhat.com> - 1.0.7-3
- more minor corrections in spec file