On Sat, 20 Jan 2018 16:43:23 +0100
Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On Sat, 2018-01-20 at 15:27 +0000, Tomasz Kłoczko wrote:
> Just for the record list of things which are now on crash course
> with EPEL/RHEL Fedora which are widely used in Fedora specs:
> On EPEL/RHEL in spec must be present in spec:
> - BuildRoot
> - %clean
> - %defattr() in %files
>
> NO ONE adds now any %ifings around those parts of the specs (just
> please do not propose start doing this 😀)
> Especially remove %defattr() breaks RHEL/EPEL compatibility causing
> that in case of many packages files no longer will be owned by
> root:root but by user on which package is built.
That's not true. Those are not needed since RHEL6.
And %defattr wasn't even needed on RHEL5.
Another thing that can safely be removed from EPEL-6 specs is the
Group: tag.
Paul.