Re: Please review use /$ in %files (Was: Re: Escaping macros in %changelog)

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

 



On Thu, 8 Feb 2018 18:39:19 +0100, Petr Stodulka wrote:

> > The following:
> > %files
> > /some/directory/
> > 
> > is equivalent to:
> > %files
> > %dir /some/directory
> > /some/directory/*
> > 
> > 
> > There's nothing wrong here.
> > 
> >   
> 
> Exactly. IMHO, use of %dir macro for "top" pkg directories is more clean solution, but
> doesn't matter in case the rpm is packaged correctly.

That makes no sense, if you restrict yourself to a "top" directory.
It could be a huge tree with lots of subdirectories. How would you
package it then? With explicit %dir everywhere? Or with %dir only for
the "top" directory?

Including complete directory trees with

  /foo/bar/

is fine and clean and is an advertised solution for many years.
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux