@cp $< $@
rpm: rpmbuild/SOURCES/freeradius-server-$(PKG_VERSION).tar.bz2
- @if ! $(SUDO) dnf builddep ${YUM_BUILDDEP_FLAGS} -q -C --assumeno redhat/freeradius.spec 1> rpmbuild/builddep.log 2>&1; then \
+ @if ! $(SUDO) dnf builddep $(RPMBUILD_FLAGS) ${YUM_BUILDDEP_FLAGS} -q -C --assumeno redhat/freeradius.spec 1> rpmbuild/builddep.log 2>&1; then \
echo "ERROR: Required dependencies not found, install them with: dnf builddep redhat/freeradius.spec"; \
cat rpmbuild/builddep.log; \
exit 1; \