fix(elephant): update providers list (#10700) (#10704)

This commit is contained in:
Raboneko
2026-03-18 07:06:18 -07:00
committed by GitHub
parent 723a7b7b72
commit 85d577e910
2 changed files with 11 additions and 3 deletions
@@ -10,7 +10,7 @@
%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^golang\\(.*\\)$
%endif
%global providers archlinuxpkgs calc clipboard desktopapplications files menus providerlist runner symbols websearch
%global providers 1password archlinuxpkgs bitwarden bluetooth bookmarks calc clipboard desktopapplications dnfpackages files menus niriactions nirisessions providerlist runner snippets symbols todo unicode websearch windows wireplumber
# https://github.com/abenz1267/elephant
%global goipath github.com/abenz1267/elephant
@@ -26,8 +26,8 @@ Elephant - cuz it's phat - is a powerful data provider service and backend for b
%global godocs README.md
Name: elephant
Release: 1%{?dist}
Summary: None
Release: 2%{?dist}
Summary: Data provider service and backend for building custom application launchers & desktop utilities
License: GPL-3.0-only
URL: %{gourl}
+8
View File
@@ -1 +1,9 @@
rpm.version(gh_rawfile("abenz1267/elephant", "master", "cmd/elephant/version.txt"));
let dir = get("https://api.github.com/repos/abenz1267/elephant/contents/internal/providers/").json_arr();
let providers = "";
for f in dir {
if f.size == 0 { // dir
providers += f.name + " ";
}
}
rpm.global("providers", providers[0..providers.len - 1]);