From f083ec9677373d1b43f2db8486e2862f8e524ab4 Mon Sep 17 00:00:00 2001 From: madomado Date: Sat, 8 Jun 2024 13:49:00 +0800 Subject: [PATCH] fix: authy --- anda/apps/authy/authy.spec | 4 ++-- anda/apps/authy/update.rhai | 5 ----- 2 files changed, 2 insertions(+), 7 deletions(-) delete mode 100644 anda/apps/authy/update.rhai diff --git a/anda/apps/authy/authy.spec b/anda/apps/authy/authy.spec index ec4633d49f..c491600ffc 100644 --- a/anda/apps/authy/authy.spec +++ b/anda/apps/authy/authy.spec @@ -7,11 +7,11 @@ Name: authy Version: 2.5.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Two factor authentication desktop application License: Unlicense URL: https://authy.com/ -Source0: https://api.snapcraft.io/api/v1/snaps/download/H8ZpNgIoPyvmkgxOWw5MSzsXK1wRZiHn_23.snap +Source0: https://github.com/terrapkg/pkg-authy/raw/%version/H8ZpNgIoPyvmkgxOWw5MSzsXK1wRZiHn_23.snap Requires: gtk3 Requires: nss BuildRequires: squashfs-tools desktop-file-utils diff --git a/anda/apps/authy/update.rhai b/anda/apps/authy/update.rhai deleted file mode 100644 index 246c81cd05..0000000000 --- a/anda/apps/authy/update.rhai +++ /dev/null @@ -1,5 +0,0 @@ -let req = new_req("https://api.snapcraft.io/v2/snaps/info/authy"); -req.head("Snap-Device-Series", "16"); -let obj = json(req.get())["channel-map"][0]; -rpm.version(obj.version); -rpm.source(0, obj.download.url);