From e033ab20852913c12408ea3aa45a1ba69574fa28 Mon Sep 17 00:00:00 2001 From: eabdullin Date: Tue, 9 Jul 2024 17:14:29 +0300 Subject: [PATCH] For tests --- SPECS/almalinux-release.spec | 46 ++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/SPECS/almalinux-release.spec b/SPECS/almalinux-release.spec index 3c93c74..a4156b1 100644 --- a/SPECS/almalinux-release.spec +++ b/SPECS/almalinux-release.spec @@ -102,6 +102,52 @@ This package provides the package repository files for %{distro}. This package provides the RPM signature keys for %{distro}. %install + +%ifarch x86_64 +echo "ifarch x86_64" +%endif + +%ifarch x86_64_v2 +echo "in ifarch x86_64_v2" +%endif + +%ifarch x86_64_v2 x86_64 +echo "in ifarch x86_64_v2 x86_64" +%endif + +%ifarch ppc64le x86_64 +echo "in ifarch ppc64le x86_64" +%endif + +%ifarch x86_64 aarch64 +echo "in ifarch x86_64 aarch64" +%endif + +%ifnarch x86_64 +echo "in ifnarch x86_64" +%endif + +%ifnarch x86_64 aarch64 +echo "in ifnarch x86_64 aarch64" +%endif + +%ifnarch x86_64_v2 +echo "in ifnarch x86_64_v2" +%endif + +%ifarch aarch64 +echo "ifarch aarch64" +%endif + +%ifarch ppc64le +echo "ifarch ppc64le" +%endif + +%ifnarch aarch64 +echo "ifnarch aarch64" +%endif + +exit 1 # copy license and contributors doc here for %%license and %%doc macros mkdir -p ./docs cp %{SOURCE201} ./docs