On Jan 3, 2008, at 11:38 AM, Jim Kusznir wrote:
> error: line 300: Dependency tokens must begin with alpha-numeric,
'_'
> or '/': Requires: %{_name}-runtime
Huh..this is strange. Here's the chunk from my spec file and rpm
version. I've now built 3 sets of multi-rpm openmpi, each with a
different name, and its worked flawlessly:
[root@aeolus ~]# rpmbuild --version
RPM version 4.3.3
[root@aeolus ~]# grep Requires /usr/src/redhat/SPECS/openmpi.spec
Requires: %{modules_rpm_name}
Requires: %{mpi_selector_rpm_name}
Requires: %{modules_rpm_name}
Requires: %{name}-runtime
Requires: %{name}-runtime
Perhaps its the difference between _name and name.
Bingo! I don't know how I missed this (especially since there are
other Requires with %{foo}), but using %{name} works just fine.
If you get the cycles, could you try the latest specfile from the
trunk and see if that works for you?
--
Jeff Squyres
Cisco Systems