Signed-off-by: Sean Hefty <sean.hefty@intel.com>
install-exec-hook:
install -D -m 755 ibacm.init $(DESTDIR)$(sysconfdir)/init.d/ibacm;
-dist-hook: ibacm.spec
+dist-hook:
cp ibacm.spec $(distdir)
License: GPLv2 or BSD
Url: http://www.openfabrics.org/
Source0: http://www.openfabrics.org/downloads/rdmacm/%{name}-%{version}.tar.gz
-Source1: ibacm.init
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libibverbs-devel >= 1.1-1, autoconf, libtool, libibumad-devel
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=%{buildroot} install
-install -D -m 755 %{SOURCE1} %{buildroot}%{_initrddir}/%{name}
+install -D -m 755 ibacm.init %{buildroot}%{_initrddir}/%{name}
%makeinstall
%clean
%{_sbindir}/ibacm
%{_mandir}/man1/*
%{_mandir}/man7/*
-%config(noreplace) %{_sysconfdir}/rdma/*
%{_initrddir}/ibacm
%files devel