rpm-yum

Query which package installed any file:
rpm -q —whatprovides [file name]

[root@RHEL74 certs]# rpm -q --whatprovides /etc/mime.types
mailcap-2.1.41-2.el7.noarch
[root@RHEL74 certs]#