Bug 54790 - BuildRequires needed in gnome-applets-
BuildRequires needed in gnome-applets-
Product: Red Hat Raw Hide
Classification: Retired
Component: gnome-applets (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Mark McLoughlin
Aaron Brown
Depends On:
  Show dependency treegraph
Reported: 2001-10-18 20:01 EDT by R P Herrold
Modified: 2007-04-18 12:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-10-19 10:06:10 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description R P Herrold 2001-10-18 20:01:31 EDT

hmmm ... a BuildRequires: is needed for apmd to get rid of 
the shell script missing dependency detection ...


BuildRequires: apmd

to the .SPEC file

Subject: ORCprospector 0.01-011017 -- gnome-applets

gnome-applets   gnome-applets-

Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.11236
You must have apmd installed
Comment 1 Havoc Pennington 2001-10-19 10:58:02 EDT
The problem is that apmd is only required/present on i386, and rpm doesn't
support per-architecture BuildRequires. So if it required apmd, it wouldn't
build on alpha/ia64/etc. Thus the %prep phase has a manual check for 
apmd on i386.

%ifnarch %{no_apm_archs}
%setup -q -a 5

if ! test -e /usr/lib/libapm.a ; then
    echo "You must have apmd installed"
    exit 1

%setup -q

You could imagine hacking rpm to fix this, of course, but can't be fixed in 
gnome-applets, and not sure it's worth the complexity/breakage in rpm.
Comment 2 R P Herrold 2001-10-25 20:55:06 EDT
OK by me -- Thanks -- This is interesting so I will 'mention' it to JBJ

Note You need to log in before you can comment on or make changes to this bug.