diff --git a/utempter.changes b/utempter.changes index 202f785..3855de1 100644 --- a/utempter.changes +++ b/utempter.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 20 15:42:14 UTC 2024 - Dominique Leuenberger + +- Use %autosetup macro. Allows to eliminate the usage of deprecated + %patchN + ------------------------------------------------------------------- Mon Apr 10 01:26:06 UTC 2023 - Muhammad Akbar Yanuar Mantari diff --git a/utempter.spec b/utempter.spec index bca48d1..0278347 100644 --- a/utempter.spec +++ b/utempter.spec @@ -59,9 +59,7 @@ Utempter is a privileged helper for utmp and wtmp updates. This package contains the library used by applications. %prep -%setup -q -n lib%{name}-%{version} -%patch0 -p1 -%patch1 -p1 +%autosetup -p1 -n lib%{name}-%{version} %build make %{?_smp_mflags} RPM_OPT_FLAGS="%{optflags} -fPIC" CC="gcc" libexecdir=%{_libexecdir}