extra: add %ghc_subpackages_list

can be used by ghc etc for metapkg to depend on all subpackages
epel9
Jens Petersen 4 years ago
parent 523769efa9
commit 34a277046d

@ -12,6 +12,7 @@ print(name)\
local pv = rpm.expand("%1")\
print(string.sub(pv, string.find(pv, "[%d.]+$")))\
}}\
%global ghc_subpackages_list %{?ghc_subpackages_list} %{pkgname}-%{pkgver}\
%{!-x:%{?1:%global ghc_packages_list %{?ghc_packages_list} %{pkgname}-%{pkgver}}}\
%define ghc_prefix %{?ghc_name}%{!?ghc_name:ghc}\
%define basepkg %{ghc_prefix}-%{pkgname}\

Loading…
Cancel
Save