|
|
|
@ -7,7 +7,7 @@
|
|
|
|
|
|
|
|
|
|
Name: ghc-rpm-macros
|
|
|
|
|
Version: 1.4.11
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: RPM macros for building packages for GHC
|
|
|
|
|
|
|
|
|
|
License: GPLv3+
|
|
|
|
@ -53,6 +53,24 @@ Extra macros used for subpackaging of Haskell libraries,
|
|
|
|
|
for example in ghc and haskell-platform.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# ideally packages should be obsoletes by some relevant package
|
|
|
|
|
# this is a last resort when there is no such appropriate package
|
|
|
|
|
%package -n ghc-obsoletes
|
|
|
|
|
Summary: Dummy package to obsolete deprecated Haskell packages
|
|
|
|
|
# 3 no longer build with ghc-7.8 (F22)
|
|
|
|
|
Obsoletes: ghc-ForSyDe < 3.1.2, ghc-ForSyDe-devel < 3.1.2
|
|
|
|
|
Obsoletes: ghc-parameterized-data < 0.1.6
|
|
|
|
|
Obsoletes: ghc-parameterized-data-devel < 0.1.6
|
|
|
|
|
Obsoletes: ghc-type-level < 0.2.5, ghc-type-level-devel < 0.2.5
|
|
|
|
|
# dropped from HP 2014.2 (F22)
|
|
|
|
|
Obsoletes: ghc-cgi < 3001.1.8, ghc-cgi-devel < 3001.1.8
|
|
|
|
|
|
|
|
|
|
%description -n ghc-obsoletes
|
|
|
|
|
Meta package for obsoleting deprecated Haskell packages.
|
|
|
|
|
|
|
|
|
|
This package can safely be removed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -c -T
|
|
|
|
|
cp %{SOURCE1} %{SOURCE2} .
|
|
|
|
@ -88,7 +106,16 @@ install -p -D -m 0755 %{SOURCE5} %{buildroot}/%{_bindir}/cabal-tweak-flag
|
|
|
|
|
%{macros_dir}/macros.ghc-extra
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?fedora} >= 22
|
|
|
|
|
%files -n ghc-obsoletes
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Mar 6 2015 Jens Petersen <petersen@redhat.com> - 1.4.11-2
|
|
|
|
|
- add ghc-obsoletes dummy subpackage for obsoleting deprecated packages
|
|
|
|
|
- initially: ForSyDe, parameterized-data, type-level, and cgi for F22
|
|
|
|
|
|
|
|
|
|
* Mon Mar 2 2015 Jens Petersen <petersen@redhat.com> - 1.4.11-1
|
|
|
|
|
- fix ghc-deps.sh to handle meta-packages
|
|
|
|
|
- configure --disable-shared if ghc_without_shared
|
|
|
|
|