2011-02-12 15:07:05 +00:00
|
|
|
%global debug_package %{nil}
|
|
|
|
|
2011-06-02 04:35:47 +00:00
|
|
|
%global macros_file %{_sysconfdir}/rpm/macros.ghc
|
2011-05-28 06:02:35 +00:00
|
|
|
|
2011-06-17 08:00:17 +00:00
|
|
|
Name: ghc-rpm-macros
|
2012-05-25 13:10:06 +00:00
|
|
|
Version: 0.91
|
2011-06-17 08:00:17 +00:00
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Macros for building packages for GHC
|
2009-05-13 07:37:39 +00:00
|
|
|
|
2011-06-17 08:00:17 +00:00
|
|
|
Group: Development/Libraries
|
|
|
|
License: GPLv3
|
|
|
|
URL: https://fedoraproject.org/wiki/Haskell_SIG
|
2009-05-13 07:37:39 +00:00
|
|
|
|
|
|
|
# This is a Fedora maintained package which is specific to
|
|
|
|
# our distribution. Thus the source is only available from
|
2012-03-21 08:41:59 +00:00
|
|
|
# within this srpm. But it could be moved to fedorahosted.org
|
|
|
|
# if other rpm distros want to use it.
|
2011-06-17 08:00:17 +00:00
|
|
|
Source0: ghc-rpm-macros.ghc
|
|
|
|
Source1: COPYING
|
|
|
|
Source2: AUTHORS
|
|
|
|
Source3: ghc-deps.sh
|
2011-06-27 02:55:16 +00:00
|
|
|
Requires: redhat-rpm-config
|
2009-05-13 07:37:39 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
A set of macros for building GHC packages following the Haskell Guidelines
|
2011-05-28 06:02:35 +00:00
|
|
|
of the Fedora Haskell SIG. ghc needs to be installed in order to make use of
|
|
|
|
these macros.
|
2009-05-13 07:37:39 +00:00
|
|
|
|
2011-06-17 08:00:17 +00:00
|
|
|
|
2009-05-13 07:37:39 +00:00
|
|
|
%prep
|
|
|
|
%setup -c -T
|
|
|
|
cp %{SOURCE1} %{SOURCE2} .
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
echo no build stage needed
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
2011-06-17 03:29:21 +00:00
|
|
|
install -p -D -m 0644 %{SOURCE0} ${RPM_BUILD_ROOT}/%{macros_file}
|
2011-05-28 06:02:35 +00:00
|
|
|
|
2011-06-17 03:29:21 +00:00
|
|
|
install -p -D -m 0755 %{SOURCE3} %{buildroot}/%{_prefix}/lib/rpm/ghc-deps.sh
|
2009-05-13 07:37:39 +00:00
|
|
|
|
2011-02-12 15:07:05 +00:00
|
|
|
# this is why this package is now arch-dependent:
|
|
|
|
# turn off shared libs and dynamic linking on secondary archs
|
|
|
|
%ifnarch %{ix86} x86_64
|
2011-05-28 06:02:35 +00:00
|
|
|
cat >> %{buildroot}/%{macros_file} <<EOF
|
2011-02-12 15:07:05 +00:00
|
|
|
|
2011-02-12 16:10:18 +00:00
|
|
|
# shared libraries are only supported on primary intel archs
|
|
|
|
%%ghc_without_dynamic 1
|
|
|
|
%%ghc_without_shared 1
|
2011-02-12 15:07:05 +00:00
|
|
|
EOF
|
|
|
|
%endif
|
|
|
|
|
2009-05-13 07:37:39 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%doc COPYING AUTHORS
|
2011-05-28 06:02:35 +00:00
|
|
|
%config(noreplace) %{macros_file}
|
2011-01-29 12:34:52 +00:00
|
|
|
%{_prefix}/lib/rpm/ghc-deps.sh
|
2009-05-13 07:37:39 +00:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2012-05-25 13:10:06 +00:00
|
|
|
* Fri May 25 2012 Jens Petersen <petersen@redhat.com> - 0.91-1
|
|
|
|
- only build ghci .o library files on ghc_arches_with_ghci
|
|
|
|
- support meta packages like haskell-platform without base lib files
|
|
|
|
- make it possible not to have to use common_summary and common_description
|
|
|
|
|
2012-03-21 08:41:59 +00:00
|
|
|
* Mon Mar 19 2012 Jens Petersen <petersen@redhat.com> - 0.90-1
|
|
|
|
- use new rpm metadata hash format for ghc-7.4
|
|
|
|
- drop prof meta hash data
|
|
|
|
- no longer include doc files automatically by default
|
|
|
|
- no longer provide doc subpackage
|
|
|
|
- do not provide prof when without_prof set
|
|
|
|
|
2012-02-23 09:10:50 +00:00
|
|
|
* Thu Feb 23 2012 Jens Petersen <petersen@redhat.com> - 0.15.5-1
|
|
|
|
- fix handling of devel docdir for non-shared builds
|
|
|
|
- simplify ghc_bootstrap
|
|
|
|
|
2012-01-19 09:33:08 +00:00
|
|
|
* Thu Jan 19 2012 Jens Petersen <petersen@redhat.com> - 0.15.4-1
|
|
|
|
- allow dynamic linking of Setup with ghc_without_shared set
|
|
|
|
|
2012-01-06 13:56:31 +00:00
|
|
|
* Fri Jan 6 2012 Jens Petersen <petersen@redhat.com> - 0.15.3-1
|
2012-01-06 13:57:28 +00:00
|
|
|
- new ghc_add_basepkg_file to add a path to base lib package filelist
|
2012-01-06 13:56:31 +00:00
|
|
|
|
2011-12-28 03:05:32 +00:00
|
|
|
* Wed Dec 28 2011 Jens Petersen <petersen@redhat.com> - 0.15.2-1
|
|
|
|
- add ghc_devel_post_postun to help koji/mock with new macros
|
|
|
|
|
2011-12-27 14:50:55 +00:00
|
|
|
* Tue Dec 27 2011 Jens Petersen <petersen@redhat.com> - 0.15.1-1
|
|
|
|
- add ghc_package, ghc_description, ghc_devel_package, ghc_devel_description
|
|
|
|
|
|
|
|
* Tue Dec 27 2011 Jens Petersen <petersen@redhat.com> - 0.15-1
|
2011-12-27 00:57:08 +00:00
|
|
|
- new ghc_files wrapper macro for files which takes base doc files as args
|
|
|
|
and uses new ghc_shared_files and ghc_devel_files macros
|
2011-12-27 06:08:53 +00:00
|
|
|
- when building for non-shared archs move installed docfiles to devel docdir
|
2011-12-27 00:57:08 +00:00
|
|
|
|
2011-12-02 13:20:12 +00:00
|
|
|
* Fri Dec 2 2011 Jens Petersen <petersen@redhat.com> - 0.14.3-1
|
|
|
|
- do not use ghc user config by default when compiling Setup
|
|
|
|
- do not setup hscolour if without_hscolour defined
|
|
|
|
|
2011-11-17 05:36:50 +00:00
|
|
|
* Thu Nov 17 2011 Jens Petersen <petersen@redhat.com> - 0.14.2-1
|
|
|
|
- test for HsColour directly when running "cabal haddock" instead of
|
2011-12-02 13:20:12 +00:00
|
|
|
check hscolour is available (reported by Giam Teck Choon, #753833)
|
2011-11-17 05:36:50 +00:00
|
|
|
|
2011-11-12 12:59:12 +00:00
|
|
|
* Sat Nov 12 2011 Jens Petersen <petersen@redhat.com> - 0.14.1-1
|
|
|
|
- fix double listing of docdir in base lib package
|
|
|
|
|
2011-11-01 12:18:49 +00:00
|
|
|
* Tue Nov 1 2011 Jens Petersen <petersen@redhat.com> - 0.14-1
|
|
|
|
- replace devel ghc requires with ghc-compiler
|
2011-11-01 12:24:30 +00:00
|
|
|
- disable testsuite in ghc_bootstrap
|
2011-11-01 12:18:49 +00:00
|
|
|
|
2011-10-18 08:43:47 +00:00
|
|
|
* Mon Oct 17 2011 Jens Petersen <petersen@redhat.com> - 0.13.13-1
|
|
|
|
- add ghc_bootstrapping to ghc_bootstrap for packages other than ghc
|
|
|
|
- make ghc-deps.sh also work when bootstrapping a new ghc version
|
|
|
|
|
2011-10-15 04:01:58 +00:00
|
|
|
* Sat Oct 15 2011 Jens Petersen <petersen@redhat.com> - 0.13.12-1
|
|
|
|
- add ghc_exclude_docdir to exclude docdir from filelists
|
|
|
|
|
2011-09-30 01:43:58 +00:00
|
|
|
* Fri Sep 30 2011 Jens Petersen <petersen@redhat.com> - 0.13.11-1
|
|
|
|
- fix devel subpackage's prof and doc obsoletes and provides versions
|
|
|
|
for multiple lib packages like ghc (reported by Henrik Nordström)
|
|
|
|
|
2011-09-13 01:14:17 +00:00
|
|
|
* Tue Sep 13 2011 Jens Petersen <petersen@redhat.com> - 0.13.10-1
|
|
|
|
- do not setup ghc-deps.sh when ghc_bootstrapping
|
|
|
|
- add ghc_test build config
|
|
|
|
|
2011-08-03 08:14:24 +00:00
|
|
|
* Wed Aug 3 2011 Jens Petersen <petersen@redhat.com> - 0.13.9-1
|
|
|
|
- drop without_testsuite from ghc_bootstrap since it breaks koji
|
|
|
|
|
2011-07-01 04:54:49 +00:00
|
|
|
* Fri Jul 1 2011 Jens Petersen <petersen@redhat.com> - 0.13.8-1
|
|
|
|
- drop redundant defattr from filelists
|
|
|
|
- move dependency generator setup from ghc_package_devel to ghc_lib_install
|
|
|
|
in line with ghc_bin_install
|
|
|
|
|
2011-06-27 02:55:16 +00:00
|
|
|
* Mon Jun 27 2011 Jens Petersen <petersen@redhat.com> - 0.13.7-1
|
|
|
|
- add requires for redhat-rpm-config for ghc_arches
|
|
|
|
- drop ghc_bootstrapping from ghc_bootstrap: doesn't work for koji
|
|
|
|
|
2011-06-17 08:55:06 +00:00
|
|
|
* Fri Jun 17 2011 Jens Petersen <petersen@redhat.com> - 0.13.6-1
|
|
|
|
- also set ghc_without_dynamic for ghc_bootstrap
|
|
|
|
- drop without_hscolour from ghc_bootstrap: doesn't work for koji
|
|
|
|
|
2011-06-17 08:00:17 +00:00
|
|
|
* Fri Jun 17 2011 Jens Petersen <petersen@redhat.com> - 0.13.5-1
|
|
|
|
- ghc_bootstrap is now a macro which sets ghc_bootstrapping,
|
|
|
|
ghc_without_shared, without_prof, without_haddock, without_hscolour,
|
|
|
|
without_manual, without_testsuite
|
|
|
|
- tweaks to ghc_check_bootstrap
|
|
|
|
|
2011-06-17 03:29:21 +00:00
|
|
|
* Fri Jun 17 2011 Jens Petersen <petersen@redhat.com> - 0.13.4-1
|
|
|
|
- add ghc_check_bootstrap
|
|
|
|
|
2011-06-02 04:35:47 +00:00
|
|
|
* Thu Jun 2 2011 Jens Petersen <petersen@redhat.com> - 0.13.3-1
|
|
|
|
- rename macros.ghc-pkg back to macros.ghc
|
|
|
|
- move the devel summary prefix back to a suffix
|
|
|
|
|
2011-05-28 06:02:35 +00:00
|
|
|
* Sat May 28 2011 Jens Petersen <petersen@redhat.com> - 0.13.2-1
|
|
|
|
- macros need to live in /etc/rpm
|
|
|
|
- use macro_file for macros.ghc filepath
|
|
|
|
|
2011-05-28 03:19:35 +00:00
|
|
|
* Sat May 28 2011 Jens Petersen <petersen@redhat.com> - 0.13.1-1
|
|
|
|
- move macros.ghc to /usr/lib/rpm to avoid conflict with redhat-rpm-config
|
|
|
|
|
2011-05-16 01:58:56 +00:00
|
|
|
* Wed May 11 2011 Jens Petersen <petersen@redhat.com> - 0.13-1
|
|
|
|
- merge prof subpackages into devel to simplify packaging
|
|
|
|
|
2011-05-09 09:56:37 +00:00
|
|
|
* Mon May 9 2011 Jens Petersen <petersen@redhat.com> - 0.12.1-1
|
|
|
|
- include ghc_pkg_c_deps even when -c option used
|
|
|
|
|
2011-05-08 14:09:07 +00:00
|
|
|
* Sat May 7 2011 Jens Petersen <petersen@redhat.com> - 0.12.0-1
|
|
|
|
- drop ghc_pkg_deps from ghc_package_devel and ghc_package_prof since
|
|
|
|
ghc-deps.sh generates better inter-package dependencies already
|
|
|
|
- condition --htmldir on pkg_name
|
|
|
|
|
2011-04-01 07:54:19 +00:00
|
|
|
* Fri Apr 1 2011 Jens Petersen <petersen@redhat.com> - 0.11.14-1
|
|
|
|
- provides ghc-*-doc still needed for current lib templates
|
|
|
|
|
2011-03-28 06:57:59 +00:00
|
|
|
* Mon Mar 28 2011 Jens Petersen <petersen@redhat.com> - 0.11.13-1
|
|
|
|
- ghc-deps.sh: check PKGBASEDIR exists to avoid warning for bin package
|
|
|
|
- abort cabal_configure if ghc is not self-bootstrapped
|
2011-04-01 07:54:19 +00:00
|
|
|
- make ghc_reindex_haddock a safe no-op
|
2011-03-28 06:57:59 +00:00
|
|
|
- no longer provide ghc-*-doc
|
|
|
|
- no longer run ghc_reindex_haddock in ghc-*-devel scripts
|
|
|
|
|
2011-03-10 06:02:39 +00:00
|
|
|
* Thu Mar 10 2011 Jens Petersen <petersen@redhat.com> - 0.11.12-1
|
|
|
|
- add ghc_pkg_obsoletes to binlib base lib package too
|
|
|
|
|
2011-03-09 06:12:41 +00:00
|
|
|
* Wed Mar 9 2011 Jens Petersen <petersen@redhat.com> - 0.11.11-1
|
|
|
|
- add docdir when subpackaging packages too
|
|
|
|
|
2011-02-12 15:07:05 +00:00
|
|
|
* Sun Feb 13 2011 Jens Petersen <petersen@redhat.com> - 0.11.10-1
|
|
|
|
- this package is now arch-dependent
|
|
|
|
- rename without_shared to ghc_without_shared and without_dynamic
|
|
|
|
to ghc_without_dynamic so that they can be globally defined for
|
|
|
|
secondary archs without shared libs
|
|
|
|
- use %%undefined macro
|
|
|
|
- disable debug_package in ghc_bin_build and ghc_lib_build
|
|
|
|
- set ghc_without_shared and ghc_without_dynamic on secondary
|
2011-03-28 06:57:59 +00:00
|
|
|
(ie non main intel) archs
|
2011-02-12 15:07:05 +00:00
|
|
|
- disable debuginfo for self
|
|
|
|
|
2011-02-10 15:50:04 +00:00
|
|
|
* Fri Feb 11 2011 Jens Petersen <petersen@redhat.com> - 0.11.9-1
|
|
|
|
- revert "set without_shared and without_dynamic by default on secondary archs
|
|
|
|
in cabal_bin_build and cabal_lib_build" change, since happening for all archs
|
|
|
|
|
2011-02-10 14:33:37 +00:00
|
|
|
* Thu Feb 10 2011 Jens Petersen <petersen@redhat.com> - 0.11.8-1
|
|
|
|
- only link Setup dynamically if without_shared and without_dynamic not set
|
|
|
|
- set without_shared and without_dynamic by default on secondary archs
|
|
|
|
in cabal_bin_build and cabal_lib_build
|
2011-02-10 15:50:04 +00:00
|
|
|
- add cabal_configure_options to pass extra options to cabal_configure
|
2011-02-10 14:33:37 +00:00
|
|
|
|
2011-02-10 12:11:02 +00:00
|
|
|
* Thu Feb 10 2011 Jens Petersen <petersen@redhat.com> - 0.11.7-1
|
|
|
|
- fix ghc-deps.sh for without_shared libraries
|
|
|
|
|
2011-02-09 01:31:55 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11.6-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2011-01-29 12:34:52 +00:00
|
|
|
* Sat Jan 29 2011 Jens Petersen <petersen@redhat.com> - 0.11.6-1
|
|
|
|
- simplify adding shared subpackage license file
|
|
|
|
- own ghc-deps.sh not /usr/lib/rpm
|
|
|
|
|
2011-01-23 05:05:38 +00:00
|
|
|
* Sun Jan 23 2011 Jens Petersen <petersen@redhat.com> - 0.11.5-1
|
|
|
|
- add rpm hash requires for dynamic executables in ghc-deps.sh
|
|
|
|
- compile Setup in cabal macro
|
|
|
|
- use _rpmconfigdir
|
|
|
|
|
2011-01-22 12:48:18 +00:00
|
|
|
* Sat Jan 22 2011 Jens Petersen <petersen@redhat.com> - 0.11.4-1
|
|
|
|
- drop deprecated ghcdocdir and ghcpkgdir
|
|
|
|
- new ghclibdocdir
|
|
|
|
- replace some missed RPM_BUILD_ROOT's
|
|
|
|
- bring back ghc requires in ghc_devel_requires
|
|
|
|
- improve prof summary and description
|
|
|
|
- add without_prof and without_haddock option macros
|
|
|
|
|
2011-01-21 00:48:06 +00:00
|
|
|
* Fri Jan 21 2011 Jens Petersen <petersen@redhat.com> - 0.11.3-1
|
|
|
|
- compile Setup to help speed up builds
|
|
|
|
|
2011-01-20 08:25:37 +00:00
|
|
|
* Thu Jan 20 2011 Jens Petersen <petersen@redhat.com> - 0.11.2-1
|
|
|
|
- put docdir (license) also into shared lib subpackage
|
|
|
|
- add ghc_binlib_package option to exclude package from ghc_packages_list
|
|
|
|
- condition lib base package additional description for srpm
|
|
|
|
|
2011-01-03 11:37:32 +00:00
|
|
|
* Mon Jan 3 2011 Jens Petersen <petersen@redhat.com> - 0.11.1-1
|
|
|
|
- use buildroot instead of RPM_BUILD_ROOT
|
|
|
|
- rename ghcpkgbasedir to ghclibdir
|
|
|
|
- split "[name-version]" args into "[name] [version]" args
|
|
|
|
- move remaining name and version macro options (-n and -v) to args
|
|
|
|
- drop deprecated -o options
|
|
|
|
|
2010-12-30 12:22:35 +00:00
|
|
|
* Thu Dec 30 2010 Jens Petersen <petersen@redhat.com> - 0.11.0-1
|
2010-12-30 12:19:29 +00:00
|
|
|
- add support for subpackaging ghc's libraries:
|
|
|
|
- deprecate ghcpkgdir and ghcdocdir from now on
|
|
|
|
- ghc_gen_filelists optional arg is now name-version
|
|
|
|
- ghc_lib_build, ghc_lib_install, cabal_pkg_conf now take optional
|
|
|
|
name-version arg
|
|
|
|
|
2010-12-20 09:05:33 +00:00
|
|
|
* Mon Dec 20 2010 Jens Petersen <petersen@redhat.com> - 0.10.3-1
|
|
|
|
- revert disabling debug_package, since with redhat-rpm-config installed
|
|
|
|
the behaviour depended on the position of ghc_lib_package in the spec file
|
2011-01-20 08:25:37 +00:00
|
|
|
(reported by narasim)
|
2010-12-20 09:05:33 +00:00
|
|
|
|
2010-11-26 02:29:14 +00:00
|
|
|
* Fri Nov 26 2010 Jens Petersen <petersen@redhat.com>
|
|
|
|
- drop with_devhelp since --html-help option gone from haddock-2.8.0
|
|
|
|
|
2010-11-23 13:48:16 +00:00
|
|
|
* Tue Nov 23 2010 Jens Petersen <petersen@redhat.com> - 0.10.2-1
|
|
|
|
- ignore ghc's builtin pseudo-libs
|
|
|
|
|
2010-11-23 07:08:28 +00:00
|
|
|
* Tue Nov 23 2010 Jens Petersen <petersen@redhat.com> - 0.10.1-1
|
|
|
|
- bring back the explicit n-v-r internal package requires for devel and prof packages
|
|
|
|
|
2010-11-23 05:01:27 +00:00
|
|
|
* Mon Nov 22 2010 Jens Petersen <petersen@redhat.com> - 0.10.0-1
|
2010-11-23 07:08:28 +00:00
|
|
|
- turn on pkg hash metadata (for ghc-7 builds)
|
|
|
|
- ghc-deps.sh now requires an extra buildroot/ghcpkgbasedir arg
|
|
|
|
- automatic internal package deps from prof to devel to base
|
|
|
|
- rename ghc_requires to ghc_devel_requires
|
|
|
|
- drop ghc_doc_requires
|
|
|
|
- ghc_reindex_haddock is deprecated and now a no-op
|
2010-11-23 05:01:27 +00:00
|
|
|
|
2010-09-30 03:12:47 +00:00
|
|
|
* Thu Sep 30 2010 Jens Petersen <petersen@redhat.com> - 0.9.1-1
|
|
|
|
- fix without_shared build so it actually works
|
|
|
|
|
|
|
|
* Thu Sep 30 2010 Jens Petersen <petersen@redhat.com> - 0.9.0-1
|
|
|
|
- add rpm provides and requires script ghc-deps.sh for package hash metadata
|
2010-09-30 02:21:16 +00:00
|
|
|
- turn on hash provides and disable debuginfo by default
|
|
|
|
- make shared and hscolour default
|
2010-09-30 03:12:47 +00:00
|
|
|
- use without_shared and without_hscolour to disable them
|
2010-09-30 02:21:16 +00:00
|
|
|
- add ghc_pkg_obsoletes for obsoleting old packages
|
|
|
|
- use ghcpkgbasedir
|
|
|
|
- always obsolete -doc packages, but keep -o for now for backward compatibility
|
|
|
|
|
2010-07-17 08:08:37 +00:00
|
|
|
* Fri Jul 16 2010 Jens Petersen <petersen@redhat.com> - 0.8.1-1
|
2010-07-17 08:09:36 +00:00
|
|
|
- fix ghc_strip_dynlinked when no dynlinked files
|
2010-07-17 08:08:37 +00:00
|
|
|
- devel should provide doc also when not obsoleting
|
|
|
|
|
2010-07-15 14:43:34 +00:00
|
|
|
* Fri Jul 16 2010 Jens Petersen <petersen@redhat.com> - 0.8.0-1
|
|
|
|
- merge -doc into -devel and provide -o obsoletes doc subpackage option
|
|
|
|
|
2010-06-28 07:33:22 +00:00
|
|
|
* Mon Jun 28 2010 Jens Petersen <petersen@redhat.com> - 0.7.1-1
|
|
|
|
- support hscolour'ing of src from haddock
|
|
|
|
- really remove redundant summary and description option flags
|
|
|
|
|
2010-06-26 08:53:39 +00:00
|
|
|
* Sat Jun 26 2010 Jens Petersen <petersen@redhat.com> - 0.7.0-1
|
|
|
|
- new ghc_bin_build, ghc_bin_install, ghc_lib_build, ghc_lib_install
|
|
|
|
|
2010-06-24 06:05:43 +00:00
|
|
|
* Thu Jun 24 2010 Jens Petersen <petersen@redhat.com> - 0.6.2-1
|
|
|
|
- a couple more fallback summary tweaks
|
|
|
|
|
2010-06-24 02:13:22 +00:00
|
|
|
* Thu Jun 24 2010 Jens Petersen <petersen@redhat.com> - 0.6.1-1
|
|
|
|
- drop the summary -s and description -d package options since rpm does not
|
|
|
|
seem to allow white\ space in macro option args anyway
|
|
|
|
|
2010-06-23 10:24:53 +00:00
|
|
|
* Wed Jun 23 2010 Jens Petersen <petersen@redhat.com> - 0.6.0-1
|
|
|
|
- make ghc_strip_dynlinked conditional on no debug_package
|
|
|
|
|
2010-06-23 10:05:24 +00:00
|
|
|
* Wed Jun 23 2010 Jens Petersen <petersen@redhat.com> - 0.5.9-1
|
|
|
|
- replace ghc_strip_shared with ghc_strip_dynlinked
|
|
|
|
|
2010-06-20 12:44:49 +00:00
|
|
|
* Sun Jun 20 2010 Jens Petersen <petersen@redhat.com> - 0.5.8-1
|
|
|
|
- add ghc_strip_shared to strip shared libraries
|
|
|
|
|
2010-06-20 12:10:25 +00:00
|
|
|
* Sun Jun 20 2010 Jens Petersen <petersen@redhat.com> - 0.5.7-1
|
|
|
|
- add comments over macros
|
|
|
|
- drop unused cabal_makefile
|
|
|
|
|
2010-04-12 14:52:34 +00:00
|
|
|
* Mon Apr 12 2010 Jens Petersen <petersen@redhat.com> - 0.5.6-1
|
|
|
|
- drop unused ghc_pkg_ver macro
|
|
|
|
- add ghc_pkg_recache macro
|
|
|
|
|
2010-01-14 14:32:25 +00:00
|
|
|
* Fri Jan 15 2010 Jens Petersen <petersen@redhat.com> - 0.5.5-1
|
2010-01-14 14:35:34 +00:00
|
|
|
- drop optional 2nd version arg from ghcdocdir, ghcpkgdir, and
|
2010-01-14 14:32:25 +00:00
|
|
|
ghc_gen_filelists: multiversion subpackages are not supported
|
|
|
|
- add ghcpkgbasedir
|
|
|
|
- bring back some shared conditions which were dropped temporarily
|
|
|
|
- test for ghcpkgdir and ghcdocdir in ghc_gen_filelists
|
|
|
|
- allow optional pkgname arg for cabal_pkg_conf
|
|
|
|
- can now package gtk2hs
|
|
|
|
|
2010-01-11 06:51:22 +00:00
|
|
|
* Mon Jan 11 2010 Jens Petersen <petersen@redhat.com> - 0.5.4-1
|
|
|
|
- use -v in ghc_requires and ghc_prof_requires for version
|
|
|
|
|
2010-01-11 05:13:02 +00:00
|
|
|
* Mon Jan 11 2010 Jens Petersen <petersen@redhat.com> - 0.5.3-1
|
|
|
|
- drop "Library for" from base lib summary
|
|
|
|
|
2010-01-11 03:13:01 +00:00
|
|
|
* Mon Jan 11 2010 Jens Petersen <petersen@redhat.com> - 0.5.2-1
|
|
|
|
- use -n in ghc_requires and ghc_prof_requires for when no pkg_name
|
|
|
|
|
2010-01-10 14:59:10 +00:00
|
|
|
* Mon Jan 11 2010 Jens Petersen <petersen@redhat.com> - 0.5.1-1
|
|
|
|
- add ghcdocbasedir
|
|
|
|
- revert ghcdocdir to match upstream ghc
|
|
|
|
- ghcdocdir and ghcpkgdir now take optional name version args
|
|
|
|
- update ghc_gen_filelists to new optional name version args
|
|
|
|
- handle docdir in ghc_gen_filelists
|
|
|
|
- ghc_reindex_haddock uses ghcdocbasedir
|
|
|
|
- summary and description options to ghc_binlib_package, ghc_package_devel,
|
|
|
|
ghc_package_doc, and ghc_package_prof
|
|
|
|
|
2010-01-09 15:58:27 +00:00
|
|
|
* Sun Jan 10 2010 Jens Petersen <petersen@redhat.com> - 0.5.0-1
|
|
|
|
- pkg_name must be set now for binlib packages too
|
|
|
|
- new ghc_lib_package and ghc_binlib_package macros make packaging too easy
|
|
|
|
- ghc_package_devel, ghc_package_doc, and ghc_package_prof helper macros
|
|
|
|
- ghc_gen_filelists now defaults to ghc-%%{pkg_name}
|
|
|
|
- add dynamic bcond to cabal_configure instead of cabal_configure_dynamic
|
|
|
|
|
2009-12-23 14:42:16 +00:00
|
|
|
* Thu Dec 24 2009 Jens Petersen <petersen@redhat.com> - 0.4.0-1
|
|
|
|
- add cabal_configure_dynamic
|
|
|
|
- add ghc_requires, ghc_doc_requires, ghc_prof_requires
|
|
|
|
|
2009-12-15 21:50:31 +00:00
|
|
|
* Tue Dec 15 2009 Jens Petersen <petersen@redhat.com> - 0.3.1-1
|
|
|
|
- use ghc_version_override to override ghc_version
|
|
|
|
- fix pkg .conf filelist match
|
|
|
|
|
2009-12-11 18:17:07 +00:00
|
|
|
* Sat Dec 12 2009 Jens Petersen <petersen@redhat.com> - 0.3.0-1
|
|
|
|
- major updates for ghc-6.12, package.conf.d, and shared libraries
|
|
|
|
- add shared support to cabal_configure, ghc_gen_filelists
|
|
|
|
- version ghcdocdir
|
|
|
|
- replace ghc_gen_scripts, ghc_install_scripts, ghc_register_pkg, ghc_unregister_pkg
|
|
|
|
with cabal_pkg_conf
|
|
|
|
- allow (ghc to) override ghc_version
|
|
|
|
|
2009-11-16 12:27:56 +00:00
|
|
|
* Mon Nov 16 2009 Jens Petersen <petersen@redhat.com> - 0.2.5-1
|
|
|
|
- make ghc_pkg_ver only return pkg version
|
|
|
|
|
2009-11-16 09:56:31 +00:00
|
|
|
* Mon Nov 16 2009 Jens Petersen <petersen@redhat.com> - 0.2.4-1
|
|
|
|
- change GHCRequires to ghc_pkg_ver
|
|
|
|
|
2009-11-16 09:14:11 +00:00
|
|
|
* Mon Nov 16 2009 Jens Petersen <petersen@redhat.com> - 0.2.3-1
|
|
|
|
- use the latest installed pkg version for %%GHCRequires
|
|
|
|
|
2009-11-16 07:45:33 +00:00
|
|
|
* Mon Nov 16 2009 Jens Petersen <petersen@redhat.com> - 0.2.2-1
|
|
|
|
- add %%GHCRequires for automatically versioned library deps
|
|
|
|
|
2009-09-22 10:08:17 +00:00
|
|
|
* Tue Sep 22 2009 Jens Petersen <petersen@redhat.com> - 0.2.1-2
|
|
|
|
- no, revert versioned ghcdocdir again!
|
|
|
|
|
2009-09-22 03:25:59 +00:00
|
|
|
* Tue Sep 22 2009 Jens Petersen <petersen@redhat.com> - 0.2.1-1
|
|
|
|
- version ghcdocdir to allow multiple doc versions like ghcpkgdir
|
|
|
|
|
2009-07-25 00:05:15 +00:00
|
|
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-06-09 09:24:58 +00:00
|
|
|
* Tue Jun 9 2009 Jens Petersen <petersen@redhat.com> - 0.2-1
|
|
|
|
- drop version from ghcdocdir since it breaks haddock indexing
|
|
|
|
|
2009-05-13 07:44:36 +00:00
|
|
|
* Wed May 13 2009 Yaakov M. Nemoy <ynemoy@fedoraproject.org> - 0.1-7
|
|
|
|
- specifies the macros file as a %%conf
|
|
|
|
|
2009-05-13 07:37:39 +00:00
|
|
|
* Sat May 9 2009 Yaakov M. Nemoy <ynemoy@fedoraproject.org> - 0.1-6
|
|
|
|
- removes archs and replaces with noarch
|
|
|
|
- bumps to avoid conflicts with jens
|
|
|
|
|
|
|
|
* Fri May 8 2009 Jens Petersen <petersen@redhat.com> - 0.1-5
|
|
|
|
- make it arch specific to fedora ghc archs
|
|
|
|
- setup a build dir so it can build from the current working dir
|
|
|
|
|
|
|
|
* Wed May 6 2009 Yaakov M. Nemoy <ynemoy@fedoraproject.org> - 0.1-4
|
|
|
|
- renamed license file
|
|
|
|
- removed some extraneous comments needed only at review time
|
|
|
|
|
|
|
|
* Wed May 6 2009 Yaakov M. Nemoy <ynemoy@fedoraproject.org> - 0.1-3
|
|
|
|
- updated license to GPLv3
|
|
|
|
- added AUTHORS file
|
|
|
|
|
|
|
|
* Tue May 5 2009 Yaakov M. Nemoy <ghc@hexago.nl> - 0.1-2
|
|
|
|
- moved copying license from %%build to %%prep
|
|
|
|
|
|
|
|
* Mon May 4 2009 Yaakov M. Nemoy <ghc@hexago.nl> - 0.1-1
|
|
|
|
- creation of package
|
|
|
|
|