diff --git a/kbdsniffd.changes b/kbdsniffd.changes index 007fe3f..cc6be1f 100644 --- a/kbdsniffd.changes +++ b/kbdsniffd.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Feb 22 12:41:03 UTC 2024 - Dominique Leuenberger + +- Use %autosetup macro. Allows to eliminate the usage of deprecated + %patchN + ------------------------------------------------------------------- Fri Oct 15 12:12:22 UTC 2021 - Johannes Segitz diff --git a/kbdsniffd.spec b/kbdsniffd.spec index 4ba0747..cfc2c48 100644 --- a/kbdsniffd.spec +++ b/kbdsniffd.spec @@ -41,8 +41,7 @@ blind user wants to use a screenreader without a braille display the grabbed keys can be used to trigger special screenreader functions %prep -%setup -q -%patch0 -p1 +%autosetup -p1 %build make CFLAGS="%{optflags} -D_POSIX_C_SOURCE=2 -D_BSD_SOURCE" LIB_CFLAGS="%{optflags} -D_POSIX_C_SOURCE=2 -D_BSD_SOURCE -fPIC" CC="%{__cc}" LD="%{__cc}"