From a267d73de07e19efa91dcddf186a8319df026004404d847b9ecc39912b32a8f6 Mon Sep 17 00:00:00 2001 From: Peter Trommler Date: Thu, 6 Nov 2014 19:14:56 +0000 Subject: [PATCH] Accepting request 259833 from devel:languages:haskell:platform Haskell Platform 2014.2.0.0 update OBS-URL: https://build.opensuse.org/request/show/259833 OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-attoparsec?expand=0&rev=5 --- ghc-attoparsec.changes | 7 +++++- ghc-attoparsec.spec | 50 ++++++++++++++++++++---------------------- 2 files changed, 30 insertions(+), 27 deletions(-) diff --git a/ghc-attoparsec.changes b/ghc-attoparsec.changes index 4d9affc..aa3ecb9 100644 --- a/ghc-attoparsec.changes +++ b/ghc-attoparsec.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Sep 2 08:34:11 UTC 2014 - peter.trommler@ohm-hochschule.de + +- regenerate spec file + ------------------------------------------------------------------- Sat Aug 23 00:07:38 UTC 2014 - peter.trommler@ohm-hochschule.de @@ -17,7 +22,7 @@ Mon May 6 15:08:29 UTC 2013 - peter.trommler@ohm-hochschule.de Mon Feb 4 09:38:03 UTC 2013 - peter.trommler@ohm-hochschule.de - update to 0.10.4.0 from upstream (no changelog) -- fixes bugs an performance issues +- fixes bugs and performance issues - currently under consideration for inclusion in Haskell Platform ------------------------------------------------------------------- diff --git a/ghc-attoparsec.spec b/ghc-attoparsec.spec index 9f7436d..4533eb3 100644 --- a/ghc-attoparsec.spec +++ b/ghc-attoparsec.spec @@ -1,8 +1,7 @@ # # spec file for package ghc-attoparsec # - -# Copyright (c) 2012 Peter Trommler +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,56 +15,54 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + %global pkg_name attoparsec -%global common_summary Haskell fast combinator parsing for bytestrings and text - -%global common_description A fast parser combinator library for Haskell, aimed particularly at dealing efficiently with network protocols and complicated text/binary file formats. - Name: ghc-attoparsec Version: 0.10.4.0 Release: 0 -Summary: %{common_summary} - -Group: System/Libraries +Summary: Fast combinator parsing for bytestrings and text License: BSD-3-Clause -# BEGIN cabal2spec -URL: http://hackage.haskell.org/package/%{pkg_name} +Group: System/Libraries + +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}-build + BuildRequires: ghc-Cabal-devel -BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour} -# END cabal2spec +BuildRequires: ghc-rpm-macros +# Begin cabal-rpm deps: BuildRequires: ghc-array-devel BuildRequires: ghc-bytestring-devel BuildRequires: ghc-containers-devel -Buildrequires: ghc-deepseq-devel +BuildRequires: ghc-deepseq-devel BuildRequires: ghc-text-devel - -BuildRoot: %{_tmppath}/%{name}-%{version}-build +# End cabal-rpm deps %description -%{common_description} +A fast parser combinator library, aimed particularly at dealing efficiently +with network protocols and complicated text/binary file formats. + %package devel Summary: Haskell %{pkg_name} library development files -Group: Development/Languages/Other -Requires: ghc-compiler -Requires(post): ghc-compiler -Requires(postun): ghc-compiler +Group: Development/Libraries/Other +Provides: %{name}-static = %{version}-%{release} +Requires: ghc-compiler = %{ghc_version} +Requires(post): ghc-compiler = %{ghc_version} +Requires(postun): ghc-compiler = %{ghc_version} Requires: %{name} = %{version}-%{release} %description devel -%{common_description} -This package contains the development files. +This package provides the Haskell %{pkg_name} library development files. + %prep %setup -q -n %{pkg_name}-%{version} - %build %ghc_lib_build - %install %ghc_lib_install @@ -77,9 +74,10 @@ This package contains the development files. %files -f %{name}.files %defattr(-,root,root,-) -%doc LICENSE README.markdown +%doc LICENSE %files devel -f %{name}-devel.files %defattr(-,root,root,-) +%doc examples README.markdown %changelog