We need to (re)generated third party packages on EL7 but we don't want to change SPEC file as suggested (%define debug_package %{nil}
https://www.redhat.com/archives/shrike-list/2003-April/msg00069.html) and neither changing the ~/.rpmmacros
file as it is on a shared box for RPM build.
Is there any way to solve this via command line (additional parameter) with rpmbuild
?