I normally start with a Minimal Centos 7 and run
yum install perl-libs.x86_64
This works perfectly.
I am now trying to create an RPM spec file that uses the "Requires" clause to package dependencies like:
Requires: perl-libs.x86_64
However, when I do
yum install my-rpm-1.0.0.el7.x86_64.rpm
I get error messages that look like:
Requires: perl-libs(x86_64) = 4:5.16.3-299.el7_9
Available: 4:perl-libs-5.16.3-293.el7.x86_64
Available: 4:perl-libs-5.16.3-294.el7_6.x86_64
You could try using --skip-broken to work around this problem
You could try running: rpm -Va --nofiles --nodigest
Does anyone know what is wrong with my "Requires:" clause in my spec file? I just want the spec file to automatically do "yum install perl-libs" via the "Requires" clause.