2c0b10d
%global debug_package %{nil}
2c0b10d
98b6135
%global macros_dir %{_rpmconfigdir}/macros.d
4b65f2f
b95424a
# uncomment to bootstrap without hscolour
e08038a
#%%global without_hscolour 1
b95424a
e6a0b6c
Name:           ghc-rpm-macros
c5902ba
Version:        1.4.15
e7a174a
Release:        4%{?dist}
73b0bd1
Summary:        RPM macros for building packages for GHC
Yaakov Meir Nemoy b640c1a
eaa615f
License:        GPLv3+
9761c94
URL:            https://fedoraproject.org/wiki/Packaging:Haskell
Yaakov Meir Nemoy b640c1a
ae161ab
# This is a Fedora maintained package, originally made for
ae161ab
# the distribution.  Hence the source is currently only available
ae161ab
# from this package.  But it could be hosted on fedorahosted.org
ae161ab
# for example if other rpm distros would prefer that.
e313677
Source0:        macros.ghc
e6a0b6c
Source1:        COPYING
e6a0b6c
Source2:        AUTHORS
e6a0b6c
Source3:        ghc-deps.sh
7cdea6f
Source4:        cabal-tweak-dep-ver
6af89aa
Source5:        cabal-tweak-flag
e313677
Source6:        macros.ghc-extra
c624568
Source7:        ghc_bin.attr
c624568
Source8:        ghc_lib.attr
88337f5
Requires:       ghc-srpm-macros
48199c8
# macros.ghc-srpm moved out from redhat-rpm-config-21
48199c8
Requires:       redhat-rpm-config > 20-1.fc21
c624568
# for ghc_version
c624568
Requires:       ghc-compiler
b95424a
%if %{undefined without_hscolour}
0b6b019
# could use ghc_arches here
4ef4fab
%ifarch %{ix86} %{ix86} x86_64 ppc ppc64 alpha sparcv9 armv7hl armv5tel s390 s390x ppc64le aarch64
b95424a
Requires:       hscolour
b95424a
%endif
48199c8
%endif
Yaakov Meir Nemoy b640c1a
Yaakov Meir Nemoy b640c1a
%description
Yaakov Meir Nemoy b640c1a
A set of macros for building GHC packages following the Haskell Guidelines
4b65f2f
of the Fedora Haskell SIG.  ghc needs to be installed in order to make use of
4b65f2f
these macros.
Yaakov Meir Nemoy b640c1a
e6a0b6c
73b0bd1
%package extra
eaa615f
Summary:        Extra RPM macros for building Haskell library subpackages
73b0bd1
Requires:       %{name} = %{version}-%{release}
73b0bd1
73b0bd1
%description extra
eaa615f
Extra macros used for subpackaging of Haskell libraries,
eaa615f
for example in ghc and haskell-platform.
eaa615f
eaa615f
d609014
# ideally packages should be obsoleted by some relevant package
53322a2
# this is a last resort when there is no such appropriate package
53322a2
%package -n ghc-obsoletes
53322a2
Summary:        Dummy package to obsolete deprecated Haskell packages
f0f6b55
# these 3 no longer build with ghc-7.8 (F22)
53322a2
Obsoletes:      ghc-ForSyDe < 3.1.2, ghc-ForSyDe-devel < 3.1.2
53322a2
Obsoletes:      ghc-parameterized-data < 0.1.6
53322a2
Obsoletes:      ghc-parameterized-data-devel < 0.1.6
53322a2
Obsoletes:      ghc-type-level < 0.2.5, ghc-type-level-devel < 0.2.5
bf5ed29
Obsoletes:      leksah < 0.14, ghc-leksah < 0.14, ghc-leksah-devel < 0.14
53322a2
# dropped from HP 2014.2 (F22)
53322a2
Obsoletes:      ghc-cgi < 3001.1.8,  ghc-cgi-devel < 3001.1.8
53322a2
53322a2
%description -n ghc-obsoletes
53322a2
Meta package for obsoleting deprecated Haskell packages.
53322a2
53322a2
This package can safely be removed.
53322a2
53322a2
Yaakov Meir Nemoy b640c1a
%prep
Yaakov Meir Nemoy b640c1a
%setup -c -T
Yaakov Meir Nemoy b640c1a
cp %{SOURCE1} %{SOURCE2} .
Yaakov Meir Nemoy b640c1a
Yaakov Meir Nemoy b640c1a
Yaakov Meir Nemoy b640c1a
%build
Yaakov Meir Nemoy b640c1a
echo no build stage needed
Yaakov Meir Nemoy b640c1a
Yaakov Meir Nemoy b640c1a
Yaakov Meir Nemoy b640c1a
%install
4d2eb25
install -p -D -m 0644 %{SOURCE0} %{buildroot}/%{macros_dir}/macros.ghc
4d2eb25
install -p -D -m 0644 %{SOURCE6} %{buildroot}/%{macros_dir}/macros.ghc-extra
4b65f2f
ed9a00f
install -p -D -m 0755 %{SOURCE3} %{buildroot}/%{_prefix}/lib/rpm/ghc-deps.sh
c624568
install -p -D -m 0644 %{SOURCE7} %{buildroot}/%{_prefix}/lib/rpm/fileattrs/ghc_bin.attr
c624568
install -p -D -m 0644 %{SOURCE8} %{buildroot}/%{_prefix}/lib/rpm/fileattrs/ghc_lib.attr
Yaakov Meir Nemoy b640c1a
7cdea6f
install -p -D -m 0755 %{SOURCE4} %{buildroot}/%{_bindir}/cabal-tweak-dep-ver
6af89aa
install -p -D -m 0755 %{SOURCE5} %{buildroot}/%{_bindir}/cabal-tweak-flag
7cdea6f
Yaakov Meir Nemoy b640c1a
Yaakov Meir Nemoy b640c1a
%files
Yaakov Meir Nemoy b640c1a
%doc COPYING AUTHORS
73b0bd1
%{macros_dir}/macros.ghc
c624568
%{_prefix}/lib/rpm/fileattrs/ghc_bin.attr
c624568
%{_prefix}/lib/rpm/fileattrs/ghc_lib.attr
876ea62
%{_prefix}/lib/rpm/ghc-deps.sh
7cdea6f
%{_bindir}/cabal-tweak-dep-ver
6af89aa
%{_bindir}/cabal-tweak-flag
Yaakov Meir Nemoy b640c1a
Yaakov Meir Nemoy b640c1a
73b0bd1
%files extra
73b0bd1
%{macros_dir}/macros.ghc-extra
73b0bd1
73b0bd1
53322a2
%if 0%{?fedora} >= 22
53322a2
%files -n ghc-obsoletes
53322a2
%endif
53322a2
53322a2
Yaakov Meir Nemoy b640c1a
%changelog
e7a174a
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.15-4
e7a174a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
e7a174a
d5bd4b8
* Wed Jun 17 2015 Jens Petersen <petersen@redhat.com> - 1.4.15-3
d5bd4b8
- reenable dynamic linking for aarch64 (#1195231)
d5bd4b8
bf5ed29
* Mon May 25 2015 Jens Petersen <petersen@redhat.com> - 1.4.15-2
bf5ed29
- add leksah to ghc-obsoletes
bf5ed29
c5902ba
* Thu May  7 2015 Jens Petersen <petersen@redhat.com> - 1.4.15-1
c5902ba
- cabal macro now sets utf8 locale
c5902ba
- disable dynamic linking on aarch64 as a workaround (#1195231)
c5902ba
e5d78dc
* Thu Apr  2 2015 Jens Petersen <petersen@redhat.com> - 1.4.14-1
e5d78dc
- add explicit --enable-shared again for arm64
e5d78dc
0c236fe
* Mon Mar 23 2015 Jens Petersen <petersen@redhat.com> - 1.4.13-1
0c236fe
- fix ghc-deps.sh for ghc builds:
0c236fe
- use .a files again instead of .conf for devel deps
0c236fe
- extract pkg-ver from library filename rather than directory
0c236fe
  (should also work for 7.10)
cfbdfc6
- introduce ghc_pkgdocdir since no _pkgdocdir in RHEL 7 and earlier
cfbdfc6
f0f6b55
* Sat Mar  7 2015 Jens Petersen <petersen@fedoraproject.org> - 1.4.12-1
f0f6b55
- allow overriding ghc- prefix with ghc_name (for ghc784 etc)
f0f6b55
53322a2
* Fri Mar  6 2015 Jens Petersen <petersen@redhat.com> - 1.4.11-2
53322a2
- add ghc-obsoletes dummy subpackage for obsoleting deprecated packages
53322a2
- initially: ForSyDe, parameterized-data, type-level, and cgi for F22
53322a2
0b6b019
* Mon Mar  2 2015 Jens Petersen <petersen@redhat.com> - 1.4.11-1
0b6b019
- fix ghc-deps.sh to handle meta-packages
0b6b019
- configure --disable-shared if ghc_without_shared
0b6b019
c2213a0
* Fri Feb 27 2015 Jens Petersen <petersen@fedoraproject.org> - 1.4.10-1
c2213a0
- have to turn off hardening in cabal_configure: set _hardened_ldflags to nil
c2213a0
a706fe5
* Fri Feb 27 2015 Jens Petersen <petersen@fedoraproject.org> - 1.4.9-1
47247e4
- turn off _hardened_build for libraries since it breaks linking
47247e4
  <https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code>
47247e4
81726e4
* Sun Feb  1 2015 Jens Petersen <petersen@redhat.com> - 1.4.8-1
81726e4
- drop cabal_tests_not_working since not all tests failing on ARMv7
81726e4
efcc8cc
* Sat Jan 31 2015 Jens Petersen <petersen@redhat.com> - 1.4.7-1
efcc8cc
- fix arch for cabal_tests_not_working
efcc8cc
- add cabal_test macro which uses it
efcc8cc
d80a2ea
* Sat Jan 31 2015 Jens Petersen <petersen@redhat.com> - 1.4.6-1
d80a2ea
- disable Cabal tests on armv7 since they give an internal error
d80a2ea
  https://ghc.haskell.org/trac/ghc/ticket/10029
9460154
- fix building of meta packages:
c13aaea
- only run cabal haddock for real libraries with modules
9460154
- make sure basepkg.files is also created for meta packages
d80a2ea
edf9be1
* Sat Jan 31 2015 Jens Petersen <petersen@redhat.com> - 1.4.5-1
edf9be1
- fix the R*PATH regexp
edf9be1
07399a8
* Sat Jan 31 2015 Jens Petersen <petersen@redhat.com> - 1.4.4-1
07399a8
- ghc_fix_dynamic_rpath: on ARMv7 RPATH is RUNPATH
07399a8
856d813
* Thu Jan 22 2015 Jens Petersen <petersen@redhat.com> - 1.4.3-1
856d813
- version ghcpkgdocdir
856d813
- add new names ghc_html_dir, ghc_html_libraries_dir, and ghc_html_pkg_dir
856d813
170e218
* Thu Jan 22 2015 Jens Petersen <petersen@redhat.com> - 1.4.2-1
170e218
- correct cabal-tweak-flag error message for missing flag (#1184508)
170e218
4b3c243
* Sat Jan 17 2015 Jens Petersen <petersen@redhat.com> - 1.4.1-1
4b3c243
- revert to versioned doc htmldirs
4b3c243
a93d106
* Sat Jan 17 2015 Jens Petersen <petersen@redhat.com> - 1.4.0-1
a93d106
- enable shared libraries and dynamic linking on all arch's
a93d106
  since ghc-7.8 now supports that
a93d106
- disable debuginfo until ghc-7.10 which will support dwarf debugging output
a93d106
  (#1138982)
a93d106
c624568
* Fri Nov 14 2014 Jens Petersen <petersen@redhat.com> - 1.3.10-1
c624568
- split ghc.attr into ghc_lib.attr and ghc_bin.attr for finer grained handling
c624568
- require ghc-compiler for ghc_version
c624568
83e7a4f
* Mon Oct 27 2014 Jens Petersen <petersen@redhat.com> - 1.3.9-1
83e7a4f
- macros.ghc: cabal_configure now passes CFLAGS and LDFLAGS to ghc (#1138982)
83e7a4f
  (thanks to Sergei Trofimovich and Ville Skyttä)
83e7a4f
87f872d
* Thu Oct 23 2014 Jens Petersen <petersen@redhat.com> - 1.3.8-1
4b3c243
- ghc-deps.sh: support ghc-pkg for ghc builds <= 7.4.2 as well
87f872d
9914f51
* Thu Oct 16 2014 Jens Petersen <petersen@redhat.com> - 1.3.7-1
33502e3
- ghc.attr needs to handle requires for /usr/bin files too
33502e3
2da26f9
* Wed Sep 10 2014 Jens Petersen <petersen@redhat.com> - 1.3.6-1
2da26f9
- improve ghc_fix_dynamic_rpath not to assume cwd = pkg_name
2da26f9
3efe41d
* Fri Aug 29 2014 Jens Petersen <petersen@redhat.com> - 1.3.5-1
3efe41d
- no longer disable debuginfo by default:
3efe41d
  packages now need to explicitly opt out of debuginfo if appropriate
3efe41d
19ad5a5
* Thu Aug 28 2014 Jens Petersen <petersen@redhat.com> - 1.3.4-1
19ad5a5
- drop -O2 for ghc-7.8: it uses too much build mem
19ad5a5
8479b07
* Fri Aug 22 2014 Jens Petersen <petersen@redhat.com> - 1.3.3-1
8479b07
- temporarily revert to ghc-7.6 config for shared libs
8479b07
  until we move to ghc-7.8
8479b07
d02dbab
* Thu Aug 21 2014 Jens Petersen <petersen@redhat.com> - 1.3.2-1
d02dbab
- add an rpm .attr file for ghc-deps.sh rather than running it
d02dbab
  as an external dep generator (#1132275)
d02dbab
  (see http://rpm.org/wiki/PackagerDocs/DependencyGenerator)
d02dbab
7a5198b
* Wed Aug 20 2014 Jens Petersen <petersen@redhat.com> - 1.3.1-1
7a5198b
- fix warning in macros.ghc-extra about unused pkgnamever
7a5198b
c4f882c
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-2
c4f882c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
c4f882c
8598900
* Sat Aug  2 2014 Jens Petersen <petersen@redhat.com> - 1.3.0-1
8598900
- shared libs available for all archs in ghc-7.8
8598900
- cabal_configure --disable-shared with ghc_without_shared
8598900
- ghc_clear_execstack no longer needed
8598900
88337f5
* Fri Jun 27 2014 Jens Petersen <petersen@redhat.com> - 1.2.13-2
88337f5
- ghc-srpm-macros is now a separate source package
88337f5
4ef4fab
* Fri Jun  6 2014 Jens Petersen <petersen@redhat.com> - 1.2.13-1
4ef4fab
- add aarch64
4ef4fab
72f890d
* Sun Jun  1 2014 Jens Petersen <petersen@redhat.com> - 1.2.12-1
72f890d
- add missing ppc64, s390, and s390x to ghc_arches
72f890d
- add new ppc64le to ghc_arches
72f890d
06868af
* Fri May 30 2014 Jens Petersen <petersen@redhat.com> - 1.2.11-1
69ab773
- condition use of execstack since no prelink on ppc64le or arm64
69ab773
e91ddde
* Wed May 21 2014 Dennis Gilmore <dennis@ausil.us> - 1.2.10-2
e91ddde
- add %%ghc_arches back to macros.ghc-srpm to maintain compatability with
e91ddde
- existing specs
e91ddde
972cb47
* Fri May 16 2014 Jens Petersen <petersen@redhat.com> - 1.2.10-1
972cb47
- do bcond cabal configure --enable-tests also for Bin packages
972cb47
0273f7e
* Fri May 16 2014 Jens Petersen <petersen@redhat.com> - 1.2.9-1
0273f7e
- enable configure bcond check for tests
0273f7e
e67c7ef
* Tue May 13 2014 Jens Petersen <petersen@redhat.com> - 1.2.8-1
e67c7ef
- use -O2 also for executable (Bin) packages and allow it to be overrided
e67c7ef
48199c8
* Wed Apr 30 2014 Jens Petersen <petersen@redhat.com> - 1.2.7-1
48199c8
- ghc-rpm-macros requires ghc-srpm-macros
48199c8
- ghc-srpm-macros does not require ghc-rpm-macros
48199c8
- drop ExclusiveArch and make hscolour requires arch conditional
48199c8
- make ghc-srpm-macros subpackage noarch
48199c8
- set Url field when generating subpackages
48199c8
eaa615f
* Mon Apr 28 2014 Jens Petersen <petersen@redhat.com> - 1.2.6-1
eaa615f
- move macros.ghc-srpm from redhat-rpm-config to new ghc-srpm-macros subpackage:
eaa615f
  defines ghc_arches_with_ghci and drops no longer used ghc_arches (#1089102)
eaa615f
- update license tag to GPLv3+
eaa615f
8f2ef12
* Fri Mar 28 2014 Jens Petersen <petersen@redhat.com> - 1.2.5-1
8f2ef12
- handle no _pkgdocdir in RHEL7 and docdir path different to F20+
8f2ef12
671df91
* Mon Mar 17 2014 Jens Petersen <petersen@redhat.com> - 1.2.4-1
671df91
- abort ghc_fix_dynamic_rpath if no chrpath
671df91
98b6135
* Thu Feb 13 2014 Ville Skyttä <ville.skytta@iki.fi> - 1.2.3-2
98b6135
- Install macros to %%{_rpmconfigdir}/macros.d.
98b6135
e4c93cb
* Mon Feb 10 2014 Jens Petersen <petersen@redhat.com> - 1.2.3-1
e4c93cb
- set datasubdir in cabal_configure for ghc-7.8
e4c93cb
3ec60c7
* Fri Jan 10 2014 Jens Petersen <petersen@redhat.com> - 1.2.2-1
3ec60c7
- quote the ghc_fix_dynamic_rpath error message
3ec60c7
caadeff
* Fri Jan 10 2014 Jens Petersen <petersen@redhat.com> - 1.2.1-1
caadeff
- ghc_fix_dynamic_rpath: abort for non-existent executable name
caadeff
- cabal-tweak-flag: add manual field to enforce flag changes
caadeff
4d2eb25
* Tue Oct 15 2013 Jens Petersen <petersen@redhat.com> - 1.2-1
4d2eb25
- add ghcpkgdocdir, which like _pkgdocdir allows for unversioned haddock dirs
4d2eb25
795c0c5
* Tue Sep 10 2013 Jens Petersen <petersen@redhat.com> - 1.1.3-1
795c0c5
- ghc-deps.sh: fix ghc-pkg path when bootstrapping new ghc version
795c0c5
0cd6abb
* Mon Sep  9 2013 Jens Petersen <petersen@redhat.com> - 1.1.2-1
0cd6abb
- fix ghc-deps.sh when bootstrapping a new ghc version
0cd6abb
db486c2
* Mon Sep  9 2013 Jens Petersen <petersen@redhat.com> - 1.1.1-1
db486c2
- use objdump -p instead of ldd to read executable dependencies
db486c2
a2f7c2b
* Sat Sep  7 2013 Jens Petersen <petersen@redhat.com> - 1.1-1
a2f7c2b
- update ghc-deps.sh to handling ghc-7.8 rts
a2f7c2b
c7830b0
* Tue Aug 27 2013 Jens Petersen <petersen@redhat.com> - 1.0.8-1
c7830b0
- drop ghc_docdir in favor of _pkgdocdir
c7830b0
- no longer version package htmldirs
c7830b0
8bc7b06
* Fri Jul 26 2013 Jens Petersen <petersen@redhat.com> - 1.0.7-1
8bc7b06
- add ghc_docdir for package's docdir since not provided by standard macros
8bc7b06
40a7e82
* Fri Jul 26 2013 Jens Petersen <petersen@redhat.com> - 1.0.6-1
f67d26b
- also make %%ghc_lib_build docdir unversioned
40a7e82
- require redhat-rpm-config >= 9.1.0-50.fc20 for unversioned docdir
40a7e82
e5c7bca
* Fri Jul 26 2013 Jens Petersen <petersen@redhat.com> - 1.0.5-1
e5c7bca
- F20 Change: docdir's are now unversioned
e5c7bca
2e67bb2
* Thu Jul 11 2013 Jens Petersen <petersen@redhat.com> - 1.0.4-1
2e67bb2
- check for bindir before looking for executables in ghc_clear_execstack
2e67bb2
49912b0
* Wed Jul 10 2013 Jens Petersen <petersen@redhat.com> - 1.0.3-1
49912b0
- add ghc_clear_execstack and use it also in ghc_lib_install (#973512)
2e67bb2
  and require prelink for execstack
49912b0
1b79de9
* Tue Jul  9 2013 Jens Petersen <petersen@redhat.com> - 1.0.2-1
1b79de9
- drop doc and prof obsoletes and provides from ghc_lib_subpackage
1b79de9
- clear executable stack flag when installing package executables (#973512)
1b79de9
f0c10c9
* Thu Jun 20 2013 Jens Petersen <petersen@redhat.com> - 1.0.1-1
f0c10c9
- only configure with --global if not subpackaging libs
f0c10c9
e08038a
* Thu Jun 20 2013 Jens Petersen <petersen@redhat.com> - 1.0-3
e08038a
- reenable hscolour
e08038a
328fc11
* Thu Jun 20 2013 Jens Petersen <petersen@redhat.com> - 1.0-2
328fc11
- turn off hscolour for bootstrap
328fc11
3790c3a
* Wed Jun 19 2013 Jens Petersen <petersen@redhat.com> - 1.0-1
3790c3a
- add --global to cabal_configure
3790c3a
54b3388
* Mon Jun 17 2013 Jens Petersen <petersen@redhat.com> - 0.99.4-1
54b3388
- merge remaining extra macros into ghc_lib_subpackage
54b3388
80fec1c
* Thu Jun  6 2013 Jens Petersen <petersen@redhat.com> - 0.99.3-1
80fec1c
- configure builds with ghc -O2 (#880135)
80fec1c
9761c94
* Wed Jun  5 2013 Jens Petersen <petersen@redhat.com> - 0.99.2-1
9761c94
- drop -h option from extra macros and make -m work again
9761c94
9761c94
* Fri May 17 2013 Jens Petersen <petersen@redhat.com> - 0.99.1-1
9761c94
- drop new ghc_compiler macro since it is not good for koji
f0c10c9
- ghc_fix_dynamic_rpath: do not assume first RPATH
9761c94
73b0bd1
* Tue Apr 23 2013 Jens Petersen <petersen@redhat.com> - 0.99-1
73b0bd1
- update for simplified revised Haskell Packaging Guidelines
73b0bd1
  (https://fedorahosted.org/fpc/ticket/194)
73b0bd1
- packaging for without_shared is now done the same way as shared
73b0bd1
  to make non-shared arch packages same as shared ones:
73b0bd1
  so all archs will now have base library binary packages
73b0bd1
- move spec section metamacros and multiple library packaging macros still
73b0bd1
  needed for ghc and haskell-platform to new extra subpackage
73b0bd1
- drop ghc_add_basepkg_file macro and ghc_exclude_docdir
6910d07
- for ghc-7.6 --global-package-db replaces --global-conf and
6910d07
  --no-user-package-db deprecates --no-user-package-conf
73b0bd1
9921428
* Wed Mar 20 2013 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.98.1-4
9921428
- Remove %%config from %%{_sysconfdir}/rpm/macros.*
9921428
  (https://fedorahosted.org/fpc/ticket/259).
9921428
15903c5
* Tue Feb 26 2013 Jens Petersen <petersen@redhat.com> - 0.98.1-3
15903c5
- only add lib pkgdir to filelist if it exists
15903c5
  to fix haskell-platform build on secondary archs (no shared libs)
15903c5
- add ghc_with_lib_for_ghci which re-enables ghci library .o files
15903c5
  (should not normally be necessary since ghci can load .a files)
15903c5
6153b67
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.98.1-2
6153b67
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
6153b67
11c364e
* Tue Jan 22 2013 Jens Petersen <petersen@redhat.com> - 0.98.1-1
11c364e
- simplify cabal-tweak-flag script to take one flag value
11c364e
436bfaf
* Mon Jan 21 2013 Jens Petersen <petersen@redhat.com> - 0.98-1
436bfaf
- new ghc_fix_dynamic_rpath macro for cleaning up package executables
436bfaf
  linked against their own libraries
436bfaf
59daf96
* Fri Jan 18 2013 Jens Petersen <petersen@redhat.com> - 0.97.6-1
59daf96
- be more careful about library pkgdir ownership (#893777)
59daf96
6af89aa
* Mon Dec  3 2012 Jens Petersen <petersen@redhat.com> - 0.97.5-1
6af89aa
- add cabal-tweak-flag script for toggling flag default
6af89aa
4add392
* Sat Nov 17 2012 Jens Petersen <petersen@redhat.com> - 0.97.4-1
4add392
- enable hscolour again
4add392
548aff6
* Sat Nov 17 2012 Jens Petersen <petersen@redhat.com> - 0.97.3.1-1
548aff6
- bootstrap hscolour
548aff6
bda56fd
* Thu Oct 25 2012 Jens Petersen <petersen@redhat.com> - 0.97.3-1
bda56fd
- BR redhat-rpm-config instead of ghc-rpm-macros
bda56fd
- no longer set without_hscolour in macros.ghc for bootstrapping
bda56fd
20b1088
* Tue Oct  9 2012 Jens Petersen <petersen@redhat.com> - 0.97.2-1
20b1088
- "cabal haddock" needs --html option with --hoogle to output html
20b1088
5d116cb
* Thu Sep 20 2012 Jens Petersen <petersen@redhat.com> - 0.97.1-2
5d116cb
- no need to BR hscolour
5d116cb
a233764
* Wed Sep 19 2012 Jens Petersen <petersen@redhat.com> - 0.97.1-1
a233764
- fix broken duplicate hash output for haskell-platform binaries buildhack
a233764
  when haskell-platform locally installed
a233764
b95424a
* Sat Sep  8 2012 Jens Petersen <petersen@redhat.com> - 0.97-1
b95424a
- ghc-rpm-macros now requires hscolour so packages no longer need to BR it
b95424a
- this can be disabled for bootstrapping by setting without_hscolour
b95424a
befa5e1
* Fri Aug 24 2012 Jens Petersen <petersen@redhat.com> - 0.96-1
befa5e1
- make haddock build hoogle files
befa5e1
- Fedora ghc-7.4.2 Cabal will not build ghci lib files by default
befa5e1
1d2eebf
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.95.6-2
1d2eebf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
1d2eebf
ac776c3
* Mon Jun 25 2012 Jens Petersen <petersen@redhat.com> - 0.95.6-1
ac776c3
- provide doc from devel a little longer to silence rpmlint
ac776c3
20cbe43
* Fri Jun 22 2012 Jens Petersen <petersen@redhat.com> - 0.95.5.1-1
20cbe43
- cabal-tweak-dep-ver: be careful only to match complete dep name and
20cbe43
  do not match beyond ","
20cbe43
59008ed
* Fri Jun 22 2012 Jens Petersen <petersen@redhat.com> - 0.95.5-1
59008ed
- some cabal-tweak-dep-ver improvements:
59008ed
- show file name when no match
59008ed
- backslash quote . and * in the match string
59008ed
- create a backup file if none exists
1cb0fba
8a8de3a
* Fri Jun 22 2012 Jens Petersen <petersen@redhat.com> - 0.95.4-1
7cdea6f
- new cabal-tweak-dep-ver script to tweak depends version bounds in .cabal
8a8de3a
8e22621
* Sat Jun  9 2012 Jens Petersen <petersen@redhat.com> - 0.95.3-1
8e22621
- ghc-dep.sh: only use buildroot package.conf.d if it exists
8e22621
1b8536a
* Fri Jun  8 2012 Jens Petersen <petersen@redhat.com> - 0.95.2-1
1b8536a
- ghc-deps.sh: look in buildroot package.conf.d for program deps
1b8536a
c013051
* Fri Jun  8 2012 Jens Petersen <petersen@redhat.com> - 0.95.1-1
c013051
- add a meta-package option to ghc_devel_package and use in ghc_devel_requires
c013051
dae8fa2
* Thu Jun  7 2012 Jens Petersen <petersen@redhat.com> - 0.95-1
dae8fa2
- let ghc_bin_install take an arg to disable implicit stripping for subpackages
dae8fa2
fa247e6
* Thu Jun  7 2012 Jens Petersen <petersen@redhat.com> - 0.94-1
fa247e6
- allow ghc_description, ghc_devel_description, ghc_devel_post_postun
fa247e6
  to take args
fa247e6
bbc5f8f
* Thu Jun  7 2012 Jens Petersen <petersen@redhat.com> - 0.93-1
bbc5f8f
- fix doc handling of subpackages for ghc_without_shared
bbc5f8f
64b3d67
* Thu Jun  7 2012 Jens Petersen <petersen@redhat.com> - 0.92-1
64b3d67
- move --disable-library-for-ghci to ghc_lib_build
64b3d67
- revert back to fallback behaviour for common_summary and common_description
64b3d67
  since it is needed for ghc and haskell-platform subpackaging
8fc16e2
- without ghc_exclude_docdir include doc dir also for subpackages
64b3d67
5abcaac
* Tue Jun  5 2012 Jens Petersen <petersen@redhat.com> - 0.91-1
88a603f
- no longer build redundant ghci .o library files
6b6cf52
- support meta packages like haskell-platform without base lib files
6b6cf52
- make it possible not to have to use common_summary and common_description
89972ec
- rename ghc_binlib_package to ghc_lib_subpackage
5abcaac
- add ghc_lib_build_without_haddock
5abcaac
- no longer drop into package dirs when subpackaging with ghc_lib_build and
5abcaac
  ghc_lib_install
88a603f
- add shell variable cabal_configure_extra_options to cabal_configure for
88a603f
  local configuration
6b6cf52
7ffdbdc
* Mon Mar 19 2012 Jens Petersen <petersen@redhat.com> - 0.90-1
7ffdbdc
- use new rpm metadata hash format for ghc-7.4
7ffdbdc
- drop prof meta hash data
7ffdbdc
- no longer include doc files automatically by default
7ffdbdc
- no longer provide doc subpackage
7ffdbdc
- do not provide prof when without_prof set
7ffdbdc
8cf968c
* Thu Feb 23 2012 Jens Petersen <petersen@redhat.com> - 0.15.5-1
8cf968c
- fix handling of devel docdir for non-shared builds
8cf968c
- simplify ghc_bootstrap
8cf968c
ab41e2f
* Thu Jan 19 2012 Jens Petersen <petersen@redhat.com> - 0.15.4-1
ab41e2f
- allow dynamic linking of Setup with ghc_without_shared set
ab41e2f
fe1a0f2
* Fri Jan  6 2012 Jens Petersen <petersen@redhat.com> - 0.15.3-1
488948b
- new ghc_add_basepkg_file to add a path to base lib package filelist
fe1a0f2
2089fc7
* Wed Dec 28 2011 Jens Petersen <petersen@redhat.com> - 0.15.2-1
2089fc7
- add ghc_devel_post_postun to help koji/mock with new macros
2089fc7
19872dc
* Tue Dec 27 2011 Jens Petersen <petersen@redhat.com> - 0.15.1-1
19872dc
- add ghc_package, ghc_description, ghc_devel_package, ghc_devel_description
19872dc
19872dc
* Tue Dec 27 2011 Jens Petersen <petersen@redhat.com> - 0.15-1
683aba9
- new ghc_files wrapper macro for files which takes base doc files as args
683aba9
  and uses new ghc_shared_files and ghc_devel_files macros
227b33e
- when building for non-shared archs move installed docfiles to devel docdir
683aba9
72e5db3
* Fri Dec  2 2011 Jens Petersen <petersen@redhat.com> - 0.14.3-1
72e5db3
- do not use ghc user config by default when compiling Setup
72e5db3
- do not setup hscolour if without_hscolour defined
72e5db3
d32b457
* Thu Nov 17 2011 Jens Petersen <petersen@redhat.com> - 0.14.2-1
d32b457
- test for HsColour directly when running "cabal haddock" instead of
72e5db3
  check hscolour is available (reported by Giam Teck Choon, #753833)
d32b457
b1204c4
* Sat Nov 12 2011 Jens Petersen <petersen@redhat.com> - 0.14.1-1
b1204c4
- fix double listing of docdir in base lib package
b1204c4
7229f10
* Tue Nov  1 2011 Jens Petersen <petersen@redhat.com> - 0.14-1
7229f10
- replace devel ghc requires with ghc-compiler
fb65ca3
- disable testsuite in ghc_bootstrap
7229f10
0b163b3
* Mon Oct 17 2011 Jens Petersen <petersen@redhat.com> - 0.13.13-1
0b163b3
- add ghc_bootstrapping to ghc_bootstrap for packages other than ghc
0b163b3
- make ghc-deps.sh also work when bootstrapping a new ghc version
0b163b3
bd7f38e
* Sat Oct 15 2011 Jens Petersen <petersen@redhat.com> - 0.13.12-1
bd7f38e
- add ghc_exclude_docdir to exclude docdir from filelists
bd7f38e
fb19847
* Fri Sep 30 2011 Jens Petersen <petersen@redhat.com> - 0.13.11-1
fb19847
- fix devel subpackage's prof and doc obsoletes and provides versions
fb19847
  for multiple lib packages like ghc (reported by Henrik Nordström)
fb19847
5995766
* Tue Sep 13 2011 Jens Petersen <petersen@redhat.com> - 0.13.10-1
5995766
- do not setup ghc-deps.sh when ghc_bootstrapping
5995766
- add ghc_test build config
5995766
dfb8f01
* Wed Aug  3 2011 Jens Petersen <petersen@redhat.com> - 0.13.9-1
dfb8f01
- drop without_testsuite from ghc_bootstrap since it breaks koji
dfb8f01
f0b5c1b
* Fri Jul  1 2011 Jens Petersen <petersen@redhat.com> - 0.13.8-1
f0b5c1b
- drop redundant defattr from filelists
f0b5c1b
- move dependency generator setup from ghc_package_devel to ghc_lib_install
f0b5c1b
  in line with ghc_bin_install
f0b5c1b
283779d
* Mon Jun 27 2011 Jens Petersen <petersen@redhat.com> - 0.13.7-1
283779d
- add requires for redhat-rpm-config for ghc_arches
283779d
- drop ghc_bootstrapping from ghc_bootstrap: doesn't work for koji
283779d
4773ef1
* Fri Jun 17 2011 Jens Petersen <petersen@redhat.com> - 0.13.6-1
4773ef1
- also set ghc_without_dynamic for ghc_bootstrap
4773ef1
- drop without_hscolour from ghc_bootstrap: doesn't work for koji
4773ef1
e6a0b6c
* Fri Jun 17 2011 Jens Petersen <petersen@redhat.com> - 0.13.5-1
e6a0b6c
- ghc_bootstrap is now a macro which sets ghc_bootstrapping,
e6a0b6c
  ghc_without_shared, without_prof, without_haddock, without_hscolour,
e6a0b6c
  without_manual, without_testsuite
e6a0b6c
- tweaks to ghc_check_bootstrap
e6a0b6c
ed9a00f
* Fri Jun 17 2011 Jens Petersen <petersen@redhat.com> - 0.13.4-1
ed9a00f
- add ghc_check_bootstrap
ed9a00f
232d016
* Thu Jun  2 2011 Jens Petersen <petersen@redhat.com> - 0.13.3-1
232d016
- rename macros.ghc-pkg back to macros.ghc
232d016
- move the devel summary prefix back to a suffix
232d016
4b65f2f
* Sat May 28 2011 Jens Petersen <petersen@redhat.com> - 0.13.2-1
4b65f2f
- macros need to live in /etc/rpm
4b65f2f
- use macro_file for macros.ghc filepath
4b65f2f
da128f9
* Sat May 28 2011 Jens Petersen <petersen@redhat.com> - 0.13.1-1
da128f9
- move macros.ghc to /usr/lib/rpm to avoid conflict with redhat-rpm-config
da128f9
1bc67af
* Wed May 11 2011 Jens Petersen <petersen@redhat.com> - 0.13-1
1bc67af
- merge prof subpackages into devel to simplify packaging
1bc67af
eab5583
* Mon May  9 2011 Jens Petersen <petersen@redhat.com> - 0.12.1-1
eab5583
- include ghc_pkg_c_deps even when -c option used
eab5583
8af86b7
* Sat May  7 2011 Jens Petersen <petersen@redhat.com> - 0.12.0-1
8af86b7
- drop ghc_pkg_deps from ghc_package_devel and ghc_package_prof since
8af86b7
  ghc-deps.sh generates better inter-package dependencies already
8af86b7
- condition --htmldir on pkg_name
8af86b7
cbf3d70
* Fri Apr  1 2011 Jens Petersen <petersen@redhat.com> - 0.11.14-1
cbf3d70
- provides ghc-*-doc still needed for current lib templates
cbf3d70
cd30bb3
* Mon Mar 28 2011 Jens Petersen <petersen@redhat.com> - 0.11.13-1
cd30bb3
- ghc-deps.sh: check PKGBASEDIR exists to avoid warning for bin package
cd30bb3
- abort cabal_configure if ghc is not self-bootstrapped
cbf3d70
- make ghc_reindex_haddock a safe no-op
cd30bb3
- no longer provide ghc-*-doc
cd30bb3
- no longer run ghc_reindex_haddock in ghc-*-devel scripts
cd30bb3
82b34c5
* Thu Mar 10 2011 Jens Petersen <petersen@redhat.com> - 0.11.12-1
82b34c5
- add ghc_pkg_obsoletes to binlib base lib package too
82b34c5
30ceea2
* Wed Mar  9 2011 Jens Petersen <petersen@redhat.com> - 0.11.11-1
30ceea2
- add docdir when subpackaging packages too
30ceea2
2c0b10d
* Sun Feb 13 2011 Jens Petersen <petersen@redhat.com> - 0.11.10-1
2c0b10d
- this package is now arch-dependent
2c0b10d
- rename without_shared to ghc_without_shared and without_dynamic
2c0b10d
  to ghc_without_dynamic so that they can be globally defined for
2c0b10d
  secondary archs without shared libs
2c0b10d
- use %%undefined macro
2c0b10d
- disable debug_package in ghc_bin_build and ghc_lib_build
2c0b10d
- set ghc_without_shared and ghc_without_dynamic on secondary
cd30bb3
  (ie non main intel) archs
2c0b10d
- disable debuginfo for self
2c0b10d
2600540
* Fri Feb 11 2011 Jens Petersen <petersen@redhat.com> - 0.11.9-1
2600540
- revert "set without_shared and without_dynamic by default on secondary archs
2600540
  in cabal_bin_build and cabal_lib_build" change, since happening for all archs
2600540
30f51fc
* Thu Feb 10 2011 Jens Petersen <petersen@redhat.com> - 0.11.8-1
30f51fc
- only link Setup dynamically if without_shared and without_dynamic not set
30f51fc
- set without_shared and without_dynamic by default on secondary archs
30f51fc
  in cabal_bin_build and cabal_lib_build
2600540
- add cabal_configure_options to pass extra options to cabal_configure
30f51fc
1f4312a
* Thu Feb 10 2011 Jens Petersen <petersen@redhat.com> - 0.11.7-1
1f4312a
- fix ghc-deps.sh for without_shared libraries
1f4312a
ee9ff3e
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11.6-2
ee9ff3e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
ee9ff3e
876ea62
* Sat Jan 29 2011 Jens Petersen <petersen@redhat.com> - 0.11.6-1
876ea62
- simplify adding shared subpackage license file
876ea62
- own ghc-deps.sh not /usr/lib/rpm
876ea62
a1abcaa
* Sun Jan 23 2011 Jens Petersen <petersen@redhat.com> - 0.11.5-1
a1abcaa
- add rpm hash requires for dynamic executables in ghc-deps.sh
a1abcaa
- compile Setup in cabal macro
a1abcaa
- use _rpmconfigdir
a1abcaa
b13abae
* Sat Jan 22 2011 Jens Petersen <petersen@redhat.com> - 0.11.4-1
b13abae
- drop deprecated ghcdocdir and ghcpkgdir
b13abae
- new ghclibdocdir
b13abae
- replace some missed RPM_BUILD_ROOT's
b13abae
- bring back ghc requires in ghc_devel_requires
b13abae
- improve prof summary and description
b13abae
- add without_prof and without_haddock option macros
b13abae
0f8bb53
* Fri Jan 21 2011 Jens Petersen <petersen@redhat.com> - 0.11.3-1
0f8bb53
- compile Setup to help speed up builds
0f8bb53
4d6720d
* Thu Jan 20 2011 Jens Petersen <petersen@redhat.com> - 0.11.2-1
4d6720d
- put docdir (license) also into shared lib subpackage
4d6720d
- add ghc_binlib_package option to exclude package from ghc_packages_list
4d6720d
- condition lib base package additional description for srpm
4d6720d
086f1bc
* Mon Jan  3 2011 Jens Petersen <petersen@redhat.com> - 0.11.1-1
086f1bc
- use buildroot instead of RPM_BUILD_ROOT
086f1bc
- rename ghcpkgbasedir to ghclibdir
086f1bc
- split "[name-version]" args into "[name] [version]" args
086f1bc
- move remaining name and version macro options (-n and -v) to args
086f1bc
- drop deprecated -o options
086f1bc
abebb6d
* Thu Dec 30 2010 Jens Petersen <petersen@redhat.com> - 0.11.0-1
c6c20a5
- add support for subpackaging ghc's libraries:
c6c20a5
- deprecate ghcpkgdir and ghcdocdir from now on
c6c20a5
- ghc_gen_filelists optional arg is now name-version
c6c20a5
- ghc_lib_build, ghc_lib_install, cabal_pkg_conf now take optional
c6c20a5
  name-version arg
c6c20a5
7d50a02
* Mon Dec 20 2010 Jens Petersen <petersen@redhat.com> - 0.10.3-1
7d50a02
- revert disabling debug_package, since with redhat-rpm-config installed
7d50a02
  the behaviour depended on the position of ghc_lib_package in the spec file
4d6720d
  (reported by narasim)
7d50a02
21e17e3
* Fri Nov 26 2010 Jens Petersen <petersen@redhat.com>
21e17e3
- drop with_devhelp since --html-help option gone from haddock-2.8.0
21e17e3
2f1663e
* Tue Nov 23 2010 Jens Petersen <petersen@redhat.com> - 0.10.2-1
2f1663e
- ignore ghc's builtin pseudo-libs
2f1663e
3ca7af7
* Tue Nov 23 2010 Jens Petersen <petersen@redhat.com> - 0.10.1-1
3ca7af7
- bring back the explicit n-v-r internal package requires for devel and prof packages
3ca7af7
7232a81
* Mon Nov 22 2010 Jens Petersen <petersen@redhat.com> - 0.10.0-1
3ca7af7
- turn on pkg hash metadata (for ghc-7 builds)
3ca7af7
- ghc-deps.sh now requires an extra buildroot/ghcpkgbasedir arg
3ca7af7
- automatic internal package deps from prof to devel to base
3ca7af7
- rename ghc_requires to ghc_devel_requires
3ca7af7
- drop ghc_doc_requires
3ca7af7
- ghc_reindex_haddock is deprecated and now a no-op
7232a81
02c69a3
* Thu Sep 30 2010 Jens Petersen <petersen@redhat.com> - 0.9.1-1
02c69a3
- fix without_shared build so it actually works
02c69a3
02c69a3
* Thu Sep 30 2010 Jens Petersen <petersen@redhat.com> - 0.9.0-1
02c69a3
- add rpm provides and requires script ghc-deps.sh for package hash metadata
742ca58
- turn on hash provides and disable debuginfo by default
742ca58
- make shared and hscolour default
02c69a3
- use without_shared and without_hscolour to disable them
742ca58
- add ghc_pkg_obsoletes for obsoleting old packages
742ca58
- use ghcpkgbasedir
742ca58
- always obsolete -doc packages, but keep -o for now for backward compatibility
742ca58
601aa5f
* Fri Jul 16 2010 Jens Petersen <petersen@redhat.com> - 0.8.1-1
17c8f12
- fix ghc_strip_dynlinked when no dynlinked files
601aa5f
- devel should provide doc also when not obsoleting
601aa5f
4e21230
* Fri Jul 16 2010 Jens Petersen <petersen@redhat.com> - 0.8.0-1
4e21230
- merge -doc into -devel and provide -o obsoletes doc subpackage option
4e21230
428e0de
* Mon Jun 28 2010 Jens Petersen <petersen@redhat.com> - 0.7.1-1
428e0de
- support hscolour'ing of src from haddock
428e0de
- really remove redundant summary and description option flags
428e0de
28ead10
* Sat Jun 26 2010 Jens Petersen <petersen@redhat.com> - 0.7.0-1
28ead10
- new ghc_bin_build, ghc_bin_install, ghc_lib_build, ghc_lib_install
28ead10
85dddb6
* Thu Jun 24 2010 Jens Petersen <petersen@redhat.com> - 0.6.2-1
85dddb6
- a couple more fallback summary tweaks
85dddb6
f7eafbf
* Thu Jun 24 2010 Jens Petersen <petersen@redhat.com> - 0.6.1-1
f7eafbf
- drop the summary -s and description -d package options since rpm does not
f7eafbf
  seem to allow white\ space in macro option args anyway
f7eafbf
4e07127
* Wed Jun 23 2010 Jens Petersen <petersen@redhat.com> - 0.6.0-1
4e07127
- make ghc_strip_dynlinked conditional on no debug_package
4e07127
07f858e
* Wed Jun 23 2010 Jens Petersen <petersen@redhat.com> - 0.5.9-1
07f858e
- replace ghc_strip_shared with ghc_strip_dynlinked
07f858e
eaf2421
* Sun Jun 20 2010 Jens Petersen <petersen@redhat.com> - 0.5.8-1
eaf2421
- add ghc_strip_shared to strip shared libraries
eaf2421
a0e7ada
* Sun Jun 20 2010 Jens Petersen <petersen@redhat.com> - 0.5.7-1
a0e7ada
- add comments over macros
a0e7ada
- drop unused cabal_makefile
a0e7ada
d9a9b5f
* Mon Apr 12 2010 Jens Petersen <petersen@redhat.com> - 0.5.6-1
d9a9b5f
- drop unused ghc_pkg_ver macro
d9a9b5f
- add ghc_pkg_recache macro
d9a9b5f
4393386
* Fri Jan 15 2010 Jens Petersen <petersen@redhat.com> - 0.5.5-1
191657b
- drop optional 2nd version arg from ghcdocdir, ghcpkgdir, and
4393386
  ghc_gen_filelists: multiversion subpackages are not supported
4393386
- add ghcpkgbasedir
4393386
- bring back some shared conditions which were dropped temporarily
4393386
- test for ghcpkgdir and ghcdocdir in ghc_gen_filelists
4393386
- allow optional pkgname arg for cabal_pkg_conf
4393386
- can now package gtk2hs
4393386
a0bbde9
* Mon Jan 11 2010 Jens Petersen <petersen@redhat.com> - 0.5.4-1
a0bbde9
- use -v in ghc_requires and ghc_prof_requires for version
a0bbde9
9d7c9ae
* Mon Jan 11 2010 Jens Petersen <petersen@redhat.com> - 0.5.3-1
9d7c9ae
- drop "Library for" from base lib summary
9d7c9ae
5f3759a
* Mon Jan 11 2010 Jens Petersen <petersen@redhat.com> - 0.5.2-1
5f3759a
- use -n in ghc_requires and ghc_prof_requires for when no pkg_name
5f3759a
c97ee70
* Mon Jan 11 2010 Jens Petersen <petersen@redhat.com> - 0.5.1-1
c97ee70
- add ghcdocbasedir
c97ee70
- revert ghcdocdir to match upstream ghc
c97ee70
- ghcdocdir and ghcpkgdir now take optional name version args
c97ee70
- update ghc_gen_filelists to new optional name version args
c97ee70
- handle docdir in ghc_gen_filelists
c97ee70
- ghc_reindex_haddock uses ghcdocbasedir
c97ee70
- summary and description options to ghc_binlib_package, ghc_package_devel,
c97ee70
  ghc_package_doc, and ghc_package_prof
c97ee70
23340a3
* Sun Jan 10 2010 Jens Petersen <petersen@redhat.com> - 0.5.0-1
23340a3
- pkg_name must be set now for binlib packages too
23340a3
- new ghc_lib_package and ghc_binlib_package macros make packaging too easy
23340a3
- ghc_package_devel, ghc_package_doc, and ghc_package_prof helper macros
23340a3
- ghc_gen_filelists now defaults to ghc-%%{pkg_name}
23340a3
- add dynamic bcond to cabal_configure instead of cabal_configure_dynamic
23340a3
dffc2c5
* Thu Dec 24 2009 Jens Petersen <petersen@redhat.com> - 0.4.0-1
dffc2c5
- add cabal_configure_dynamic
dffc2c5
- add ghc_requires, ghc_doc_requires, ghc_prof_requires
dffc2c5
8b0ec9d
* Tue Dec 15 2009 Jens Petersen <petersen@redhat.com> - 0.3.1-1
8b0ec9d
- use ghc_version_override to override ghc_version
8b0ec9d
- fix pkg .conf filelist match
8b0ec9d
b22ec88
* Sat Dec 12 2009 Jens Petersen <petersen@redhat.com> - 0.3.0-1
b22ec88
- major updates for ghc-6.12, package.conf.d, and shared libraries
b22ec88
- add shared support to cabal_configure, ghc_gen_filelists
b22ec88
- version ghcdocdir
b22ec88
- replace ghc_gen_scripts, ghc_install_scripts, ghc_register_pkg, ghc_unregister_pkg
b22ec88
  with cabal_pkg_conf
b22ec88
- allow (ghc to) override ghc_version
b22ec88
d007836
* Mon Nov 16 2009 Jens Petersen <petersen@redhat.com> - 0.2.5-1
d007836
- make ghc_pkg_ver only return pkg version
d007836
b8f63cf
* Mon Nov 16 2009 Jens Petersen <petersen@redhat.com> - 0.2.4-1
b8f63cf
- change GHCRequires to ghc_pkg_ver
b8f63cf
32ffe2c
* Mon Nov 16 2009 Jens Petersen <petersen@redhat.com> - 0.2.3-1
32ffe2c
- use the latest installed pkg version for %%GHCRequires
32ffe2c
5edaabc
* Mon Nov 16 2009 Jens Petersen <petersen@redhat.com> - 0.2.2-1
5edaabc
- add %%GHCRequires for automatically versioned library deps
5edaabc
87815fa
* Tue Sep 22 2009 Jens Petersen <petersen@redhat.com> - 0.2.1-2
87815fa
- no, revert versioned ghcdocdir again!
87815fa
082b15a
* Tue Sep 22 2009 Jens Petersen <petersen@redhat.com> - 0.2.1-1
082b15a
- version ghcdocdir to allow multiple doc versions like ghcpkgdir
082b15a
86afb6d
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-2
86afb6d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
86afb6d
c938f3b
* Tue Jun  9 2009 Jens Petersen <petersen@redhat.com> - 0.2-1
c938f3b
- drop version from ghcdocdir since it breaks haddock indexing
c938f3b
Yaakov Meir Nemoy fb06b40
* Wed May 13 2009 Yaakov M. Nemoy <ynemoy@fedoraproject.org> - 0.1-7
Yaakov Meir Nemoy fb06b40
- specifies the macros file as a %%conf
Yaakov Meir Nemoy fb06b40
Yaakov Meir Nemoy b640c1a
* Sat May  9 2009 Yaakov M. Nemoy <ynemoy@fedoraproject.org> - 0.1-6
Yaakov Meir Nemoy b640c1a
- removes archs and replaces with noarch
Yaakov Meir Nemoy b640c1a
- bumps to avoid conflicts with jens
Yaakov Meir Nemoy b640c1a
Yaakov Meir Nemoy b640c1a
* Fri May  8 2009 Jens Petersen <petersen@redhat.com> - 0.1-5
Yaakov Meir Nemoy b640c1a
- make it arch specific to fedora ghc archs
Yaakov Meir Nemoy b640c1a
- setup a build dir so it can build from the current working dir
Yaakov Meir Nemoy b640c1a
Yaakov Meir Nemoy b640c1a
* Wed May  6 2009 Yaakov M. Nemoy <ynemoy@fedoraproject.org> - 0.1-4
Yaakov Meir Nemoy b640c1a
- renamed license file
Yaakov Meir Nemoy b640c1a
- removed some extraneous comments needed only at review time
Yaakov Meir Nemoy b640c1a
Yaakov Meir Nemoy b640c1a
* Wed May  6 2009 Yaakov M. Nemoy <ynemoy@fedoraproject.org> - 0.1-3
Yaakov Meir Nemoy b640c1a
- updated license to GPLv3
Yaakov Meir Nemoy b640c1a
- added AUTHORS file
Yaakov Meir Nemoy b640c1a
Yaakov Meir Nemoy b640c1a
* Tue May  5 2009 Yaakov M. Nemoy <ghc@hexago.nl> - 0.1-2
Yaakov Meir Nemoy b640c1a
- moved copying license from %%build to %%prep
Yaakov Meir Nemoy b640c1a
Yaakov Meir Nemoy b640c1a
* Mon May  4 2009 Yaakov M. Nemoy <ghc@hexago.nl> - 0.1-1
Yaakov Meir Nemoy b640c1a
- creation of package
Yaakov Meir Nemoy b640c1a