On 2015-10-19, Petr Pisar <ppisar(a)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