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

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

 



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.

This is in how many specs such lines are used:

[tkloczko@domek SPECS.fedora]$ grep ^%\{.*\/$ * | grep -v __ | awk -F\. '{print $1}' | uniq| wc -l
4827

There is 

[tkloczko@domek SPECS.fedora]$ grep ^%\{.*\/$ * | grep -v __ | wc -l
17762

such entries in all fedora spec files.

What it is causing such mistake everyone can check by executing

$ (for i in /usr/{lib64,exec,share}; do find $i -name \*; done) 2>&1 | xargs rpm -qf |grep "is not owned by any package"

kloczek
-- 
Tomasz Kłoczko | LinkedIn: http://lnkd.in/FXPWxH
_______________________________________________
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