Description of problem: dlm-kernel-smp-2.6.11.2-20050420.131626.FC4.0 rpm -q --requires dlm-kernel-smp /lib/modules/2.6.11-1.1253_FC4smp kernel-smp = 2.6.11-1.1253_FC4 dlm-kernel-2.6.11.2-20050420.131626.FC4.0 rpm -q --requires dlm-kernel cman-kernel >= 2.6.11 kernel = 2.6.11-1.1253_FC4 Consistency Questions: should dlm-kernel-smp require cman-kernel-smp ? should dlm-kernel require /lib/modules/2.6.11-1.1253_FC4 ? Other issues: since cman-kernel package will have to be provided in i586 and i686 varieties for x86 systems since the kernel is provided as i586 and i686, is the cman-kernel requirement enough to make sure the correct arch of cman-kernel is available? If someone has both i586 and i686 kernels installed.. you can run into a corner case where cman-kernel require is satified but with the wrong arch .
I've fixed the above requires. Both up & smp should require /lib/modules and the appropriate cman-kernel. Currently I'm only building i686. How can I test which arch of a package is installed?
Use e.g.: rpm -q --qf '%{name}-%{version}-%{release}.%{arch}\n' some-package Any chance you can use a less obfuscated release field for these packages? -2.6.11.3-20050425.154843.FC4.0 is rather insanely long.
Err, or if you were asking how to test in a Requires field, I'm not sure.
(In reply to comment #1) > Currently I'm only building i686. How can I test which arch of a package is > installed? I'm not sure. It's a corner case I don't think other 3rd party kernel module packages have been able to address either. I was just hoping I could poke you into a eureka moment. It's something worth asking around about and seeing if there is a technical solution available. The fedora-packaging mailinglist would be a good place to bring it up to try to come up with a consistent technical solution that red hat and 3rd party packagers can use. Maybe dag or ville have comments with regard to testing for matching arch between kernel and kernel-module package. In any event, you are probably going to want to turn on i586 builds since the kernel is still being built for i586 as well. -jef
i586 kernel packages are now being built.