diff --git a/.files b/.files
index eb0c5c9..1dce61b 100644
Binary files a/.files and b/.files differ
diff --git a/.rev b/.rev
index d021a3c..990de31 100644
--- a/.rev
+++ b/.rev
@@ -47,4 +47,12 @@
1040601
+
+ 1fd0e760d662aaab43b429a7d583a7a1
+ 22.01
+
+ dimstar_suse
+
+ 1042913
+
diff --git a/7zip.changes b/7zip.changes
index d34106a..ecb627e 100644
--- a/7zip.changes
+++ b/7zip.changes
@@ -1,4 +1,9 @@
-------------------------------------------------------------------
+Mon Dec 12 21:18:30 UTC 2022 - Dirk Müller
+
+- build for x86_64 subarchs the same way like for baseline
+
+-------------------------------------------------------------------
Wed Nov 30 10:47:14 UTC 2022 - Danilo Spinella
- Enable ASM to increase performance in compression and decompression
diff --git a/7zip.spec b/7zip.spec
index c7dcad8..9e07eeb 100644
--- a/7zip.spec
+++ b/7zip.spec
@@ -33,7 +33,7 @@ Patch0: fix-compatib-with-p7zip.patch
BuildRequires: dos2unix
BuildRequires: gcc
BuildRequires: gcc-c++
-%ifarch x86_64 %ix86
+%ifarch x86_64 %ix86 %x86_64
BuildRequires: uasm
%endif
Conflicts: p7zip
@@ -63,13 +63,13 @@ sed -i -e 's/-Waddress-of-packed-member//' -e 's/-Wcast-align=strict//' C/warn_g
# Inject CFLAGS
sed -i 's/^ -fPIC/ -fPIC %{optflags}/' CPP/7zip/7zip_gcc.mak
sed -i 's/LFLAGS_ALL = -s/LFLAGS_ALL =/' CPP/7zip/7zip_gcc.mak
-%ifarch x86_64 %ix86
+%ifarch x86_64 %ix86 %x86_64
sed -i 's/$(CXX) -o $(PROGPATH)/$(CXX) -Wl,-z,noexecstack -o $(PROGPATH)/' CPP/7zip/7zip_gcc.mak
%endif
%build
cd CPP/7zip/Bundles/Alone2
-%ifarch x86_64
+%ifarch x86_64 %x86_64
%make_build -f ../../cmpl_gcc_x64.mak MY_ASM=uasm
%else
%ifarch %ix86
@@ -80,7 +80,7 @@ cd CPP/7zip/Bundles/Alone2
%endif
%install
-%ifarch x86_64
+%ifarch x86_64 %x86_64
install -Dm 755 CPP/7zip/Bundles/Alone2/b/g_x64/7zz %{buildroot}%{_bindir}/7zz
%else
%ifarch %ix86