2014-06-27 01:20:13 +00:00
|
|
|
# ghc has been bootstrapped on all Fedora archs except aarch64.
|
|
|
|
# The ghc interpreter ghci is only supported on a subset of archs.
|
|
|
|
|
|
|
|
%global macros_dir %{_rpmconfigdir}/macros.d
|
|
|
|
|
|
|
|
Name: ghc-srpm-macros
|
2015-02-17 08:53:04 +00:00
|
|
|
Version: 1.4
|
|
|
|
Release: 1%{?dist}
|
2014-06-27 01:20:13 +00:00
|
|
|
Summary: RPM macros for building Haskell source packages
|
|
|
|
|
2014-06-27 01:34:10 +00:00
|
|
|
License: GPLv2+
|
|
|
|
Url: http://pkgs.fedoraproject.org/cgit/ghc-srpm-macros.git
|
2014-06-27 01:20:13 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
Source0: macros.ghc-srpm
|
|
|
|
|
|
|
|
%description
|
|
|
|
Macros used when generating Haskell source RPM packages.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%{nil}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
echo no build stage needed
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
install -p -D -m 0644 %{SOURCE0} %{buildroot}/%{macros_dir}/macros.ghc-srpm
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%{macros_dir}/macros.ghc-srpm
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2015-02-17 08:53:04 +00:00
|
|
|
* Tue Feb 17 2015 Jens Petersen <petersen@redhat.com> - 1.4-1
|
|
|
|
- ghc-7.8 shared libraries allow ghci to work on all arch's
|
|
|
|
|
2014-06-27 01:34:10 +00:00
|
|
|
* Fri Jun 27 2014 Jens Petersen <petersen@redhat.com> - 1.3-2
|
|
|
|
- add pkg git as URL (#1093541)
|
|
|
|
- downgrade license tag to GPLv2+ in line with rpm (redhat-rpm-config is GPL+)
|
|
|
|
- sync with current ghc-rpm-macros: add ghc_arches for backwards compatibility
|
|
|
|
|
2014-06-27 01:20:13 +00:00
|
|
|
* Fri May 2 2014 Jens Petersen <petersen@redhat.com> - 1.3-1
|
|
|
|
- separate from ghc-rpm-macros
|