use %subpkgs
This commit is contained in:
parent
a960df423e
commit
11cab34e02
@ -5,6 +5,7 @@
|
||||
%global pkgver %{pkg_name}-%{version}
|
||||
|
||||
%global callstack call-stack-0.1.0
|
||||
%global subpkgs %{callstack}
|
||||
|
||||
%bcond_with tests
|
||||
|
||||
@ -47,7 +48,7 @@ This package provides the Haskell %{pkg_name} library development files.
|
||||
%global main_version %{version}
|
||||
|
||||
%if %{defined ghclibdir}
|
||||
%ghc_lib_subpackage %{callstack}
|
||||
%ghc_lib_subpackage %{subpkgs}
|
||||
%endif
|
||||
|
||||
%global version %{main_version}
|
||||
@ -58,13 +59,14 @@ This package provides the Haskell %{pkg_name} library development files.
|
||||
|
||||
|
||||
%build
|
||||
%ghc_libs_build %{callstack}
|
||||
%ghc_libs_build %{subpkgs}
|
||||
%ghc_lib_build
|
||||
|
||||
|
||||
%install
|
||||
%ghc_libs_install %{callstack}
|
||||
%ghc_libs_install %{subpkgs}
|
||||
%ghc_lib_install
|
||||
%ghc_fix_rpath %{subpkgs}
|
||||
|
||||
|
||||
%check
|
||||
|
Loading…
Reference in New Issue
Block a user