Make Yum recognize that httpd24-httpd (from SCL) provides the webserver virtual package

With RPM Package Manager you can simply provide foo 4 bar. This is a stupid dummy spec example, purists will remove the rpmlint ;-) warnings:

$ cat ~/rpmbuild/SPECS/provides-httpd.spec 
Summary:   Dummy package to provide with httpd for httpd24
Name:      provides-httpd
Version:   0.1
Release:   1%{?dist}
License:   GPLv2
Requires:  httpd24-httpd
Provides:  httpd
BuildArch: noarch

This is a no-brainer dummy package to provide httpd for SCL httpd24

You should read


Build this with rpmdevtools and friends:

$ rpmbuild -ba ~/rpmbuild/SPECS/provides-httpd.spec

Install the dummy package:

$ sudo yum install ~/rpmbuild/RPMS/noarch/provides-httpd-0.1-1.el7.noarch.rpm