From 0da4ced813e24ab6a190d2bb41656c09d05d724f Mon Sep 17 00:00:00 2001
From: pluskalm <>
Date: Mar 14 2024 16:48:15 +0000
Subject: Update 7zip to version 23.01 / rev 12 via SR 1156844
https://build.opensuse.org/request/show/1156844
by user pluskalm + anag+factory
---
diff --git a/.files b/.files
index d985c15..6cb895a 100644
Binary files a/.files and b/.files differ
diff --git a/.rev b/.rev
index 6ee1aa7..2babb84 100644
--- a/.rev
+++ b/.rev
@@ -87,4 +87,12 @@
1141009
+
+ f6c6e2cd0f355550f954d4f9056170c0
+ 23.01
+
+ anag+factory
+
+ 1156844
+
diff --git a/7zip.changes b/7zip.changes
index 5cfac3a..9d7a169 100644
--- a/7zip.changes
+++ b/7zip.changes
@@ -1,4 +1,11 @@
-------------------------------------------------------------------
+Wed Mar 6 12:46:58 UTC 2024 - Dominique Leuenberger
+
+- Use autosetup -c instead of manually extracting the tarball and
+ applying patches: allows us to eliminate the usage of deprecated
+ %patchN.
+
+-------------------------------------------------------------------
Tue Jan 23 11:32:54 UTC 2024 - Danilo Spinella
- Fix build on SLE-15-SP6
diff --git a/7zip.spec b/7zip.spec
index 2cbddc1..bc2fd3c 100644
--- a/7zip.spec
+++ b/7zip.spec
@@ -53,9 +53,8 @@ This package contains the 7z command line utility for archiving and
extracting various formats.
%prep
-tar xaf %{SOURCE0}
-%patch0 -p1
-%patch1 -p1
+%autosetup -p1 -c
+
dos2unix DOC/*.txt
# Remove executable perms from docs
chmod -x DOC/*.txt