Red Hat Bugzilla – Bug 180048
system-install-packages installs SRPM as RPM
Last modified: 2007-11-30 17:11:23 EST
Description of problem:
First off, I just wanted to say what a great job you've been doing with pirut.
It's great that it informs people in the case that a reboot is advised. The work
that you've done with system-install-packages is really nice too. Sadly, this
is a bugzilla entry instead of a "great work" email.
Anyways, system-install-packages is the default application for RPMs in Firefox,
and it works for RPMs. It also installs src.rpms, including all the -devel
requirements, which is great, but when the actual source RPM is installed it's
installed as if it was a typical RPM.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. system-install-packages gnomebaker-0.5.1-1.src.rpm
2. -devel RPMs are installed
3. s-i-p asks if unsigned gnomebaker is ok, installs when okayed.
rpm -ql gnomebaker reveals:
installed in the directory where s-i-p was run.
This conflicts with a gnomebaker RPM I built from the SRPM.
gnomebaker should be installed in the /usr/src/redhat RPM directories or
not installed at all. Either way, the installation of the development reqs
is nice. It would be great if the SRPM was put in the user's RPM directories if
.rpmmacros existed and pointed to say ~/rpmbuild and all development reqs
installed, but I'm getting greedy.
Given that system-install-packages always runs as root, the right thing to do is
more to just not install srpms. Fixed