ghc-rpm-macros/ghc.attr
Jens Petersen 3a116c6a29 ghc.attr: include Hadrian lib/ subdir in .conf regex
otherwise lib packages fail to generate devel deps
2023-02-16 00:02:53 +08:00

4 lines
322 B
Plaintext

%__ghc_provides %{_rpmconfigdir}/ghc-deps.sh --provides %{buildroot} %{ghclibdir} %{?ghc_name:ghc-%{ghc_version}}
%__ghc_requires %{_rpmconfigdir}/ghc-deps.sh --requires %{buildroot} %{ghclibdir} %{?ghc_name:ghc-%{ghc_version}}
%__ghc_path ^(%{ghcliblib}/(lib/)?package.conf.d/.*\.conf|%{ghclibplatform}/.*/libHS.*\_p.a)$