You're seeing a "problem" that doesn't exist. Yum and rpm can reference an rpm package in several ways.
The full rpm package file name is composed of several elements: name-version-release.arch.rpm
Code:
rpm -q --queryformat "%{name}-%{version}-%{release}.%{arch}\n" audacious
audacious-3.0.4-1.fc16.x86_64
In the above, "1.fc16" is the "release". All the following are valid formats to use with either rpm or yum.
audacious-3.0.4-1.fc16.x86_64
audacious-3.0.4-1.fc16
audacious-3.0.4
audacious.x86_64
You only use the full rpm package name, including the .rpm extension, when dealing directly with the package file.
"man rpm" and "man yum"
If you wanted to see the "dependencies" for installed package php, then:
---------- Post added at 09:38 AM ---------- Previous post was at 09:28 AM ----------
For tidier output to the "yum deplist packagname" command:
Code:
BASH:~/-> yum deplist php | grep provider | uniq -u | awk '{print $2}'
bzip2-libs.i686
libcom_err.i686
glibc.i686
openssl.i686
gmp.i686
pcre.i686
openssl.i686
zlib.i686
php-cli.i686
php-common.i686
glibc.x86_64
glibc.i686
bzip2-libs.x86_64
libcom_err.x86_64
glibc.x86_64
openssl.x86_64
gmp.x86_64
pcre.x86_64
openssl.x86_64
zlib.x86_64
php-cli.x86_64
php-common.x86_64
glibc.x86_64
glibc.i686
You'll see both .i686 and .x86_64 entries if you're using an .x86_64 install of Fedora, even though only the .x86_64 versions would be the actual deps.