For tests

This commit is contained in:
eabdullin 2024-07-09 17:14:29 +03:00
parent fb9988e7e5
commit e033ab2085

View File

@ -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