diff --git a/opensm.changes b/opensm.changes index 3950bde..a2a0228 100644 --- a/opensm.changes +++ b/opensm.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Feb 26 12:49:28 UTC 2024 - Dominique Leuenberger + +- Use %autosetup macro. Allows to eliminate the usage of deprecated + PatchN. + ------------------------------------------------------------------- Tue Jan 11 13:21:31 UTC 2022 - Nicolas Morey-Chaisemartin diff --git a/opensm.spec b/opensm.spec index 32222cf..ed57e02 100644 --- a/opensm.spec +++ b/opensm.spec @@ -93,8 +93,7 @@ Requires: libosmvendor%{lib_osmvendor_major} = %{version} Symlinks for the dynamic libraries and header files for OpenSM. %prep -%setup -q -n %{name}-%{version}%{git_ver} -%patch1 +%autosetup -p0 -n %{name}-%{version}%{git_ver} cp %{S:1} %{S:2} %{S:3} . FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e %%Y')