diff --git a/.files b/.files
index 1dce61b..9e57a96 100644
Binary files a/.files and b/.files differ
diff --git a/.rev b/.rev
index 990de31..4c0db32 100644
--- a/.rev
+++ b/.rev
@@ -55,4 +55,12 @@
1042913
+
+ 73a2093a9a27fb7640d791dccf7cf7cc
+ 23.01
+
+ dimstar_suse
+
+ 1094640
+
diff --git a/7z2201-src.tar.xz b/7z2201-src.tar.xz
deleted file mode 120000
index fb0e5f9..0000000
--- a/7z2201-src.tar.xz
+++ /dev/null
@@ -1 +0,0 @@
-/ipfs/bafybeiel5yzg4z3ikjmhvnpq3zuh5afahtslqpfjnba6thqoqeodbspktm
\ No newline at end of file
diff --git a/7z2301-src.tar.xz b/7z2301-src.tar.xz
new file mode 120000
index 0000000..8fd47d3
--- /dev/null
+++ b/7z2301-src.tar.xz
@@ -0,0 +1 @@
+/ipfs/bafybeicpdwexjfykeu3laddsrz26vzc5bqguwbqixy4l5mkawq4qnrlw3i
\ No newline at end of file
diff --git a/7zip.changes b/7zip.changes
index ecb627e..3feee3a 100644
--- a/7zip.changes
+++ b/7zip.changes
@@ -1,4 +1,32 @@
-------------------------------------------------------------------
+Wed Jun 21 10:15:05 UTC 2023 - Fabian Vogt
+
+- Update to version 23.01:
+ * 7-Zip now can use new ARM64 filter for compression to 7z and xz archives.
+ ARM64 filter can increase compression ratio for data containing executable files
+ compiled for ARM64 (AArch64) architecture.
+ * Default section size for BCJ2 filter was changed from 64 MiB to 240 MiB. It
+ can increase compression ratio for executable files larger than 64 MiB.
+ * UDF: support was improved.
+ * cpio: support for hard links.
+ * Some changes and optimizations in WIM creation code.
+ * When new 7-Zip creates multivolume archive, 7-Zip keeps in open state only
+ volumes that still can be changed. Previous versions kept all volumes in open
+ state until the end of the archive creation.
+ * 7-Zip now can reduce the number of simultaneously open files, when
+ 7-Zip opens, extracts or creates multivolume archive. It allows to avoid the
+ failures for cases with big number of volumes, bacause there is a limitation for
+ number of open files allowed for a single program in Linux.
+ * The bugs were fixed:
+ * ZIP archives: if multithreaded zip compression was performed with
+ more than one file to stdout stream (-so switch), 7-zip didn't write "data
+ descriptor" for some files.
+ * ext4 archives: 7-Zip couldn't correctly extract symbolic link to directory from ext4 archives.
+ * HFS and APFS archives: 7-Zip incorrectly decoded uncompressed blocks (64 KiB) in compressed forks.
+ * Some another bugs were fixed.
+- Refresh fix-compatib-with-p7zip.patch
+
+-------------------------------------------------------------------
Mon Dec 12 21:18:30 UTC 2022 - Dirk Müller
- build for x86_64 subarchs the same way like for baseline
diff --git a/7zip.spec b/7zip.spec
index 9e07eeb..ec97281 100644
--- a/7zip.spec
+++ b/7zip.spec
@@ -1,7 +1,7 @@
#
# spec file for package 7zip
#
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,9 +16,9 @@
#
-%define stripped_version 2201
+%define stripped_version 2301
Name: 7zip
-Version: 22.01
+Version: 23.01
Release: 0
Summary: File Archivier
# CPP/7zip/Compress/LzfseDecoder.cpp is under the BSD-3-Clause
@@ -58,7 +58,7 @@ chmod -x DOC/*.txt
sed -i 's/-Werror//' CPP/7zip/7zip_gcc.mak
%if 0%{?suse_version} < 1550
# (gcc 7.x) Remove -Waddress-of-packed-member to make build succeed
-sed -i -e 's/-Waddress-of-packed-member//' -e 's/-Wcast-align=strict//' C/warn_gcc.mak CPP/7zip/warn_gcc.mak
+sed -i -e 's/-Waddress-of-packed-member//' -e 's/-Wcast-align=strict//' -e 's/-Wmissing-attributes//' C/warn_gcc.mak CPP/7zip/warn_gcc.mak
%endif
# Inject CFLAGS
sed -i 's/^ -fPIC/ -fPIC %{optflags}/' CPP/7zip/7zip_gcc.mak
diff --git a/fix-compatib-with-p7zip.patch b/fix-compatib-with-p7zip.patch
index a2c6766..3ea1094 100644
--- a/fix-compatib-with-p7zip.patch
+++ b/fix-compatib-with-p7zip.patch
@@ -26,14 +26,15 @@ Signed-off-by: Dario Faggioli
OpenCallbackConsole.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
-diff -Nru 7zip/CPP/7zip/UI/Console/OpenCallbackConsole.cpp 7zip_2/CPP/7zip/UI/Console/OpenCallbackConsole.cpp
---- 7zip/CPP/7zip/UI/Console/OpenCallbackConsole.cpp 2017-02-18 00:42:14.000000000 +0100
-+++ 7zip_2/CPP/7zip/UI/Console/OpenCallbackConsole.cpp 2022-01-26 08:40:15.616512459 +0100
-@@ -87,7 +87,7 @@
+Index: 7zip/CPP/7zip/UI/Console/OpenCallbackConsole.cpp
+===================================================================
+--- 7zip.orig/CPP/7zip/UI/Console/OpenCallbackConsole.cpp
++++ 7zip/CPP/7zip/UI/Console/OpenCallbackConsole.cpp
+@@ -87,7 +87,7 @@ HRESULT COpenCallbackConsole::Open_Crypt
if (!PasswordIsDefined)
{
ClosePercents();
-- RINOK(GetPassword_HRESULT(_so, Password));
+- RINOK(GetPassword_HRESULT(_so, Password))
+ GetPassword_HRESULT(_so, Password);
PasswordIsDefined = true;
}