use %subpkgs

This commit is contained in:
Jens Petersen 2017-02-25 13:05:28 +09:00
parent 6f04d0eaa4
commit 90a7155f5e
1 changed files with 3 additions and 2 deletions

View File

@ -5,6 +5,7 @@
%global pkgver %{pkg_name}-%{version}
%global integerlogarithms integer-logarithms-1.0.1
%global subpkgs %{integerlogarithms}
%bcond_with tests
@ -78,12 +79,12 @@ This package provides the Haskell %{pkg_name} library development files.
%build
%ghc_libs_build %{integerlogarithms}
%ghc_libs_build %{subpkgs}
%ghc_lib_build
%install
%ghc_libs_install %{integerlogarithms}
%ghc_libs_install %{subpkgs}
%ghc_lib_install