I need to build one rpm package, that should be dependent on the installation of another rpm package.
On my PC, the dependent package has been installed, with a name like
I wrote my .spec file like following:
Requires: abcd = 1425-a.x86_64
However, it shows an error during installation.
error: Failed dependencies: abcd = 1425-a.x86_64 is needed by patch_xxxxxx
According to rpm dependency rule, I thought
1425 should be the rpm version, where
a.x86_64 should be the release. I also tried to delete
x86_64, which didn't work.
How to define this rule?