How to determine "./configure" invocation used for a particular build?

I have a need to update a particular program that was installed from an rpm from the opensuse 13.1 repositories. I am not adverse to grabbing the source tar ball from sourceforge to accomplish my needs. It would be useful to know the ./configure invocation (parameters) used to build the same package that is in the opensuse repository. Is there a way to determine what ./configure command was used so that when I do my own “make” command I am building with similar options that were used in the opensuse factory?

If it matters, the specific rpm is the one for apcupsd.

You could take a look at the spec file, for example the .spec file for apcupsd for 13.1 in the Update repo; https://build.opensuse.org/package/view_file/openSUSE:13.1:Update/apcupsd/apcupsd.spec?expand=1

Perfect! My google-fu was failing me as I searched. Many thanks.