rpmbuild - spec file requires rpm-build... change requires dependent on os-release? -
i'm building spec file requires /usr/bin/rpmbuild
installed. under opensuse13.1 simple: add together line in spec file:
requires: rpm-build
and works nicely on opensuse13.1
yet when seek build , install bundle on opensuse12.1; not work, since binary /usr/bin/rpmbuild
provided there bundle rpm
, not bundle rpm-build
.
how work around problem? didn't find virtual bundle both provide. note bundle rpm
exists on opensuse13.1 , rpm-build
depends on it.
you can use:
requires: /usr/bin/rpmbuild
rpmbuild build-dependencies
No comments:
Post a Comment