Jump to content

use urpmi to acquire source rpm


Guest S P Arif Sahari Wibowo
 Share

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 :)]

Link to comment
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.

Link to comment
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!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...