diff --git a/libevent.changes b/libevent.changes index 86761ed..04addbd 100644 --- a/libevent.changes +++ b/libevent.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Feb 29 16:15:04 UTC 2024 - pgajdos@suse.com + +- Use %autosetup macro. Allows to eliminate the usage of deprecated + %patchN + ------------------------------------------------------------------- Sun Jan 15 22:06:53 UTC 2023 - Cristian Rodríguez diff --git a/libevent.spec b/libevent.spec index 2c2de45..97f633b 100644 --- a/libevent.spec +++ b/libevent.spec @@ -112,10 +112,7 @@ signals or regular timeouts. This package holds the static libraries for libevent2. %prep -%setup -q -n %{name}-%{version}-%{version_suffix} -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 +%autosetup -p1 -n %{name}-%{version}-%{version_suffix} %build %global _lto_cflags %{_lto_cflags} -ffat-lto-objects