I have created rpm package from our project. In this package there are only binaries and scripts, the binary is dependent on specific kernel version (3.10.0-327.el7). So I added this into rpm spec file:
Requires: kernel = 3.10.0-327.el7
now it works fine most of the time, but if there is kernel-3.10.0-327.4.4.el7 (note the 4.4.el7) installed on the target machine and not kernel-3.10.0-327.el7 then yum does not install kernel-3.10.0-327.el7 but instead install kernel-debug-3.10.0-327.el7 and this essentially break my package.
Is there a way to specify in the rpm spec file that I don't want the kernel-devel but I want exactly the specific kernel installed as dependency?
Thanks a lot.
yum info kernel-debug. I didn't ask what you think breaks it. I asked what does break it. Does your application fail to run? Does it throw an error? What "broken package" errors do you get when you remove it? What doesrpm -qpi --provides $your_package.rpmoutput? - Etan Reisner