From d0b8b8c4712a46cd681ec2005ce056c949473ca9 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 5 Jan 2012 12:57:46 +0900 Subject: [PATCH] update to 1.6.5 and cabal2spec-0.25.2 --- .gitignore | 1 + ghc-uniplate.spec | 41 ++++++++++++++++++++++++++--------------- sources | 2 +- 3 files changed, 28 insertions(+), 16 deletions(-) diff --git a/.gitignore b/.gitignore index bef22dc..1b63941 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ uniplate-1.5.1.tar.gz /uniplate-1.6.tar.gz /uniplate-1.6.3.tar.gz +/uniplate-1.6.5.tar.gz diff --git a/ghc-uniplate.spec b/ghc-uniplate.spec index cbe0501..4f3f02d 100644 --- a/ghc-uniplate.spec +++ b/ghc-uniplate.spec @@ -1,34 +1,33 @@ +# cabal2spec-0.25.2 +# https://fedoraproject.org/wiki/Packaging:Haskell +# https://fedoraproject.org/wiki/PackagingDrafts/Haskell + %global pkg_name uniplate %global common_summary Haskell Uniform type generic traversals library -%global common_description Uniplate is a boilerplate removal library, with similar goals to the\ -original Scrap Your Boilerplate work. It requires few extensions to\ -Haskell. +%global common_description Uniplate is a boilerplate removal library, with similar goals to the original\ +Scrap Your Boilerplate work. It requires few extensions to Haskell. Name: ghc-%{pkg_name} -Version: 1.6.3 -Release: 1%{?dist}.2 +Version: 1.6.5 +Release: 1%{?dist} Summary: %{common_summary} + Group: System Environment/Libraries License: BSD # BEGIN cabal2spec -URL: http://community.haskell.org/~ndm/uniplate/ +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 -%if %{undefined without_hscolour} -BuildRequires: hscolour -%endif +BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour} # END cabal2spec -BuildRequires: ghc-containers-prof, ghc-syb-prof +BuildRequires: ghc-containers-prof +BuildRequires: ghc-syb-prof %description %{common_description} -%if %{with shared} -This package provides the shared library. -%endif %prep @@ -43,10 +42,22 @@ This package provides the shared library. %ghc_lib_install -%ghc_lib_package +%ghc_devel_package + +%ghc_devel_description + + +%ghc_devel_post_postun + + +%ghc_files +%doc uniplate.htm %changelog +* Thu Jan 5 2012 Jens Petersen - 1.6.5-1 +- update to 1.6.5 and cabal2spec-0.25.2 + * Mon Oct 24 2011 Marcela Mašláňová - 1.6.3-1.2 - rebuild with new gmp without compat lib diff --git a/sources b/sources index 3ea3ad1..b626852 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -5fe575e92928e6ccb9d133696a4e77b1 uniplate-1.6.3.tar.gz +aabed71fceb37a1419102f35ea08c310 uniplate-1.6.5.tar.gz