Compare commits

...

7 Commits

Author SHA1 Message Date
e72ddcf825 Check ifarch and ifnarch 2024-10-16 11:40:52 +03:00
196c93ccab ExclusiveArch: x86_64_v2 2024-10-16 11:39:51 +03:00
23ccc57a1e ExclusiveArch: x86_64 2024-10-16 11:38:53 +03:00
30fd96ff70 ExclusiveArch: aarch64 2024-10-16 11:38:29 +03:00
5a7bece94a ExcludeArch: x86_64_v2 2024-10-16 11:37:55 +03:00
ba3d5d3bcd ExcludeArch: aarch64 2024-10-16 11:37:06 +03:00
1c3cd20cf5 ExcludeArch: x86_64 2024-10-16 11:35:45 +03:00

View File

@ -105,6 +105,53 @@ 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