Probably best achieved by: - using %reconfigure_fonts_prereq as BuildRequires - adding %link_avail_to_system_fontsconf <number>-<name).conf to the %install section - using the following macro to create the %post... stanzas %reconfigure_fonts_scriptlets see e.g. https://build.opensuse.org/package/view_file/openSUSE:Factory/cantarell-fonts/cantarell-fonts.spec?expand=1