rpmrebuild

A tool to build rpm file from rpm database

Fedora
RUN dnf install -y rpmrebuild
click the source code to copy install rpmrebuild on any operating system with command-not-found.com