Compare commits

...

2 Commits
rawhide ... f14

Author SHA1 Message Date
Jens Petersen 49673b725e also drop rm buildroot from install 2011-05-06 18:28:12 +09:00
Jens Petersen 4d8456ff1f update to contemporary cabal2spec 2011-05-06 18:21:36 +09:00
1 changed files with 8 additions and 18 deletions

View File

@ -8,34 +8,23 @@
Base64Url, Base85, Python string escaping, Quoted-Printable, URL encoding,\
uuencode, xxencode, and yEncoding.
%bcond_without shared
# debuginfo is not useful for ghc
%global debug_package %{nil}
Name: ghc-%{pkg_name}
Version: 0.13.0.2
Release: 3%{?dist}
Release: 4%{?dist}
Summary: %{common_summary}
Group: System Environment/Libraries
License: BSD
URL: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/%{pkg_name}
URL: http://hackage.haskell.org/package/%{pkg_name}
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# fedora ghc archs:
ExclusiveArch: %{ix86} x86_64 ppc alpha
BuildRequires: ghc, ghc-doc, ghc-prof
BuildRequires: ghc-rpm-macros >= 0.7.0
BuildRequires: ghc-rpm-macros >= 0.7.3
BuildRequires: hscolour
%description
%{common_description}
%if %{with shared}
This package provides the shared library.
%endif
%{?ghc_lib_package}
%prep
@ -47,15 +36,16 @@ This package provides the shared library.
%install
rm -rf $RPM_BUILD_ROOT
%ghc_lib_install
%clean
rm -rf $RPM_BUILD_ROOT
%ghc_lib_package
%changelog
* Fri May 6 2011 Jens Petersen <petersen@redhat.com> - 0.13.0.2-4
- update to contemporary cabal2spec template
* Sat Jun 26 2010 Jens Petersen <petersen@redhat.com> - 0.13.0.2-3
- sync cabal2spec-0.22