diff --git a/idlehack.changes b/idlehack.changes index 4cf21f1..d38a2b8 100644 --- a/idlehack.changes +++ b/idlehack.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Oct 17 13:16:01 UTC 2022 - Matej Cepl + +- Remove obsolete patch. + ------------------------------------------------------------------- Mon Dec 6 07:04:01 UTC 2021 - Matej Cepl diff --git a/idlehack.spec b/idlehack.spec index d463262..894ff8c 100644 --- a/idlehack.spec +++ b/idlehack.spec @@ -23,9 +23,6 @@ Summary: Monitor dbus and inhibit swayidle when Firefox or Chromium reque License: ISC URL: https://github.com/loops/idlehack #!RemoteAssetUrl: git+https://github.com/loops/idlehack.git -# PATCH-FIX-UPSTREAM order_libs.patch bugno mcepl@suse.com -# Fix building -Patch0: order_libs.patch BuildRequires: pkgconfig BuildRequires: systemd-rpm-macros BuildRequires: pkgconfig(dbus-1) @@ -42,11 +39,8 @@ which is responsible for temporarily disabling the screen blanking. %prep %setup -q -n vis -c -T -# ( cd %{_sourcedir}/idlehack && git checkout -f devel ) cp -a %{_sourcedir}/idlehack/* . -%autopatch -p1 - %build %make_build diff --git a/order_libs.patch b/order_libs.patch deleted file mode 100644 index 36c1165..0000000 --- a/order_libs.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- - Makefile | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - ---- a/Makefile -+++ b/Makefile -@@ -1,4 +1,4 @@ - CFLAGS:=$(shell pkg-config --cflags dbus-1) -DHAVE_LIBSYSTEMD -DHAVE_UNISTD_H -DGETTIMEOFDAY_TWO_ARGS -O3 - LDFLAGS:=$(shell pkg-config --libs dbus-1) $(shell pkg-config --libs libsystemd) --idlehack: idlehack.c blurb.c yarandom.c -- -+idlehack: idlehack.o blurb.o yarandom.o -+ cc -o $@ $? $(LDFLAGS)