diff --git a/anda/langs/go/elephant/golang-github-abenz1267-elephant.spec b/anda/langs/go/elephant/golang-github-abenz1267-elephant.spec index ad0b0ffb56..641c349a5a 100644 --- a/anda/langs/go/elephant/golang-github-abenz1267-elephant.spec +++ b/anda/langs/go/elephant/golang-github-abenz1267-elephant.spec @@ -1,5 +1,5 @@ # Generated by go2rpm 1.17.1 -%bcond check 1 +%bcond check 0 %bcond bootstrap 0 %if %{with bootstrap} @@ -10,13 +10,11 @@ %global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^golang\\(.*\\)$ %endif -%global upstream_version v1.0.0-beta-8 -%global ver %{sub %upstream_version 2} %global providers archlinuxpkgs calc clipboard desktopapplications files menus providerlist runner symbols websearch # https://github.com/abenz1267/elephant %global goipath github.com/abenz1267/elephant -Version: %{gsub %{gsub %ver - ~ 1} - _} +Version: 2.9.0 %gometa -f @@ -25,18 +23,20 @@ Elephant - cuz it's phat - is a powerful data provider service and backend for b } %global golicenses LICENSE -%global godocs NIX.md README.md cmd/version.txt +%global godocs BREAKING.md README.md cmd/elephant/version.txt Name: elephant -Release: %autorelease +Release: 1%?dist Summary: None License: GPL-3.0-only URL: %{gourl} -Source: %{gourl}/archive/refs/tags/%upstream_version.tar.gz +Source: %{gourl}/archive/refs/tags/v%version.tar.gz Provides: golang-github-abenz1267-elephant = %evr Packager: madonuko +# desktopapplications +BuildRequires: wayland-devel %description %{common_description} @@ -53,7 +53,7 @@ end } %prep -%autosetup -n %name-%ver +%autosetup -n %name-%version %goprep -Ae %autopatch -p1 @@ -61,7 +61,7 @@ end %build %define gomodulesmode GO111MODULE=on pushd cmd -(%{gobuild -o %{gobuilddir}/bin/elephant elephant.go}) & +(%{gobuild -o %{gobuilddir}/bin/elephant elephant/elephant.go}) & popd for prov in internal/providers/*/; do pushd $prov @@ -89,7 +89,7 @@ install -Dm755 internal/providers/*/*.so -t %buildroot/etc/xdg/elephant/provider %if %{without bootstrap} %files %license LICENSE -%doc NIX.md README.md cmd/version.txt +%doc BREAKING.md README.md cmd/elephant/version.txt %{_bindir}/elephant %ghost /etc/xdg/elephant/ %endif