The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > Linux
Google UNIX.COM


Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Modifying a variable value kartikkumar84@g UNIX for Dummies Questions & Answers 6 05-22-2008 11:19 PM
Rebuilding C++ Libraries to save Linux install (purely academic question) Skyybugg Linux 0 04-03-2008 11:54 AM
Modifying Route hoang IP Networking 1 06-25-2002 04:55 PM
rebuilding sun solaris kernel jigarlakhani UNIX for Dummies Questions & Answers 3 04-03-2002 03:38 PM
Rebuilding Kernel konda UNIX for Advanced & Expert Users 2 02-27-2002 08:58 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 06-15-2007
Registered User
 

Join Date: Jul 2006
Posts: 8
Modifying/Rebuilding non-source PRM?

I can't find a source rpm for a particular tool that I'm trying to modify. I can only get a hold of the noarch and tar.bz2. Can I modify either one of these and re-package them as a noarch.rpm?
Reply With Quote
Forum Sponsor
  #2  
Old 06-18-2007
sysgate's Avatar
Unix based
 

Join Date: Nov 2006
Location: /root
Posts: 1,197
I believe yes, take a look at http://www.rpm.org/RPM-HOWTO/ and search the web for "rpmrebuild" and -repackage flag.
Reply With Quote
  #3  
Old 07-08-2007
Registered User
 

Join Date: Feb 2006
Posts: 18
with the bz2 you can do:
Code:
rpmbuild -tb packagename.tar.bz2
If that doesn't work, you'll need to unpack it (tar -jxvf packagename.tar.bz2) and edit or create the .spec file inside (packagename.spec), then repackage it (tar -cjvf packagename.tar.bz2 packagename/) and then try rpmbuild again.

Sorry if this isn't very clear, but this can get quite complex in a hurry.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 11:32 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0