diff --git a/ghc-rpm-macros.spec b/ghc-rpm-macros.spec index 10e42cc..4884d36 100644 --- a/ghc-rpm-macros.spec +++ b/ghc-rpm-macros.spec @@ -136,7 +136,7 @@ EOF %changelog * Wed Aug 17 2016 Jens Petersen - 1.6.4-1 -- add ghc_sublib_build and ghc_sublib_install to ease bundling libraries +- add ghc_libs_build and ghc_libs_install to ease bundling libraries - drop _smp_mflags for now since it can overwhelm armv7hl * Sat Aug 6 2016 Jens Petersen - 1.6.3-1 diff --git a/macros.ghc-extra b/macros.ghc-extra index 07a63b3..d1cb0e9 100644 --- a/macros.ghc-extra +++ b/macros.ghc-extra @@ -57,7 +57,7 @@ This package provides the Haskell %{pkgname} library development files.\ %{nil} # ghc_sublib_build [name-version] ... -%ghc_sublib_build()\ +%ghc_libs_build()\ HOME=$PWD\ %define cabal_configure_options --user\ for i in %*; do\ @@ -78,7 +78,7 @@ done\ %{nil} # ghc_sublib_install [name-version] ... -%ghc_sublib_install()\ +%ghc_libs_install()\ HOME=$PWD\ for i in %*; do\ name=$(echo $i | sed -e "s/\\(.*\\)-.*/\\1/")\