Eddy Petrișor: RPMs, gaaaaaah!
Always when I have to deal with RPM systems I feel so handicapped and it feels so wrong from multiple PoV.
This is a rant and a dear lazyweb (not that lazy, actually) type of post.
I would like to be able to have a few things solved when dealing with RPMs:
This is a rant and a dear lazyweb (not that lazy, actually) type of post.
I would like to be able to have a few things solved when dealing with RPMs:
- I would like a pbuilder like builder for specs
- I know about mock, but
- it accepts only src.rpm files (I know about rpmbuild -bs, but is broken, read further for the groovy details)
- I have some specs that have %include directives for the maintainer scripts and when rpmbuild -bs is ran, guess what, the extra files are left outside the src.rpm;oh yes, the directives are processed correctly for the binary rpm
- mock relies on bootstrapping a system using fedoralegacy.org, which was recently discontinued
- I have a redhat-9 chroot tarball which I would like to use and tell mock to use that without caring about upgrades (since my packages are not at all that dependent on the build system)
- mock fails to bootstrap even for fedora-devel-i386-core with the message "Cannot find a valid baseurl for repo: extras"
- the older versions fail to bootstrap because, apparently, it "Could not find useradd in chroot, maybe the install failed?"
- plague (how's that for irony?) relies on mock, which is broken
- mach seems to be deprecated
- I would like a simple repo creation and maintainance tool, something in the line of mini-dinstall, which should have apt4rpm and yum support, but it seems that repos are still the "new shiny thing" which has no proper tools
- I would like to be able to know from which version I am upgrading from the current package, not only that I am upgrading (in case you didn't knew, the only way to know that you are upgrading in a post/pre install/remove script, is the wonderful $1 parameter which indicates the number of packages installed after the script finishes or something along that line..

