Ownership of /usr/lib/rpm/fileattrs

Petr Pisar ppisar at redhat.com
Mon Oct 19 12:36:02 UTC 2015

On 2015-10-19, Petr Pisar <ppisar at redhat.com> wrote:
> One can perceive the package packages as rpm-build plugins. Having the
> dependency on rpm-build does not look wrong in the end.
One must perceive the scripts as rpm-build plugins because they are
installed into rpm-build's package directory. Otherwise the were
installed into /usr/bin (or /usr/libexec). So the dependency on
rpm-build is correct.

If the scripts are usable without rpmbuild, then the *.{prov,req}
scripts should go into different binary package then the *.attr files.
The package with *.attr files will require both rpm-build and the
package with *.{prov,req} scripts.

-- Petr

More information about the devel mailing list