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