On Fri, 2008-09-05 at 10:17 -0500, Steve Wise wrote:
> Dunno if you already have seen this, but installing ofed-1.4 on FC9, I 
> see this error.  Looks like the name of the rpm is wrong in some spec 
> file maybe?
> 
> Running  rpmbuild --rebuild --define '_topdir /var/tmp/OFED_topdir' 
> --define 'dist ' --target x86_64 --define '_prefix /usr' --define 
> '_exec_prefix /usr' --define '_sysconfdir /etc' --define '_defaultdocdir 
> /usr/share/doc/compat-dapl-1.2.10' --define '_usr /usr' 
> /usr/local/src/OFED-1.4-20080902-0600/SRPMS/compat-dapl-1.2.10-1.src.rpm
> Install compat-dapl RPM:
> /usr/local/src/OFED-1.4-20080902-0600/RPMS/fedora-release-9-2.noarch/x86_64/compat-dapl-1.2.10-1.x86_64.rpm
>  
> does not exist
> [EMAIL PROTECTED] OFED-1.4-20080902-0600]# ls 
> RPMS/fedora-release-9-2.noarch/x86_64/compat-dapl-*
> RPMS/fedora-release-9-2.noarch/x86_64/compat-dapl-1.2.10-1.fc9.x86_64.rpm
> RPMS/fedora-release-9-2.noarch/x86_64/compat-dapl-debuginfo-1.2.10-1.fc9.x86_64.rpm
> RPMS/fedora-release-9-2.noarch/x86_64/compat-dapl-devel-1.2.10-1.fc9.x86_64.rpm
> RPMS/fedora-release-9-2.noarch/x86_64/compat-dapl-devel-static-1.2.10-1.fc9.x86_64.rpm
> RPMS/fedora-release-9-2.noarch/x86_64/compat-dapl-utils-1.2.10-1.fc9.x86_64.rpm
> [EMAIL PROTECTED] OFED-1.4-20080902-0600]#

Looks like the spec file does the (for Fedora anyway) right thing and
includes a dist tag on the release, aka:

Release:        1%{?dist}

which on Fedora 9 works out to be 1.fc9 unless you undefine the dist
macro.  I'm guessing the install script doesn't know about the dist
macro and isn't smart enough to automatically look for packages with
either the non-dist or dist specific release numbers.

-- 
Doug Ledford <[EMAIL PROTECTED]>
              GPG KeyID: CFBFF194
              http://people.redhat.com/dledford

Infiniband specific RPMs available at
              http://people.redhat.com/dledford/Infiniband

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
ewg mailing list
ewg@lists.openfabrics.org
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg

Reply via email to