Remove obsolete patch.
This commit is contained in:
parent
39e3c7186a
commit
05c63e9fc2
@ -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>
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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)
|
Loading…
Reference in New Issue
Block a user