compiling src.rpm

Rick Stevens ricks at nerd.com
Tue Nov 3 21:03:43 UTC 2009


Martín Marqués wrote:
> I'm having problems with ktorrent crashing all the time and I wanted
> to try a patch I found in bugs.kde.org which may fix this problem.
> 
> The thing is that compilation of src.rpm isn't what it used to be.
> 
> Before I would install the src.rpm, go the /usr/src/redhat/SOURCE/ and
> modify the source, or add a patch (adding it in the spec file) and
> then just run rpmbuild -ba my.spec and I would have the new rpm. This
> doesn't work anymore.
> 
> How can I compile a src.rpm now a days?

By default, the src RPM is installed in ~/rpmbuild now instead of 
/usr/src/redhat (with "~" representing the home directory of the user
that installed the source RPM).

Other than that, everything should be the same.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer                      ricks at nerd.com -
- AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
-                                                                    -
- A friend said he climbed to the top of Mount Rainier.  My view is  -
-    that if there's no elevator, it must not be that interesting.   -
----------------------------------------------------------------------




More information about the fedora-list mailing list