diff --git a/ghc-dataenc.spec b/ghc-dataenc.spec index 9fc1e7e..8c2bb45 100644 --- a/ghc-dataenc.spec +++ b/ghc-dataenc.spec @@ -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 @@ -51,11 +40,13 @@ rm -rf $RPM_BUILD_ROOT %ghc_lib_install -%clean -rm -rf $RPM_BUILD_ROOT +%ghc_lib_package %changelog +* Fri May 6 2011 Jens Petersen - 0.13.0.2-4 +- update to contemporary cabal2spec template + * Sat Jun 26 2010 Jens Petersen - 0.13.0.2-3 - sync cabal2spec-0.22