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

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

 



On Dec 13, 2007 11:27 AM, Matthew Miller <mattdm@xxxxxxxxxx> 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@xxxxxxxxxx          <http://mattdm.org/>
> Boston University Linux      ------>              <http://linux.bu.edu/>
>
> _______________________________________________
> Rpm-list mailing list
> Rpm-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/rpm-list
>

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux