How to pass user defined parameters to rpmbuild to fill variables
rpmbuild -bb –define ‘_foobar Foo’ somespecfile.spec and refer it within the spec as %{_foobar} (the _ is a convention, not a must)
rpmbuild -bb –define ‘_foobar Foo’ somespecfile.spec and refer it within the spec as %{_foobar} (the _ is a convention, not a must)