|
|
@ -66,7 +66,7 @@ LDFLAGS="${LDFLAGS:-%{?__global_ldflags}}"; export LDFLAGS\
|
|
|
|
%define pkgnamever %{pkgname}-%{pkgver}\
|
|
|
|
%define pkgnamever %{pkgname}-%{pkgver}\
|
|
|
|
%define basepkg %{?ghc_name}%{!?ghc_name:ghc}-%{pkgname}\
|
|
|
|
%define basepkg %{?ghc_name}%{!?ghc_name:ghc}-%{pkgname}\
|
|
|
|
%define docdir %{ghclibdocdir}/%{pkgnamever}\
|
|
|
|
%define docdir %{ghclibdocdir}/%{pkgnamever}\
|
|
|
|
keyname=$(%{_rpmconfigdir}/ghc-pkg-wrapper %{buildroot}%{ghclibdir} field %{pkgnamever} key | sed -e "s/key: //" | uniq)\
|
|
|
|
keyname=$(%{_rpmconfigdir}/ghc-pkg-wrapper %{buildroot}%{ghclibdir} field %{pkgnamever} key | uniq)\
|
|
|
|
pkgdir="%{ghclibdir}/${keyname}"\
|
|
|
|
pkgdir="%{ghclibdir}/${keyname}"\
|
|
|
|
rm -f %{basepkg}.files %{basepkg}-devel.files\
|
|
|
|
rm -f %{basepkg}.files %{basepkg}-devel.files\
|
|
|
|
touch %{basepkg}.files %{basepkg}-devel.files\
|
|
|
|
touch %{basepkg}.files %{basepkg}-devel.files\
|
|
|
|