update to cabal2spec-0.23: add ppc64
This commit is contained in:
parent
d357d2f80a
commit
fcd4e12bfe
@ -5,13 +5,10 @@
|
|||||||
%global common_description HUnit is a unit testing framework for Haskell, inspired by the JUnit tool\
|
%global common_description HUnit is a unit testing framework for Haskell, inspired by the JUnit tool\
|
||||||
for Java.
|
for Java.
|
||||||
|
|
||||||
# debuginfo is not useful for ghc
|
|
||||||
%global debug_package %{nil}
|
|
||||||
|
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
# part of haskell-platform-2011.1.0.0
|
# part of haskell-platform-2011.2.0.0
|
||||||
Version: 1.2.2.3
|
Version: 1.2.2.3
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
Summary: %{common_summary}
|
Summary: %{common_summary}
|
||||||
|
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
@ -19,16 +16,13 @@ License: BSD
|
|||||||
URL: http://hunit.sourceforge.net/
|
URL: http://hunit.sourceforge.net/
|
||||||
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
||||||
# fedora ghc archs:
|
# fedora ghc archs:
|
||||||
ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9
|
ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9 ppc64
|
||||||
BuildRequires: ghc, ghc-doc, ghc-prof
|
BuildRequires: ghc-prof
|
||||||
BuildRequires: ghc-rpm-macros >= 0.7.3
|
BuildRequires: ghc-rpm-macros
|
||||||
BuildRequires: hscolour
|
BuildRequires: hscolour
|
||||||
|
|
||||||
%description
|
%description
|
||||||
%{common_description}
|
%{common_description}
|
||||||
%if %{with shared}
|
|
||||||
This package provides the shared library.
|
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
@ -47,8 +41,8 @@ This package provides the shared library.
|
|||||||
%ghc_lib_install
|
%ghc_lib_install
|
||||||
|
|
||||||
# remove unwanted files
|
# remove unwanted files
|
||||||
rm $RPM_BUILD_ROOT%{_bindir}/*-tests
|
rm %{buildroot}%{_bindir}/*-tests
|
||||||
rm -r $RPM_BUILD_ROOT%{_datadir}/%{pkg_name}-%{version}
|
rm -r %{buildroot}%{_datadir}/%{pkg_name}-%{version}
|
||||||
|
|
||||||
echo %doc README doc/Guide.html examples/Example.hs >> %{name}-devel.files
|
echo %doc README doc/Guide.html examples/Example.hs >> %{name}-devel.files
|
||||||
|
|
||||||
@ -57,6 +51,9 @@ echo %doc README doc/Guide.html examples/Example.hs >> %{name}-devel.files
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri May 27 2011 Jens Petersen <petersen@redhat.com> - 1.2.2.3-5
|
||||||
|
- update to cabal2spec-0.23: add ppc64
|
||||||
|
|
||||||
* Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto@redhat.com> - 1.2.2.3-4
|
* Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto@redhat.com> - 1.2.2.3-4
|
||||||
- Enable build on sparcv9
|
- Enable build on sparcv9
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user