Remove obsolete patch.

This commit is contained in:
Matej Cepl 2022-10-17 15:16:09 +02:00
parent 39e3c7186a
commit 05c63e9fc2
Signed by: mcepl
GPG Key ID: 79205802880BC9D8
3 changed files with 5 additions and 19 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Oct 17 13:16:01 UTC 2022 - Matej Cepl <mcepl@suse.com>
- Remove obsolete patch.
-------------------------------------------------------------------
Mon Dec 6 07:04:01 UTC 2021 - Matej Cepl <mcepl@suse.com>

View File

@ -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

View File

@ -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)