Description of problem: I am trying to build a spec file that uses OpenSceneGraph. There is a bug in the OpenSceneGraph spec file which causes OpenSceneGraph-devel to not pick up OpenSceneGraph: Requires: %name = %{version}-%{release} This should read: Requires: %{name} = %{version}-%{release} Version-Release number of selected component (if applicable): OpenSceneGraph-1.0-2.fc5
Hmm, I don't understand what you are trying to say. 1. OpenSceneGraph-devel on fc5 does require OpenSceneGraph: # rpm -q --requires OpenSceneGraph-devel OpenSceneGraph = 1.0-2.fc5 2. In rpm.spec syntax, "%name" and "%{name}" are supposed to be completely equivalent: %{name} is the escaped form of %name. If your proposal above does what you say, your observation would mean you to have found a bug in rpm.
I am having problems with this package under mock. Please see my discussion on the Fedora-Extras List. At first I thought it was not picking up the necessary packages and thought this was the cause. It turns out there is some other problem here, possibly a bug in mock. Please see the discussion on F-E-L: https://www.redhat.com/archives/fedora-extras-list/2006-June/msg00094.html
Updating bug summary per your latest comments: => Something is broken in this package's libraries' SONAMES handling. ... to be investigated ...
Should now be fixed with 1.0-4. Builds for fc6 and fc5 are currently in the build-queue. I am not sure if I am going to fix it for FE3/FE4. Though these suffer from the same issue, an SONAME change has occured between FE4 (OpenSceneGraph-0.9.x) and FE5 (OpenSceneGraph-1.0).
I've backported the hacks I've applied to 1.0 for FC5/FC6 to 0.9.9 for FC3/FC4. So, this issue should also be fixed in 0.9.9-5 for FC3 and FC4, should the (currently broken) buildsystem once finish building them.