From 73658dedfa7d1a7c465663708e435e14bc28364053c9db53b7ad4b29f93db9c3 Mon Sep 17 00:00:00 2001 From: Egbert Eich Date: Tue, 5 Mar 2024 13:40:29 +0000 Subject: [PATCH] Accepting request 1153473 from home:pgajdos:l - Use %autosetup macro. Allows to eliminate the usage of deprecated %patchN OBS-URL: https://build.opensuse.org/request/show/1153473 OBS-URL: https://build.opensuse.org/package/show/science:HPC/libfabric?expand=0&rev=97 --- fabtests.spec | 3 +-- libfabric.changes | 6 ++++++ libfabric.spec | 3 +-- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/fabtests.spec b/fabtests.spec index b7148ba..d2f9fcd 100644 --- a/fabtests.spec +++ b/fabtests.spec @@ -38,8 +38,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build Fabtests provides a set of examples that uses libfabric, a fabric software library. %prep -%setup -q -n libfabric-%{version}%{git_ver} -%patch0 -p1 +%autosetup -p1 -n libfabric-%{version}%{git_ver} %build cd fabtests diff --git a/libfabric.changes b/libfabric.changes index 6a0675f..2c7174c 100644 --- a/libfabric.changes +++ b/libfabric.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Feb 29 16:18:32 UTC 2024 - pgajdos@suse.com + +- Use %autosetup macro. Allows to eliminate the usage of deprecated + %patchN + ------------------------------------------------------------------- Sun Nov 19 17:27:58 UTC 2023 - Nicolas Morey diff --git a/libfabric.spec b/libfabric.spec index 2fad509..9a36ecc 100644 --- a/libfabric.spec +++ b/libfabric.spec @@ -65,8 +65,7 @@ libfabric provides a user-space API to access high-performance fabric services, such as RDMA. This package contains the development files. %prep -%setup -q -n %{name}-%{version}%{git_ver} -%patch0 -p1 +%autosetup -p1 -n %{name}-%{version}%{git_ver} %build rm -f config/libtool.m4