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)