[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: preserving file attributes from make install in rpm spec file



On Dec 13, 2007 11:27 AM, Matthew Miller <mattdm mattdm org> wrote:
> On Thu, Dec 13, 2007 at 11:03:55AM -0500, Bob Beers wrote:
> > Do I understand correctlythat I can
> >  omit the make install line in %install section
> >  if I add appropriate %attr lines in the %file section?
>
> You can't completely omit installing the files into the buildroot -- you'll
> still need to get them there somehow.
>
>

ok, got it.  I made a new target in the Make file: plaininstall, which
 does not try to change ownership.  I also changed .spec to
%install
make DESTDIR=/ plaininstall

> --
> Matthew Miller           mattdm mattdm org          <http://mattdm.org/>
> Boston University Linux      ------>              <http://linux.bu.edu/>
>
> _______________________________________________
> Rpm-list mailing list
> Rpm-list redhat com
> https://www.redhat.com/mailman/listinfo/rpm-list
>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]