add URL, GPLv2+, and %ghc_arches for backwards compatibility

This commit is contained in:
Jens Petersen 2014-06-27 10:34:10 +09:00
parent daf32363a0
commit be2e133fe1
2 changed files with 12 additions and 2 deletions

View File

@ -5,10 +5,11 @@
Name: ghc-srpm-macros Name: ghc-srpm-macros
Version: 1.3 Version: 1.3
Release: 1%{?dist} Release: 2%{?dist}
Summary: RPM macros for building Haskell source packages Summary: RPM macros for building Haskell source packages
License: GPLv3+ License: GPLv2+
Url: http://pkgs.fedoraproject.org/cgit/ghc-srpm-macros.git
BuildArch: noarch BuildArch: noarch
Source0: macros.ghc-srpm Source0: macros.ghc-srpm
@ -34,5 +35,10 @@ install -p -D -m 0644 %{SOURCE0} %{buildroot}/%{macros_dir}/macros.ghc-srpm
%changelog %changelog
* 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
* Fri May 2 2014 Jens Petersen <petersen@redhat.com> - 1.3-1 * Fri May 2 2014 Jens Petersen <petersen@redhat.com> - 1.3-1
- separate from ghc-rpm-macros - separate from ghc-rpm-macros

View File

@ -2,3 +2,7 @@
# ghci is currently only supported on the following archs # ghci is currently only supported on the following archs
%ghc_arches_with_ghci %{ix86} x86_64 ppc sparcv9 armv7hl armv5tel %ghc_arches_with_ghci %{ix86} x86_64 ppc sparcv9 armv7hl armv5tel
# ghc_arches is not used in current packages but still here for back compat
# old archs: alpha sparcv9
%ghc_arches %{ix86} x86_64 ppc ppc64 ppc64le armv7hl armv5tel aarch64 s390 s390x