build: build rpms on redhat and fedora