Another option (albeit definitely not the best answer): make a dummy rpm file with the name in question.
You will need rpmbuild
installed, and a dummy tarball.
mkdir ~/rpmbuild/{RPMS,SOURCES}touch empty.txttar -zcf ~/rpmbuild/SOURCES/example.tar.gz empty.txt
Write the dummy spec file. This one works for me on Fedora 29. It should be good on CentOS 7 too.
Name: exampleVersion: 0.0.0Release: 1%{?dist}Summary: Dummy packageGroup: DummyLicense: CC-BY-SA 3.0URL: http://example.comSource0: example.tar.gzBuildArch: noarch#BuildRequires:#Requires:%descriptionDummy for example%prep:%build:%install:%files%doc%changelog
Tweak package name and version number as necessary, and then build the package.
rpmbuild -ba example.spec
The output "binary" rpm file will be ~/rpmbuild/RPMS/noarch/example-0.0.0-1.fc29.x86_64.rpm