Jump to content
Sign in to follow this  
Guest S P Arif Sahari Wibowo

use urpmi to acquire source rpm

Recommended Posts

Guest S P Arif Sahari Wibowo

Hi!

 

If I need to rebuild a package (add patches, change configuration parameter) I will need to download and "install" the source rpm first, right?

Now, how can I do that with urpmi? What media / mirrors list I need to add so urpmi can find sources of Mandriva packages (Main, Contrib, etc.)?

 

Thanks!

 

 

[moved from Software by spinynorman - welcome aboard :)]

Share this post


Link to post
Share on other sites

There should be an --install-src option for urpmi but I've never tried it and I read that it doesn't work.

I think the easiest way is to browse the repository index and instead of going into i586 or x86_64, go into the SRPMS directory instead - then you'll see the main/contrib directories.

Share this post


Link to post
Share on other sites
Guest S P Arif Sahari Wibowo
I will need to download and "install" the source rpm first, right?

Now, how can I do that with urpmi? What media / mirrors list I need to add so urpmi can find sources of Mandriva packages (Main, Contrib, etc.)?

Well, I found that installing source from urpmi is not that useful, since urpmi will not also install build dependencies (BuildRequires). Instead urpmi only install build dependencies from a source file or spec file. So, probably make as much sense just download the src rpms manually.

 

Thanks!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...