From b838236140fad4592c0edeb45263b78607851a3ae68beb934ae4adfd89f5585a Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Tue, 12 Feb 2019 02:01:49 +0000 Subject: [PATCH 1/3] osc copypac from project:devel:languages:haskell:ghc-8.6.x package:ghc-xml revision:4, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-xml?expand=0&rev=34 --- ghc-xml.spec | 2 ++ xml.cabal | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 xml.cabal diff --git a/ghc-xml.spec b/ghc-xml.spec index 4816018..fe01c9f 100644 --- a/ghc-xml.spec +++ b/ghc-xml.spec @@ -25,6 +25,7 @@ License: BSD-3-Clause Group: Development/Libraries/Haskell URL: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz +Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal BuildRequires: ghc-Cabal-devel BuildRequires: ghc-bytestring-devel BuildRequires: ghc-rpm-macros @@ -46,6 +47,7 @@ This package provides the Haskell %{pkg_name} library development files. %prep %setup -q -n %{pkg_name}-%{version} +cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build diff --git a/xml.cabal b/xml.cabal new file mode 100644 index 0000000..c72a661 --- /dev/null +++ b/xml.cabal @@ -0,0 +1,32 @@ +Name: xml +Version: 1.3.14 +x-revision: 1 +Homepage: http://code.galois.com +Synopsis: A simple XML library. +Description: A simple XML library. +Category: Text, XML +License: BSD3 +License-File: LICENSE +Author: Galois Inc. +Maintainer: diatchki@galois.com +Copyright: (c) 2007-2008 Galois Inc. +Build-type: Simple +Cabal-version: >= 1.6 + + +library + Build-depends: base >= 3 && < 5, bytestring, text + Ghc-options: -Wall -O2 + Exposed-modules: Text.XML.Light, + Text.XML.Light.Types, + Text.XML.Light.Output, + Text.XML.Light.Input, + Text.XML.Light.Lexer, + Text.XML.Light.Proc + Text.XML.Light.Cursor + Extensions: FlexibleInstances + +source-repository head + type: git + location: git://github.com/GaloisInc/xml.git + From 8f8e96d6d34cff2c348943d55f0f5d5c1103aae54d9393a51d3e7b760a267a9d Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Wed, 12 Jun 2019 01:01:45 +0000 Subject: [PATCH 2/3] osc copypac from project:devel:languages:haskell:ghc-8.6.x package:ghc-xml revision:5, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-xml?expand=0&rev=35 --- ghc-xml.changes | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ghc-xml.changes b/ghc-xml.changes index 2cfcc45..cffada7 100644 --- a/ghc-xml.changes +++ b/ghc-xml.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 11 14:29:24 UTC 2019 - Peter Simons + +- Update Cabal file for more accurate build dependencies. + ------------------------------------------------------------------- Sat Oct 20 11:32:16 UTC 2018 - Peter Simons From 80f43af1268200bdb01e84362055a894486dc55d2db72cff550c445bdb20fc4d Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 13 Jun 2019 01:02:02 +0000 Subject: [PATCH 3/3] osc copypac from project:devel:languages:haskell:ghc-8.6.x package:ghc-xml revision:6, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-xml?expand=0&rev=36 --- ghc-xml.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghc-xml.spec b/ghc-xml.spec index fe01c9f..63e49b2 100644 --- a/ghc-xml.spec +++ b/ghc-xml.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-xml # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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