# epel macros %epel 8 # Mono macros requested in rhbz 1295117 %mono_arches %{ix86} x86_64 sparc sparcv9 ia64 %{arm} alpha s390x ppc ppc64 ppc64le %_monodir %{_prefix}/lib/mono %_monogacdir %{_monodir}/gac # A directory for rpm macros %rpmmacrodir /usr/lib/rpm/macros.d # Upstream RPM has this in Fedora, obsoleting the one above. %_rpmmacrodir /usr/lib/rpm/macros.d # Bash completions; not in bash to not intefere with install ordering %bash_completion_dir /usr/share/bash-completion/completions/ # Use the non-underscored Python macros to refer to Python in spec, etc. %python2 %__python2 %python3 %__python3 # Users can use %%python only if they redefined %%__python (e.g. to %%__python3) %python() %{lua:\ __python = rpm.expand("%__python")\ if __python == "/usr/bin/python" then\ rpm.expand("%{error:Cannot use %%python if %%__python wasn't redefined to something other than /usr/bin/python.}")\ else\ print(__python)\ end\ } # gpgverify verifies signed sources. There is documentation in the script. %gpgverify %{_rpmconfigdir}/gpgverify # qt5 macro removed from RHEL8 but needed to ensure qtwebengine, and # it's dependencies build on supported arches. %qt5_qtwebengine_arches %{ix86} x86_64 %{arm} aarch64 mips mipsel mips64el