Add RemoteAssetURL

This commit is contained in:
2022-10-17 15:01:05 +02:00
parent c62c198193
commit 39e3c7186a
4 changed files with 7 additions and 21 deletions

View File

@@ -1,15 +0,0 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="versionprefix">0.0+git</param>
<param name="url">https://github.com/loops/idlehack.git</param>
<param name="scm">git</param>
<param name="exclude">.git*</param>
<param name="changesgenerate">enable</param>
<param name="changesauthor">mcepl@cepl.eu</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">*.tar</param>
<param name="compression">gz</param>
</service>
<service name="set_version" mode="disabled" />
</services>

View File

@@ -1,4 +0,0 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/loops/idlehack.git</param>
<param name="changesrevision">03b91c2a7717d72e9ff5fcd2eca46daae5964a5c</param></service></servicedata>

View File

@@ -22,7 +22,7 @@ Release: 0
Summary: Monitor dbus and inhibit swayidle when Firefox or Chromium request it
License: ISC
URL: https://github.com/loops/idlehack
Source0: idlehack-%{version}.tar.gz
#!RemoteAssetUrl: git+https://github.com/loops/idlehack.git
# PATCH-FIX-UPSTREAM order_libs.patch bugno mcepl@suse.com
# Fix building
Patch0: order_libs.patch
@@ -40,7 +40,12 @@ listens for these messages and then invokes "/bin/swayidle-inhibit"
which is responsible for temporarily disabling the screen blanking.
%prep
%autosetup -p1
%setup -q -n vis -c -T
# ( cd %{_sourcedir}/idlehack && git checkout -f devel )
cp -a %{_sourcedir}/idlehack/* .
%autopatch -p1
%build
%make_build