On Wed, Mar 6, 2013 at 3:08 PM, Stephen Gallagher <sgallagh@redhat.com> wrote:

That said, for applying a patch to the source locally, you probably
want to install the 'fedora-packager' package and then clone the
net-snmp build tree.

fedpkg clone net-snmp

Then you can modify the spec file in that directory, have it apply
your patch and then run

fedpkg local

which will build the package locally.

I just tried fedpkg and failed duo to permissions, so I just want to mention that you can get the SRPM from koji at http://koji.fedoraproject.org/koji/buildinfo?buildID=386408

/Palle