Not sure if this is more a RFE, anyway, when I fix something in the .spec file and do a fedpkg mockbuild, the src.rpm is not recreated unless I remember to delete it beforehand.
I guess it would be just a matter of checking last modification dates and redo src.rpm when the spec is newer
that was the positive point of using make in the previous life :-)
Hi Jesse, after hitting this again I decided to have a look at the code and produced a patch. I hope you can accept it, otherwise feel free to let me know what should be changed...
New version of the patch bug84.patch
Ok, I took that patch and ran with it, modifying it slightly. Will be in the next build.
It has been brought to my attention that there are cases where the spec file might not change but you still want to create a new srpm. I've decided to not play guessing games and always generate a new srpm. https://bugzilla.redhat.com/show_bug.cgi?id=681359