commit ghc-xml-types for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-xml-types for openSUSE:Factory checked in at 2020-08-28 21:41:40 Comparing /work/SRC/openSUSE:Factory/ghc-xml-types (Old) and /work/SRC/openSUSE:Factory/.ghc-xml-types.new.3399 (New) Package is "ghc-xml-types" Fri Aug 28 21:41:40 2020 rev:6 rq:829505 version:0.3.8 Changes: --- /work/SRC/openSUSE:Factory/ghc-xml-types/ghc-xml-types.changes 2020-07-21 15:53:35.156529356 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-xml-types.new.3399/ghc-xml-types.changes 2020-08-28 21:41:44.556895319 +0200 @@ -1,0 +2,5 @@ +Tue Aug 18 10:46:44 UTC 2020 - Peter Simons + +- Replace %setup -q with the more modern %autosetup macro. + +--- Other differences: -- ++ ghc-xml-types.spec ++ --- /var/tmp/diff_new_pack.J0D9mL/_old 2020-08-28 21:41:45.144895535 +0200 +++ /var/tmp/diff_new_pack.J0D9mL/_new 2020-08-28 21:41:45.148895537 +0200 @@ -53,7 +53,7 @@ This package provides the Haskell %{pkg_name} library development files. %prep -%setup -q -n %{pkg_name}-%{version} +%autosetup -n %{pkg_name}-%{version} %build %ghc_lib_build
commit ghc-xml-types for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-xml-types for openSUSE:Factory checked in at 2020-07-21 15:50:39 Comparing /work/SRC/openSUSE:Factory/ghc-xml-types (Old) and /work/SRC/openSUSE:Factory/.ghc-xml-types.new.3592 (New) Package is "ghc-xml-types" Tue Jul 21 15:50:39 2020 rev:5 rq:822048 version:0.3.8 Changes: --- /work/SRC/openSUSE:Factory/ghc-xml-types/ghc-xml-types.changes 2020-06-19 17:21:34.935576321 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-xml-types.new.3592/ghc-xml-types.changes 2020-07-21 15:53:35.156529356 +0200 @@ -1,0 +2,6 @@ +Mon Jul 13 02:00:25 UTC 2020 - psim...@suse.com + +- Update xml-types to version 0.3.8. + Upstream does not provide a change log file. + +--- Old: xml-types-0.3.7.tar.gz New: xml-types-0.3.8.tar.gz Other differences: -- ++ ghc-xml-types.spec ++ --- /var/tmp/diff_new_pack.nZB4Kw/_old 2020-07-21 15:53:37.560532280 +0200 +++ /var/tmp/diff_new_pack.nZB4Kw/_new 2020-07-21 15:53:37.564532285 +0200 @@ -18,7 +18,7 @@ %global pkg_name xml-types Name: ghc-%{pkg_name} -Version:0.3.7 +Version:0.3.8 Release:0 Summary:Basic types for representing XML License:MIT ++ xml-types-0.3.7.tar.gz -> xml-types-0.3.8.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xml-types-0.3.7/xml-types.cabal new/xml-types-0.3.8/xml-types.cabal --- old/xml-types-0.3.7/xml-types.cabal 2020-06-07 04:38:02.0 +0200 +++ new/xml-types-0.3.8/xml-types.cabal 2020-07-13 03:40:09.0 +0200 @@ -1,5 +1,5 @@ name: xml-types -version: 0.3.7 +version: 0.3.8 synopsis: Basic types for representing XML license: MIT license-file: COPYING @@ -31,11 +31,11 @@ source-repository this type: git location: https://git.singpolyma.net/xml-types-haskell - tag: 0.3.7 + tag: 0.3.8 library default-language: Haskell2010 - ghc-options: -Wall -Wno-tabs + ghc-options: -Wall hs-source-dirs: lib build-depends:
commit ghc-xml-types for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-xml-types for openSUSE:Factory checked in at 2020-06-19 17:21:31 Comparing /work/SRC/openSUSE:Factory/ghc-xml-types (Old) and /work/SRC/openSUSE:Factory/.ghc-xml-types.new.3606 (New) Package is "ghc-xml-types" Fri Jun 19 17:21:31 2020 rev:4 rq:815224 version:0.3.7 Changes: --- /work/SRC/openSUSE:Factory/ghc-xml-types/ghc-xml-types.changes 2019-12-27 13:59:21.500831961 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-xml-types.new.3606/ghc-xml-types.changes 2020-06-19 17:21:34.935576321 +0200 @@ -1,0 +2,6 @@ +Tue Jun 9 09:10:54 UTC 2020 - psim...@suse.com + +- Update xml-types to version 0.3.7. + Upstream does not provide a change log file. + +--- Old: xml-types-0.3.6.tar.gz New: xml-types-0.3.7.tar.gz Other differences: -- ++ ghc-xml-types.spec ++ --- /var/tmp/diff_new_pack.7yxW1I/_old 2020-06-19 17:21:39.307589278 +0200 +++ /var/tmp/diff_new_pack.7yxW1I/_new 2020-06-19 17:21:39.311589290 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-xml-types # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %global pkg_name xml-types Name: ghc-%{pkg_name} -Version:0.3.6 +Version:0.3.7 Release:0 Summary:Basic types for representing XML License:MIT @@ -32,6 +32,16 @@ %description Basic types for representing XML. +The idea is to have a full set of appropriate types, which various XML +libraries can share. Instead of having equivalent-but-incompatible types for +every binding, parser, or client, they all share the same types can can thus +interoperate easily. + +This library contains complete types for most parts of an XML document, +including the prologue, node tree, and doctype. Some basic combinators are +included for common tasks, including traversing the node tree and filtering +children. + %package devel Summary:Haskell %{pkg_name} library development files Requires: %{name} = %{version}-%{release} @@ -58,7 +68,7 @@ %ghc_pkg_recache %files -f %{name}.files -%license license.txt +%license COPYING %files devel -f %{name}-devel.files ++ xml-types-0.3.6.tar.gz -> xml-types-0.3.7.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xml-types-0.3.6/COPYING new/xml-types-0.3.7/COPYING --- old/xml-types-0.3.6/COPYING 1970-01-01 01:00:00.0 +0100 +++ new/xml-types-0.3.7/COPYING 2020-06-07 04:38:02.0 +0200 @@ -0,0 +1,22 @@ +Copyright (c) 2010 John Millikin + +Permission is hereby granted, free of charge, to any person +obtaining a copy of this software and associated documentation +files (the "Software"), to deal in the Software without +restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xml-types-0.3.6/lib/Data/XML/Types.hs new/xml-types-0.3.7/lib/Data/XML/Types.hs --- old/xml-types-0.3.6/lib/Data/XML/Types.hs 2015-07-08 07:08:54.0 +0200 +++ new/xml-types-0.3.7/lib/Data/XML/Types.hs 2020-06-07 04:38:02.0 +0200 @@ -1,16 +1,16 @@ {-# LANGUAGE CPP #-} +#if __GLASGOW_HASKELL__ {-# LANGUAGE DeriveDataTypeable #-} --- if impl(ghc >= 7.2): --- extensions: DeriveGeneric, StandaloneDeriving +#if MIN_VERSION_base(4,4,0) +{-# LANGUAGE DeriveGeneric #-} +#endif +#endif -- | -- Module: Data.XML.Types -- Copyright: 2010-2011 John Millikin -- License: MIT -- --- Maintainer: jmilli...@gmail.com --- Portability: portable --- -- Basic types for representing XML. -- -- The idea is to have a full set of appropriate types, which various XML
commit ghc-xml-types for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-xml-types for openSUSE:Factory checked in at 2019-12-27 13:59:19 Comparing /work/SRC/openSUSE:Factory/ghc-xml-types (Old) and /work/SRC/openSUSE:Factory/.ghc-xml-types.new.6675 (New) Package is "ghc-xml-types" Fri Dec 27 13:59:19 2019 rev:3 rq:759566 version:0.3.6 Changes: --- /work/SRC/openSUSE:Factory/ghc-xml-types/ghc-xml-types.changes 2018-10-25 08:19:34.263985679 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-xml-types.new.6675/ghc-xml-types.changes 2019-12-27 13:59:21.500831961 +0100 @@ -1,0 +2,5 @@ +Fri Nov 8 16:15:16 UTC 2019 - Peter Simons + +- Drop obsolete group attributes. + +--- Other differences: -- ++ ghc-xml-types.spec ++ --- /var/tmp/diff_new_pack.lIq37Y/_old 2019-12-27 13:59:21.904832156 +0100 +++ /var/tmp/diff_new_pack.lIq37Y/_new 2019-12-27 13:59:21.908832158 +0100 @@ -1,7 +1,7 @@ # # spec file for package ghc-xml-types # -# 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 @@ -22,7 +22,6 @@ Release:0 Summary:Basic types for representing XML License:MIT -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 BuildRequires: ghc-Cabal-devel @@ -35,7 +34,6 @@ %package devel Summary:Haskell %{pkg_name} library development files -Group: Development/Libraries/Haskell Requires: %{name} = %{version}-%{release} Requires: ghc-compiler = %{ghc_version} Requires(post): ghc-compiler = %{ghc_version}
commit ghc-xml-types for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-xml-types for openSUSE:Factory checked in at 2018-10-25 08:19:33 Comparing /work/SRC/openSUSE:Factory/ghc-xml-types (Old) and /work/SRC/openSUSE:Factory/.ghc-xml-types.new (New) Package is "ghc-xml-types" Thu Oct 25 08:19:33 2018 rev:2 rq:642907 version:0.3.6 Changes: --- /work/SRC/openSUSE:Factory/ghc-xml-types/ghc-xml-types.changes 2018-08-04 21:53:39.685306421 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-xml-types.new/ghc-xml-types.changes 2018-10-25 08:19:34.263985679 +0200 @@ -5 +4,0 @@ - Other differences: -- ++ ghc-xml-types.spec ++ --- /var/tmp/diff_new_pack.6tGErT/_old 2018-10-25 08:19:35.791985003 +0200 +++ /var/tmp/diff_new_pack.6tGErT/_new 2018-10-25 08:19:35.791985003 +0200 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ #
commit ghc-xml-types for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-xml-types for openSUSE:Factory checked in at 2018-08-04 21:53:39 Comparing /work/SRC/openSUSE:Factory/ghc-xml-types (Old) and /work/SRC/openSUSE:Factory/.ghc-xml-types.new (New) Package is "ghc-xml-types" Sat Aug 4 21:53:39 2018 rev:1 rq:627272 version:0.3.6 Changes: New Changes file: --- /dev/null 2018-07-30 18:06:19.633948440 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-xml-types.new/ghc-xml-types.changes 2018-08-04 21:53:39.685306421 +0200 @@ -0,0 +1,5 @@ +--- +Thu Aug 2 16:29:52 UTC 2018 - psim...@suse.com + +- Add xml-types at version 0.3.6. + New: ghc-xml-types.changes ghc-xml-types.spec xml-types-0.3.6.tar.gz Other differences: -- ++ ghc-xml-types.spec ++ # # spec file for package ghc-xml-types # # Copyright (c) 2018 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 # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %global pkg_name xml-types Name: ghc-%{pkg_name} Version:0.3.6 Release:0 Summary:Basic types for representing XML License:MIT 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 BuildRequires: ghc-Cabal-devel BuildRequires: ghc-deepseq-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-text-devel %description Basic types for representing XML. %package devel Summary:Haskell %{pkg_name} library development files Group: Development/Libraries/Haskell Requires: %{name} = %{version}-%{release} Requires: ghc-compiler = %{ghc_version} Requires(post): ghc-compiler = %{ghc_version} Requires(postun): ghc-compiler = %{ghc_version} %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 %postun devel %ghc_pkg_recache %files -f %{name}.files %license license.txt %files devel -f %{name}-devel.files %changelog
commit ghc-xml-types for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-xml-types for openSUSE:Factory checked in at 2017-09-15 22:27:09 Comparing /work/SRC/openSUSE:Factory/ghc-xml-types (Old) and /work/SRC/openSUSE:Factory/.ghc-xml-types.new (New) Package is "ghc-xml-types" Fri Sep 15 22:27:09 2017 rev:4 rq:525731 version:0.3.6 Changes: --- /work/SRC/openSUSE:Factory/ghc-xml-types/ghc-xml-types.changes 2016-07-21 08:18:39.0 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-xml-types.new/ghc-xml-types.changes 2017-09-15 22:27:10.478429444 +0200 @@ -1,0 +2,5 @@ +Thu Aug 3 15:38:38 UTC 2017 - psim...@suse.com + +- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf. + +--- Other differences: -- ++ ghc-xml-types.spec ++ --- /var/tmp/diff_new_pack.ngTa57/_old 2017-09-15 22:27:11.262319013 +0200 +++ /var/tmp/diff_new_pack.ngTa57/_new 2017-09-15 22:27:11.262319013 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-xml-types # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -22,23 +22,20 @@ Release:0 Summary:Basic types for representing XML License:MIT -Group: System/Libraries -Url:https://hackage.haskell.org/package/%{pkg_name} +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 BuildRequires: ghc-Cabal-devel -# Begin cabal-rpm deps: BuildRequires: ghc-deepseq-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-text-devel -BuildRoot: %{_tmppath}/%{name}-%{version}-build -# End cabal-rpm deps %description Basic types for representing XML. %package devel Summary:Haskell %{pkg_name} library development files -Group: Development/Libraries/Other +Group: Development/Libraries/Haskell Requires: %{name} = %{version}-%{release} Requires: ghc-compiler = %{ghc_version} Requires(post): ghc-compiler = %{ghc_version} @@ -50,15 +47,12 @@ %prep %setup -q -n %{pkg_name}-%{version} - %build %ghc_lib_build - %install %ghc_lib_install - %post devel %ghc_pkg_recache @@ -66,10 +60,8 @@ %ghc_pkg_recache %files -f %{name}.files -%defattr(-,root,root,-) %doc license.txt %files devel -f %{name}-devel.files -%defattr(-,root,root,-) %changelog
commit ghc-xml-types for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-xml-types for openSUSE:Factory checked in at 2016-07-21 08:18:33 Comparing /work/SRC/openSUSE:Factory/ghc-xml-types (Old) and /work/SRC/openSUSE:Factory/.ghc-xml-types.new (New) Package is "ghc-xml-types" Changes: --- /work/SRC/openSUSE:Factory/ghc-xml-types/ghc-xml-types.changes 2015-07-14 17:45:51.0 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-xml-types.new/ghc-xml-types.changes 2016-07-21 08:18:39.0 +0200 @@ -1,0 +2,5 @@ +Sun Jul 10 16:55:20 UTC 2016 - psim...@suse.com + +- Update to version 0.3.6 revision 0 with cabal2obs. + +--- Other differences: -- ++ ghc-xml-types.spec ++ --- /var/tmp/diff_new_pack.UOhRWI/_old 2016-07-21 08:18:40.0 +0200 +++ /var/tmp/diff_new_pack.UOhRWI/_new 2016-07-21 08:18:40.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-xml-types # -# 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,9 +17,7 @@ %global pkg_name xml-types -# no useful debuginfo for Haskell packages without C sources -%global debug_package %{nil} -Name: ghc-xml-types +Name: ghc-%{pkg_name} Version:0.3.6 Release:0 Summary:Basic types for representing XML @@ -36,7 +34,7 @@ # End cabal-rpm deps %description -Basic types for representing XML in haskell. +Basic types for representing XML. %package devel Summary:Haskell %{pkg_name} library development files @@ -52,17 +50,20 @@ %prep %setup -q -n %{pkg_name}-%{version} + %build -%{ghc_lib_build} +%ghc_lib_build + %install -%{ghc_lib_install} +%ghc_lib_install + %post devel -%{ghc_pkg_recache} +%ghc_pkg_recache %postun devel -%{ghc_pkg_recache} +%ghc_pkg_recache %files -f %{name}.files %defattr(-,root,root,-)
commit ghc-xml-types for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-xml-types for openSUSE:Factory checked in at 2015-07-14 17:44:37 Comparing /work/SRC/openSUSE:Factory/ghc-xml-types (Old) and /work/SRC/openSUSE:Factory/.ghc-xml-types.new (New) Package is ghc-xml-types Changes: --- /work/SRC/openSUSE:Factory/ghc-xml-types/ghc-xml-types.changes 2015-05-21 08:38:51.0 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-xml-types.new/ghc-xml-types.changes 2015-07-14 17:45:51.0 +0200 @@ -1,0 +2,5 @@ +Mon Jul 13 05:50:15 UTC 2015 - mimi...@gmail.com + +- update to 0.3.6 + +--- @@ -5 +10 @@ -+ remove typo in devel sectionwq ++ remove typo in devel section Old: xml-types-0.3.4.tar.gz New: xml-types-0.3.6.tar.gz Other differences: -- ++ ghc-xml-types.spec ++ --- /var/tmp/diff_new_pack.F6RZn4/_old 2015-07-14 17:45:52.0 +0200 +++ /var/tmp/diff_new_pack.F6RZn4/_new 2015-07-14 17:45:52.0 +0200 @@ -19,8 +19,8 @@ %global pkg_name xml-types # no useful debuginfo for Haskell packages without C sources %global debug_package %{nil} -Name: ghc-%{pkg_name} -Version:0.3.4 +Name: ghc-xml-types +Version:0.3.6 Release:0 Summary:Basic types for representing XML License:MIT ++ xml-types-0.3.4.tar.gz - xml-types-0.3.6.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xml-types-0.3.4/lib/Data/XML/Types.hs new/xml-types-0.3.6/lib/Data/XML/Types.hs --- old/xml-types-0.3.4/lib/Data/XML/Types.hs 2013-07-20 20:48:58.0 +0200 +++ new/xml-types-0.3.6/lib/Data/XML/Types.hs 2015-07-08 07:08:54.0 +0200 @@ -1,4 +1,7 @@ +{-# LANGUAGE CPP #-} {-# LANGUAGE DeriveDataTypeable #-} +-- if impl(ghc = 7.2): +-- extensions: DeriveGeneric, StandaloneDeriving -- | -- Module: Data.XML.Types @@ -78,6 +81,10 @@ import Data.Typeable (Typeable) import Control.DeepSeq (NFData(rnf)) +#if MIN_VERSION_base(4,4,0) +import GHC.Generics (Generic) +#endif + data Document = Document { documentPrologue :: Prologue , documentRoot :: Element @@ -88,6 +95,10 @@ instance NFData Document where rnf (Document a b c) = rnf a `seq` rnf b `seq` rnf c `seq` () +#if MIN_VERSION_base(4,4,0) +deriving instance Generic Document +#endif + data Prologue = Prologue { prologueBefore :: [Miscellaneous] , prologueDoctype :: Maybe Doctype @@ -98,6 +109,10 @@ instance NFData Prologue where rnf (Prologue a b c) = rnf a `seq` rnf b `seq` rnf c `seq` () +#if MIN_VERSION_base(4,4,0) +deriving instance Generic Prologue +#endif + data Instruction = Instruction { instructionTarget :: Text , instructionData :: Text @@ -107,6 +122,10 @@ instance NFData Instruction where rnf (Instruction a b) = rnf a `seq` rnf b `seq` () +#if MIN_VERSION_base(4,4,0) +deriving instance Generic Instruction +#endif + data Miscellaneous = MiscInstruction Instruction | MiscComment Text @@ -116,6 +135,10 @@ rnf (MiscInstruction a) = rnf a `seq` () rnf (MiscComment a) = rnf a `seq` () +#if MIN_VERSION_base(4,4,0) +deriving instance Generic Miscellaneous +#endif + data Node = NodeElement Element | NodeInstruction Instruction @@ -129,6 +152,10 @@ rnf (NodeContent a) = rnf a `seq` () rnf (NodeComment a) = rnf a `seq` () +#if MIN_VERSION_base(4,4,0) +deriving instance Generic Node +#endif + data Element = Element { elementName :: Name , elementAttributes :: [(Name, [Content])] @@ -139,6 +166,10 @@ instance NFData Element where rnf (Element a b c) = rnf a `seq` rnf b `seq` rnf c `seq` () +#if MIN_VERSION_base(4,4,0) +deriving instance Generic Element +#endif + data Content = ContentText Text | ContentEntity Text -- ^ For pass-through parsing @@ -148,6 +179,10 @@ rnf (ContentText a) = rnf a `seq` () rnf (ContentEntity a) = rnf a `seq` () +#if MIN_VERSION_base(4,4,0) +deriving instance Generic Content +#endif + -- | A fully qualified name. -- -- Prefixes are not semantically important; they are included only to @@ -186,6 +221,10 @@ instance NFData Name where rnf (Name a b c) = rnf a `seq` rnf b `seq` rnf c `seq` () +#if MIN_VERSION_base(4,4,0) +deriving instance Generic Name +#endif + -- | Note: due to the incredible complexity of DTDs, this type only supports -- external subsets. I've tried adding internal subset types, but they -- quickly gain more code than the rest of this module put together. @@ -201,6 +240,10 @@ instance NFData
commit ghc-xml-types for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-xml-types for openSUSE:Factory checked in at 2015-05-21 08:38:49 Comparing /work/SRC/openSUSE:Factory/ghc-xml-types (Old) and /work/SRC/openSUSE:Factory/.ghc-xml-types.new (New) Package is ghc-xml-types Changes: New Changes file: --- /dev/null 2015-05-15 19:41:08.266053825 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-xml-types.new/ghc-xml-types.changes 2015-05-21 08:38:51.0 +0200 @@ -0,0 +1,11 @@ +--- +Sat Feb 14 15:22:16 UTC 2015 - mimi...@gmail.com + +- spec-cleaned ++ remove typo in devel sectionwq + +--- +Fri Feb 13 16:47:00 UTC 2015 - mimi...@gmail.com + +- initial commit of ghc-xml-types package version 0.3.4 + New: ghc-xml-types.changes ghc-xml-types.spec xml-types-0.3.4.tar.gz Other differences: -- ++ ghc-xml-types.spec ++ # # spec file for package ghc-xml-types # # Copyright (c) 2015 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 # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An Open Source License is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %global pkg_name xml-types # no useful debuginfo for Haskell packages without C sources %global debug_package %{nil} Name: ghc-%{pkg_name} Version:0.3.4 Release:0 Summary:Basic types for representing XML License:MIT 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-deepseq-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-text-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build # End cabal-rpm deps %description Basic types for representing XML in haskell. %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} %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} %postun devel %{ghc_pkg_recache} %files -f %{name}.files %defattr(-,root,root,-) %doc license.txt %files devel -f %{name}-devel.files %defattr(-,root,root,-) %changelog