From 599615bb3817f8861e7de5f9d4bef9fe124797f8cf9ba50fd3f8582f9cf278dc Mon Sep 17 00:00:00 2001 From: Atri Bhattacharya Date: Sun, 25 Feb 2024 11:40:01 +0000 Subject: [PATCH] Accepting request 1149449 from home:dimstar:rpm4.20:i Prepare for RPM 4.20 OBS-URL: https://build.opensuse.org/request/show/1149449 OBS-URL: https://build.opensuse.org/package/show/science/imagej?expand=0&rev=18 --- imagej.changes | 6 ++++++ imagej.spec | 3 +-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/imagej.changes b/imagej.changes index 74765b8..743a78c 100644 --- a/imagej.changes +++ b/imagej.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Feb 22 13:46:01 UTC 2024 - Dominique Leuenberger + +- Use %autosetup macro. Allows to eliminate the usage of deprecated + %patchN + ------------------------------------------------------------------- Tue Dec 6 20:53:06 UTC 2022 - Dirk Müller diff --git a/imagej.spec b/imagej.spec index 900cfb5..8ef83cc 100644 --- a/imagej.spec +++ b/imagej.spec @@ -58,8 +58,7 @@ ImageJ can be extended via Java plugins, and has a built-in editor and compiler. %prep -%setup -q -n source -%patch0 -p1 +%autosetup -p1 -n source %build %{ant} -Dant.build.javac.source=1.8 -Dant.build.javac.target=1.8 build