From e8b33e37d771fbfce9d2ffc6638a2f21d53c21ab Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Nov 18 2012 09:17:31 +0000 Subject: update with cabal-rpm - correct license tag to LGPLv2+ --- diff --git a/ghc-HSH.spec b/ghc-HSH.spec index d3baf95..21ca533 100644 --- a/ghc-HSH.spec +++ b/ghc-HSH.spec @@ -1,39 +1,39 @@ -# cabal2spec-0.25 # https://fedoraproject.org/wiki/Packaging:Haskell # https://fedoraproject.org/wiki/PackagingDrafts/Haskell %global pkg_name HSH -%global common_summary Haskell library to run shell commands with Haskell programs +%global common_summary Library to mix shell scripting with Haskell programs -%global common_description HSH is designed to let you mix and \ -match shell expressions with Haskell programs. +%global common_description HSH is designed to let you mix and match shell expressions with\ +Haskell programs. With HSH, it is possible to easily run shell commands,\ +capture their output or provide their input, and pipe them to and from\ +other shell commands and arbitrary Haskell functions at will. Name: ghc-%{pkg_name} Version: 2.0.4 -Release: 2%{?dist} +Release: 3%{?dist} Summary: %{common_summary} -Group: System Environment/Libraries -License: LGPLv2 -# BEGIN cabal2spec +License: LGPLv2+ URL: http://hackage.haskell.org/package/%{pkg_name} Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz -ExclusiveArch: %{ghc_arches} -BuildRequires: ghc-Cabal-devel -BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour} -# END cabal2spec +BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-rpm-macros +# Begin cabal-rpm deps: +BuildRequires: ghc-MissingH-devel BuildRequires: ghc-bytestring-devel BuildRequires: ghc-directory-devel BuildRequires: ghc-filepath-devel BuildRequires: ghc-hslogger-devel -BuildRequires: ghc-MissingH-devel BuildRequires: ghc-mtl-devel BuildRequires: ghc-process-devel BuildRequires: ghc-regex-base-devel BuildRequires: ghc-regex-compat-devel BuildRequires: ghc-regex-posix-devel +BuildRequires: ghc-unix-devel +# End cabal-rpm deps %description %{common_description} @@ -51,7 +51,6 @@ BuildRequires: ghc-regex-posix-devel %ghc_lib_install -# devel subpackage %ghc_devel_package %ghc_devel_description @@ -60,10 +59,14 @@ BuildRequires: ghc-regex-posix-devel %ghc_devel_post_postun -%ghc_files COPYING +%ghc_files COPYING COPYRIGHT %changelog +* Sun Nov 18 2012 Jens Petersen - 2.0.4-3 +- update with cabal-rpm +- correct license tag to LGPLv2+ + * Fri Sep 07 2012 Shakthi Kannan - 2.0.4-2 - Updated summary