On 08/31/2015 04:00 PM, Daniel Kreling wrote: > Adding support for SuSE supportconfig plugin to the iprutils spec file. > > Signed-off-by: Daniel Kreling <dbkrel...@linux.vnet.ibm.com> > --- > spec/iprutils.spec | 11 ++++++++++- > 1 file changed, 10 insertions(+), 1 deletion(-) > > diff --git a/spec/iprutils.spec b/spec/iprutils.spec > index 971d719..43819fe 100644 > --- a/spec/iprutils.spec > +++ b/spec/iprutils.spec > @@ -102,6 +102,10 @@ Static version of some tools of iprutils. > ## > %install > %{__make} DESTDIR=%{buildroot} install > +%if 0%{?suse_version} > +mkdir -p %{buildroot}/usr/lib/supportconfig/plugins > +%{__mv} %{buildroot}/%{_sbindir}/iprsos > %{buildroot}/usr/lib/supportconfig/plugins
Rather than moving the file there, let's just copy it into the plugin directory. > +%endif > > ## > ## post > @@ -255,12 +259,17 @@ fi > %{_sbindir}/iprupdate > %{_sbindir}/iprinit > %{_sbindir}/iprdbg > -%{_sbindir}/iprsos > > %if 0%{?rhel} > %{python_sitelib}/sos/plugins/* > %endif > > +%if 0%{?suse_version} > +/usr/lib/supportconfig/plugins/iprsos > +%else > +%{_sbindir}/iprsos > +%endif I'd like to always have iprsos in the sbin directory for consistency. Can you fix up these couple of items? Thanks! Brian > + > %{_mandir}/man8/* > %{_sysconfdir}/ha.d > %{_sysconfdir}/ha.d/resource.d > -- Brian King Power Linux I/O IBM Linux Technology Center ------------------------------------------------------------------------------ _______________________________________________ Iprdd-devel mailing list Iprdd-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/iprdd-devel