From 3aba607086e09fbe641450a4675f4500e9bcda37e5b9dfb51d2d15c598633b80 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Sat, 16 Jul 2016 20:34:10 +0000 Subject: [PATCH 1/2] Accepting request 409268 from devel:languages:haskell:lts:6 See https://lists.opensuse.org/opensuse-haskell/2016-07/msg00000.html for details. OBS-URL: https://build.opensuse.org/request/show/409268 OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-asn1-parse?expand=0&rev=6 --- ghc-asn1-parse.changes | 5 +++++ ghc-asn1-parse.spec | 20 ++++++++------------ 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/ghc-asn1-parse.changes b/ghc-asn1-parse.changes index 475eb5c..8ea46e1 100644 --- a/ghc-asn1-parse.changes +++ b/ghc-asn1-parse.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Jul 10 17:20:10 UTC 2016 - psimons@suse.com + +- Update to version 0.9.4 revision 0 with cabal2obs. + ------------------------------------------------------------------- Sun Sep 27 10:02:41 UTC 2015 - mimi.vx@gmail.com diff --git a/ghc-asn1-parse.spec b/ghc-asn1-parse.spec index f1e8ec1..831c9ad 100644 --- a/ghc-asn1-parse.spec +++ b/ghc-asn1-parse.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-asn1-parse # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,54 +17,50 @@ %global pkg_name asn1-parse - -Name: ghc-asn1-parse +Name: ghc-%{pkg_name} Version: 0.9.4 Release: 0 Summary: Simple monadic parser for ASN1 stream types License: BSD-3-Clause Group: System/Libraries - Url: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build - BuildRequires: ghc-Cabal-devel -BuildRequires: ghc-rpm-macros # Begin cabal-rpm deps: BuildRequires: ghc-asn1-encoding-devel BuildRequires: ghc-asn1-types-devel BuildRequires: ghc-bytestring-devel -BuildRequires: ghc-mtl-devel -BuildRequires: ghc-text-devel +BuildRequires: ghc-rpm-macros +BuildRoot: %{_tmppath}/%{name}-%{version}-build # End cabal-rpm deps %description Simple monadic parser for ASN1 stream types, when ASN1 pattern matching is not convenient. - %package devel Summary: Haskell %{pkg_name} library development files Group: Development/Libraries/Other +Requires: %{name} = %{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 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 + %post devel %ghc_pkg_recache From 112b3daaf90429dbe11acd57a4419fbccbb8089b963ab85883541be4792cd28f Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 22 Jul 2016 21:40:39 +0000 Subject: [PATCH 2/2] osc copypac from project:devel:languages:haskell:lts:6 package:ghc-asn1-parse revision:4 OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-asn1-parse?expand=0&rev=7 --- ghc-asn1-parse.spec | 2 -- 1 file changed, 2 deletions(-) diff --git a/ghc-asn1-parse.spec b/ghc-asn1-parse.spec index 831c9ad..201481e 100644 --- a/ghc-asn1-parse.spec +++ b/ghc-asn1-parse.spec @@ -26,13 +26,11 @@ Group: System/Libraries Url: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz BuildRequires: ghc-Cabal-devel -# Begin cabal-rpm deps: BuildRequires: ghc-asn1-encoding-devel BuildRequires: ghc-asn1-types-devel BuildRequires: ghc-bytestring-devel BuildRequires: ghc-rpm-macros BuildRoot: %{_tmppath}/%{name}-%{version}-build -# End cabal-rpm deps %description Simple monadic parser for ASN1 stream types, when ASN1 pattern matching is not