[lxc-devel] [PATCH] lxc.spec: adjust for move of libexecdir/lxc-init to sbin/lxc.init

Dwight Engen dwight.engen at oracle.com
Tue Apr 1 11:43:31 UTC 2014


On Mon, 31 Mar 2014 22:11:53 -0400
"Michael H. Warfield" <mhw at WittsEnd.com> wrote:

> On Mon, 2014-03-31 at 18:58 -0400, Dwight Engen wrote:
> > Signed-off-by: Dwight Engen <dwight.engen at oracle.com>
> > ---
> >  lxc.spec.in | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> You did it AGAIN and beat me to it!

Doh! Sorry bout that, I always do make rpm and install it from those
instead of doing make install so I tend to notice .spec file stuff
pretty quick.
 
> Acked-by: Michael H. Warfield <mhw at WittsEnd.com>
> 
> > diff --git a/lxc.spec.in b/lxc.spec.in
> > index 9595cc8..5c9fdc8 100644
> > --- a/lxc.spec.in
> > +++ b/lxc.spec.in
> > @@ -145,6 +145,7 @@ rm -rf %{buildroot}
> >  
> >  %files libs
> >  %defattr(-,root,root)
> > +%{_sbindir}/*
> >  %{_libdir}/*.so.*
> >  %{_libdir}/%{name}
> >  %if %{with_python}
> > @@ -152,7 +153,6 @@ rm -rf %{buildroot}
> >  %endif
> >  %{_localstatedir}/*
> >  %{_libexecdir}/%{name}
> > -%attr(4555,root,root) %{_libexecdir}/%{name}/lxc-init
> >  %attr(4111,root,root) %{_libexecdir}/%{name}/lxc-user-nic
> >  %if %{with_systemd}
> >  %attr(555,root,root) %{_libexecdir}/%{name}/lxc-devsetup
> > -- 
> > 1.8.5.3
> > 
> > _______________________________________________
> > lxc-devel mailing list
> > lxc-devel at lists.linuxcontainers.org
> > http://lists.linuxcontainers.org/listinfo/lxc-devel
> > 
> 



More information about the lxc-devel mailing list