need to create ghost package.conf.old for ghc-6.10
This commit is contained in:
parent
c7ae1a2bd5
commit
a8cf709ba6
8
ghc.spec
8
ghc.spec
@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
Name: ghc
|
Name: ghc
|
||||||
Version: 6.10.0.20081007
|
Version: 6.10.0.20081007
|
||||||
Release: 7%{?dist}
|
Release: 8%{?dist}
|
||||||
Summary: Glasgow Haskell Compilation system
|
Summary: Glasgow Haskell Compilation system
|
||||||
# See https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=239713
|
# See https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=239713
|
||||||
ExcludeArch: alpha ppc64
|
ExcludeArch: alpha ppc64
|
||||||
@ -140,6 +140,9 @@ cat rpm-dir.files rpm-lib.files > rpm-base-filelist
|
|||||||
cat rpm-dir.files rpm-prof.files > rpm-prof-filelist
|
cat rpm-dir.files rpm-prof.files > rpm-prof-filelist
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
# create package.conf.old
|
||||||
|
touch $RPM_BUILD_ROOT%{_libdir}/ghc-%{version}/package.conf.old
|
||||||
|
|
||||||
# these are handled as alternatives
|
# these are handled as alternatives
|
||||||
for i in hsc2hs runhaskell; do
|
for i in hsc2hs runhaskell; do
|
||||||
if [ -x ${RPM_BUILD_ROOT}%{_bindir}/$i-ghc ]; then
|
if [ -x ${RPM_BUILD_ROOT}%{_bindir}/$i-ghc ]; then
|
||||||
@ -218,6 +221,9 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Oct 23 2008 Jens Petersen <petersen@redhat.com> - 6.10.0.20081007-8
|
||||||
|
- need to create ghost package.conf.old for ghc-6.10
|
||||||
|
|
||||||
* Thu Oct 23 2008 Jens Petersen <petersen@redhat.com> - 6.10.0.20081007-7
|
* Thu Oct 23 2008 Jens Petersen <petersen@redhat.com> - 6.10.0.20081007-7
|
||||||
- use gen_contents_index to re-index haddock
|
- use gen_contents_index to re-index haddock
|
||||||
- add %%pkg_docdir to cabal_configure
|
- add %%pkg_docdir to cabal_configure
|
||||||
|
Loading…
Reference in New Issue
Block a user