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 8.2.2018 18:33, Neal Gompa wrote:
> On Thu, Feb 8, 2018 at 11:56 AM, Tomasz Kłoczko
> <kloczko.tomasz@xxxxxxxxx> wrote:
>> BTW some massively occurring errors in really big number Fedora of specs.
>>
>> Looks like many people don't know that %files entry like:
>>
>> /some/directory/
>>
>> does not include /some/directory into package but all files and
>> subdirectories which are in /some/directory.
>>
> 
> It in fact does.
> 
> 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.

-- 
Petr Stodulka
Core Services (In-place upgrades and migrations)
IRC nicks: pstodulk, skytak
Red Hat

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
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