Re: preserving file attributes from make install in rpm spec file
"Bob Beers" <[email protected]>
| Newsgroups | gmane.linux.redhat.rpm.general |
|---|---|
| Message-ID | <[email protected]> |
On Dec 13, 2007 11:27 AM, Matthew Miller <[email protected]> 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 [email protected] <http://mattdm.org/> > Boston University Linux ------> <http://linux.bu.edu/> > > _______________________________________________ > Rpm-list mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/rpm-list >