Name: excluded-architectures-hacked Version: 1 Release: 1%{?dist} Summary: A dummy package License: GPLv3+ URL: http://example.com/ Source0: https://raw.githubusercontent.com/praiskup/quick-package/master/README.xz %if 0%{?rhel} >= 9 ExclusiveArch: x86_64 aarch64 %else ExclusiveArch: x86_64 ppc64le %endif %if 0%{?fedora} >= 44 ExcludeArch: x86_64 %endif %description Description for the %name package that is used for various testing tasks. %prep %build %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/%{_pkgdocdir} xz -d %{SOURCE0} --stdout > $RPM_BUILD_ROOT/%{_pkgdocdir}/README %files %doc %{_pkgdocdir}/README %changelog * Thu Jun 05 2014 Pavel Raiskup - 0-1 - does nothing!