diff --git a/anda/lib/lomiri-url-dispatcher/lomiri-url-dispatcher.spec b/anda/lib/lomiri-url-dispatcher/lomiri-url-dispatcher.spec index 2499def02a..56f86e5dd1 100644 --- a/anda/lib/lomiri-url-dispatcher/lomiri-url-dispatcher.spec +++ b/anda/lib/lomiri-url-dispatcher/lomiri-url-dispatcher.spec @@ -3,7 +3,7 @@ %forgemeta Name: lomiri-url-dispatcher -Version: 0.1.0 +Version: 0.1.2 Release: %autorelease Summary: A small library for handling URLs over dbus @@ -26,6 +26,7 @@ BuildRequires: pkgconfig(sqlite3) BuildRequires: pkgconfig(systemd) BuildRequires: pkgconfig(libapparmor) Requires: lomiri-ui-toolkit +ExclusiveArch: x86_64 %description Lomiri-url-dispatcher is a small handler to take URLs and do what is appropriate with them. diff --git a/anda/lib/lomiri-url-dispatcher/update.rhai b/anda/lib/lomiri-url-dispatcher/update.rhai new file mode 100644 index 0000000000..3b89df98ff --- /dev/null +++ b/anda/lib/lomiri-url-dispatcher/update.rhai @@ -0,0 +1,3 @@ +let o = get("https://gitlab.com/api/v4/projects/17424894/repository/tags").json_arr()[0]; +rpm.global("commit", o.commit.id); +rpm.version(o.name); diff --git a/anda/others/lomiri-schemas/lomiri-schemas.spec b/anda/others/lomiri-schemas/lomiri-schemas.spec index 0b9a1a0b43..af451d8630 100644 --- a/anda/others/lomiri-schemas/lomiri-schemas.spec +++ b/anda/others/lomiri-schemas/lomiri-schemas.spec @@ -8,7 +8,7 @@ Release: %autorelease Summary: Configuration schemas for lomiri License: LGPLv2+ URL: https://gitlab.com/ubports/development/core/lomiri-schemas -Source0: %{url}/-/archive/%commit/lomiri-schemas-%commit.tar.gz +Source0: %url/-/archive/%commit/lomiri-schemas-%commit.tar.gz BuildArch: noarch BuildRequires: cmake diff --git a/anda/others/lomiri-schemas/update.rhai b/anda/others/lomiri-schemas/update.rhai new file mode 100644 index 0000000000..c8714d2f23 --- /dev/null +++ b/anda/others/lomiri-schemas/update.rhai @@ -0,0 +1,3 @@ +let o = get("https://gitlab.com/api/v4/projects/30932494/repository/tags").json_arr()[0]; +rpm.global("commit", o.commit.id); +rpm.version(o.name);