Red Hat Bugzilla – Bug 78028
building gnome-panel rpm fails
Last modified: 2008-05-01 11:38:04 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:0.9.8) Gecko/20020310
Description of problem:
You can't build a binary RPM from the source RPM, unless there is an old binary
version of the same RPM already installed on the build host.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
rpm -e gnome-panel
rpm -ivh gnome-panel-2.0.6-9.src.rpm
rpmbuild -bb SPECS/gnome-panel.spec
Actual Results: error building system-tray-applet.
Expected Results: binary rpm should be built.
A build of the system-tray-applet uses pkgconfig to find libpanel-applet. But
libpanel-applet has only just been built, but not installed, so pkgconfig can
only find an older version of the same package, if there is one.
The attached patch for the specfile uses a modified pkgconfig-".pc"-file that
points to the freshly built version of libpanel-applet.
Created attachment 85368 [details]
patch for the spec file
Thanks for the patch. This issue goes away in the latest packages, though
(not yet in Rawhide but will be shortly) because gnome-panel 2.1.x just includes
the applet in the main panel package. So I think I'll let things naturally fix
themselves that way.