rpmdb-fedora
Gene C.
czar at czarc.net
Thu Oct 30 19:04:54 UTC 2003
This is not a show stopper but should be addressed.
I am putting this on the mailing list instead of in bugzilla because I seem to
be unable to describe the problem well enough. I am hoping someone can
"clarify" what I am trying to say.
The problem is described in
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=107853
and concerns the working of --redhatprovides and --redhatrequires options.
In the process of converting from Red Hat Linux to Fedora Core, "redhat" has
been replaced by "fedora" in many (not all) cases -- e.g.,
"/etc/fedora-release" instead of "/etc/redhat-release". One of the things
changed was the renaming of the "rpmdb-redhat" package to "rpmdb-fedora" and
of putting the information into the "/usr/lib/rpmdb/i386-redhat-linux/fedora"
directory instead of the "/usr/lib/rpmdb/i386-redhat-linux/redhat" directory.
[BTW, the package name rpmdb-fedora needs to be added to bugzilla.]
No this would be fine except that the macro definition file
/usr/lib/rpm/rpmpopt-4.2.1 (owned by rpm) still have the following
definitions:
rpm alias --redhatprovides -q --define '_dbpath
/usr/lib/rpmdb/%{_arch}-%{_vendor}-%{_os}/redhat' --whatprovides
and
rpm alias --redhatrequires -q --define '_dbpath
/usr/lib/rpmdb/%{_arch}-%{_vendor}-%{_os}/redhat' --whatrequires
and results that things just do not work. The problem is that the final name
is still "redhat" but the data has been placed under "fedora"
if you do:
rpm --redhatrequires xpdf
you get:
no package requires xpdf
On the other hand, if you do:
rpm -q --define "_dbpath /usr/lib/rpmdb/i386-redhat-linux/fedora/" \
--whatrequires xpdf
you get:
xfig-3.2.4-2
Yes, I can create a private alias definition for --fedorarequires, but that
does not seem to make sense to me. What do the rest of you think?
--
Gene
More information about the test
mailing list