From 8cfdd18c06a4da5a7929eae6436f7cf7e40974ef347254f0fa5d7d2b4aaf12ac Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Mon, 11 Mar 2024 07:41:56 +0000 Subject: [PATCH] Accepting request 1155554 from home:dimstar:Factory - Use autosetup -c instead of manually extracting the tarball and applying patches: allows us to eliminate the usage of deprecated %patchN. OBS-URL: https://build.opensuse.org/request/show/1155554 OBS-URL: https://build.opensuse.org/package/show/Archiving/7zip?expand=0&rev=28 --- 7zip.changes | 7 +++++++ 7zip.spec | 5 ++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/7zip.changes b/7zip.changes index 2080497..099011a 100644 --- a/7zip.changes +++ b/7zip.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +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 diff --git a/7zip.spec b/7zip.spec index 135a80e..529a01e 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