%vdb %global _i18ndir %{_datadir}/i18n %global _localedef %{_bindir}/localedef %global _charmapsdir %{_i18ndir}/charmaps %global _locale_archive %{_prefix}/lib/locale/locale-archive Name: test Version: 0.0.1 Release: 1%{?dist} Summary: Test License: GPLv3+ BuildArch: noarch Requires: %{_localedef} Requires: %{_charmapsdir}/UTF-8.gz # F24 moves charmaps from glibc-common to glibc-locale-source. Let us require specific file # instead of package so the requirement can be fulfilled by any version of Fedora. %description Description. %prep %build %install %check %filetriggerin -- %{_locale_archive} echo "Aha!" %files %changelog * Wed Apr 9 2025 Van de Bugger - 0.0.1-1 - Initial release. # end of file #