hopefully fix %__ghc_lib_path for package .conf

epel9
Jens Petersen 10 years ago
parent 3d27a15aad
commit ab3cb96b9e

@ -49,7 +49,7 @@ for i in $files; do
*/package.conf.d/*.conf)
META=ghc-devel
PKGVER=$(echo $i | sed -e "s%$PKGCONFDIR/\(.\+\).conf%\1%")
if [ -f $PKGBASEDIR/$PKGVER/libHS$PKGVER-*.so ]; then
if [ -f $PKGBASEDIR/$PKGVER/libHS$PKGVER-ghc${GHC_VER}.so ]; then
SELF=ghc
fi
;;

@ -1,3 +1,3 @@
%__ghc_lib_provides %{_rpmconfigdir}/ghc-deps.sh --provides %{buildroot}%{ghclibdir}
%__ghc_lib_requires %{_rpmconfigdir}/ghc-deps.sh --requires %{buildroot}%{ghclibdir}
%__ghc_lib_path ^%{ghclibdir}/(.*/libHS.*\\.so|package\\.conf\\.d/*\\.conf)$
%__ghc_lib_path ^%{ghclibdir}/(.*/libHS.*\\.so|package\\.conf\\.d/.*\\.conf)$

Loading…
Cancel
Save