commit ghc-asn1-encoding for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-asn1-encoding for openSUSE:Factory checked in at 2020-09-07 21:26:37 Comparing /work/SRC/openSUSE:Factory/ghc-asn1-encoding (Old) and /work/SRC/openSUSE:Factory/.ghc-asn1-encoding.new.3399 (New) Package is "ghc-asn1-encoding" Mon Sep 7 21:26:37 2020 rev:15 rq:832243 version:0.9.6 Changes: --- /work/SRC/openSUSE:Factory/ghc-asn1-encoding/ghc-asn1-encoding.changes 2020-08-28 21:25:03.708430559 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-asn1-encoding.new.3399/ghc-asn1-encoding.changes 2020-09-07 21:28:03.457179577 +0200 @@ -1,0 +2,6 @@ +Mon Aug 31 09:34:41 UTC 2020 - psim...@suse.com + +- Update asn1-encoding to version 0.9.6 revision 1. + Upstream has revised the Cabal build instructions on Hackage. + +--- Other differences: --
commit ghc-asn1-encoding for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-asn1-encoding for openSUSE:Factory checked in at 2020-08-28 21:24:56 Comparing /work/SRC/openSUSE:Factory/ghc-asn1-encoding (Old) and /work/SRC/openSUSE:Factory/.ghc-asn1-encoding.new.3399 (New) Package is "ghc-asn1-encoding" Fri Aug 28 21:24:56 2020 rev:14 rq:829173 version:0.9.6 Changes: --- /work/SRC/openSUSE:Factory/ghc-asn1-encoding/ghc-asn1-encoding.changes 2020-06-19 17:07:50.533171886 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-asn1-encoding.new.3399/ghc-asn1-encoding.changes 2020-08-28 21:25:03.708430559 +0200 @@ -1,0 +2,5 @@ +Tue Aug 18 10:43:59 UTC 2020 - Peter Simons + +- Replace %setup -q with the more modern %autosetup macro. + +--- Other differences: -- ++ ghc-asn1-encoding.spec ++ --- /var/tmp/diff_new_pack.ayjAei/_old 2020-08-28 21:25:04.672431016 +0200 +++ /var/tmp/diff_new_pack.ayjAei/_new 2020-08-28 21:25:04.676431018 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-asn1-encoding # -# Copyright (c) 2019 SUSE LLC +# 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 @@ -52,7 +52,7 @@ This package provides the Haskell %{pkg_name} library development files. %prep -%setup -q -n %{pkg_name}-%{version} +%autosetup -n %{pkg_name}-%{version} cp -p %{SOURCE1} %{pkg_name}.cabal %build
commit ghc-asn1-encoding for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-asn1-encoding for openSUSE:Factory checked in at 2020-06-19 17:07:49 Comparing /work/SRC/openSUSE:Factory/ghc-asn1-encoding (Old) and /work/SRC/openSUSE:Factory/.ghc-asn1-encoding.new.3606 (New) Package is "ghc-asn1-encoding" Fri Jun 19 17:07:49 2020 rev:13 rq:815029 version:0.9.6 Changes: --- /work/SRC/openSUSE:Factory/ghc-asn1-encoding/ghc-asn1-encoding.changes 2019-12-27 13:51:26.380576474 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-asn1-encoding.new.3606/ghc-asn1-encoding.changes 2020-06-19 17:07:50.533171886 +0200 @@ -1,0 +2,5 @@ +Tue Jun 16 11:13:43 UTC 2020 - Peter Simons + +- Re-generate file with latest version of spec-cleaner. + +--- Other differences: -- ++ ghc-asn1-encoding.spec ++ --- /var/tmp/diff_new_pack.rHxn41/_old 2020-06-19 17:07:51.277173826 +0200 +++ /var/tmp/diff_new_pack.rHxn41/_new 2020-06-19 17:07:51.281173836 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-asn1-encoding # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed
commit ghc-asn1-encoding for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-asn1-encoding for openSUSE:Factory checked in at 2019-12-27 13:51:25 Comparing /work/SRC/openSUSE:Factory/ghc-asn1-encoding (Old) and /work/SRC/openSUSE:Factory/.ghc-asn1-encoding.new.6675 (New) Package is "ghc-asn1-encoding" Fri Dec 27 13:51:25 2019 rev:12 rq:759335 version:0.9.6 Changes: --- /work/SRC/openSUSE:Factory/ghc-asn1-encoding/ghc-asn1-encoding.changes 2019-10-18 14:33:41.640198678 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-asn1-encoding.new.6675/ghc-asn1-encoding.changes 2019-12-27 13:51:26.380576474 +0100 @@ -1,0 +2,5 @@ +Fri Nov 8 16:13:12 UTC 2019 - Peter Simons + +- Drop obsolete group attributes. + +--- Other differences: -- ++ ghc-asn1-encoding.spec ++ --- /var/tmp/diff_new_pack.CvrBCM/_old 2019-12-27 13:51:27.156577025 +0100 +++ /var/tmp/diff_new_pack.CvrBCM/_new 2019-12-27 13:51:27.160577028 +0100 @@ -23,7 +23,6 @@ Release:0 Summary:ASN1 data reader and writer in RAW, BER and DER forms 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 @@ -44,7 +43,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-asn1-encoding for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-asn1-encoding for openSUSE:Factory checked in at 2019-10-18 14:33:40 Comparing /work/SRC/openSUSE:Factory/ghc-asn1-encoding (Old) and /work/SRC/openSUSE:Factory/.ghc-asn1-encoding.new.2352 (New) Package is "ghc-asn1-encoding" Fri Oct 18 14:33:40 2019 rev:11 rq:737190 version:0.9.6 Changes: --- /work/SRC/openSUSE:Factory/ghc-asn1-encoding/ghc-asn1-encoding.changes 2018-10-25 08:22:21.583910956 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-asn1-encoding.new.2352/ghc-asn1-encoding.changes 2019-10-18 14:33:41.640198678 +0200 @@ -1,0 +2,6 @@ +Mon Sep 30 02:01:31 UTC 2019 - psim...@suse.com + +- Update asn1-encoding to version 0.9.6. + Upstream does not provide a change log file. + +--- Old: asn1-encoding-0.9.5.tar.gz New: asn1-encoding-0.9.6.tar.gz asn1-encoding.cabal Other differences: -- ++ ghc-asn1-encoding.spec ++ --- /var/tmp/diff_new_pack.MUqSWr/_old 2019-10-18 14:33:42.168197303 +0200 +++ /var/tmp/diff_new_pack.MUqSWr/_new 2019-10-18 14:33:42.172197293 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-asn1-encoding # -# 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 @@ -19,13 +19,14 @@ %global pkg_name asn1-encoding %bcond_with tests Name: ghc-%{pkg_name} -Version:0.9.5 +Version:0.9.6 Release:0 Summary:ASN1 data reader and writer in RAW, BER and DER forms 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-asn1-types-devel BuildRequires: ghc-bytestring-devel @@ -35,7 +36,6 @@ BuildRequires: ghc-mtl-devel BuildRequires: ghc-tasty-devel BuildRequires: ghc-tasty-quickcheck-devel -BuildRequires: ghc-text-devel %endif %description @@ -55,6 +55,7 @@ %prep %setup -q -n %{pkg_name}-%{version} +cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build ++ asn1-encoding-0.9.5.tar.gz -> asn1-encoding-0.9.6.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asn1-encoding-0.9.5/Data/ASN1/Get.hs new/asn1-encoding-0.9.6/Data/ASN1/Get.hs --- old/asn1-encoding-0.9.5/Data/ASN1/Get.hs2016-06-07 06:53:07.0 +0200 +++ new/asn1-encoding-0.9.6/Data/ASN1/Get.hs2019-09-29 20:41:04.0 +0200 @@ -16,6 +16,7 @@ -- case for asn1 and augmented by a position. -- {-# LANGUAGE Rank2Types #-} +{-# LANGUAGE CPP #-} module Data.ASN1.Get ( Result(..) , Input @@ -103,7 +104,10 @@ let ks' s1 b1 m1 p1 a = unGet (g a) s1 b1 m1 p1 kf ks in unGet m s0 b0 m0 p0 kf ks' -fail = failDesc +#if MIN_VERSION_base(4,13,0) +instance MonadFail Get where +#endif +fail = failDesc instance MonadPlus Get where mzero = failDesc "mzero" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asn1-encoding-0.9.5/Data/ASN1/Prim.hs new/asn1-encoding-0.9.6/Data/ASN1/Prim.hs --- old/asn1-encoding-0.9.5/Data/ASN1/Prim.hs 2017-03-02 08:03:16.0 +0100 +++ new/asn1-encoding-0.9.6/Data/ASN1/Prim.hs 2019-06-23 15:18:23.0 +0200 @@ -8,6 +8,7 @@ -- Tools to read ASN1 primitive (e.g. boolean, int) -- +{-# LANGUAGE CPP #-} {-# LANGUAGE ViewPatterns #-} module Data.ASN1.Prim ( @@ -27,6 +28,7 @@ -- * marshall an ASN1 type from a val struct or a bytestring , getBoolean , getInteger +, getDouble , getBitString , getOctetString , getNull @@ -36,6 +38,7 @@ -- * marshall an ASN1 type to a bytestring , putTime , putInteger +, putDouble , putBitString , putString , putOID @@ -49,15 +52,18 @@ import Data.ASN1.Error import Data.ASN1.Serialize import Data.Bits +import Data.Monoid import Data.Word import Data.List (unfoldr) import Data.ByteString (ByteString) import Data.Char (ord, isDigit) import qualified Data.ByteString as B import qualified Data.ByteString.Char8 as BC +import qualified Data.ByteString.Unsafe as B import Data.Hourglass -import Control.Applicative import Control.Arrow (first) +import Control.Applicative +import Control.Monad
commit ghc-asn1-encoding for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-asn1-encoding for openSUSE:Factory checked in at 2018-10-25 08:22:19 Comparing /work/SRC/openSUSE:Factory/ghc-asn1-encoding (Old) and /work/SRC/openSUSE:Factory/.ghc-asn1-encoding.new (New) Package is "ghc-asn1-encoding" Thu Oct 25 08:22:19 2018 rev:10 rq:643346 version:0.9.5 Changes: --- /work/SRC/openSUSE:Factory/ghc-asn1-encoding/ghc-asn1-encoding.changes 2018-07-24 17:12:49.222560023 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-asn1-encoding.new/ghc-asn1-encoding.changes 2018-10-25 08:22:21.583910956 +0200 @@ -1,0 +2,5 @@ +Sat Oct 20 11:31:09 UTC 2018 - Peter Simons + +- Use https URL to refer to bugs.opensuse.org. + +--- Other differences: -- ++ ghc-asn1-encoding.spec ++ --- /var/tmp/diff_new_pack.sL7QRl/_old 2018-10-25 08:22:22.131910708 +0200 +++ /var/tmp/diff_new_pack.sL7QRl/_new 2018-10-25 08:22:22.139910705 +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-asn1-encoding for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-asn1-encoding for openSUSE:Factory checked in at 2018-07-24 17:12:47 Comparing /work/SRC/openSUSE:Factory/ghc-asn1-encoding (Old) and /work/SRC/openSUSE:Factory/.ghc-asn1-encoding.new (New) Package is "ghc-asn1-encoding" Tue Jul 24 17:12:47 2018 rev:9 rq:623714 version:0.9.5 Changes: --- /work/SRC/openSUSE:Factory/ghc-asn1-encoding/ghc-asn1-encoding.changes 2018-05-30 12:23:19.186083484 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-asn1-encoding.new/ghc-asn1-encoding.changes 2018-07-24 17:12:49.222560023 +0200 @@ -1,0 +2,6 @@ +Wed Jul 18 14:26:13 UTC 2018 - psim...@suse.com + +- Cosmetic: replace tabs with blanks, strip trailing white space, + and update copyright headers with spec-cleaner. + +--- @@ -40 +45,0 @@ - Other differences: -- ++ ghc-asn1-encoding.spec ++ --- /var/tmp/diff_new_pack.kxp9QE/_old 2018-07-24 17:12:49.978561005 +0200 +++ /var/tmp/diff_new_pack.kxp9QE/_new 2018-07-24 17:12:49.982561010 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-asn1-encoding # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# 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
commit ghc-asn1-encoding for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-asn1-encoding for openSUSE:Factory checked in at 2018-05-30 12:16:41 Comparing /work/SRC/openSUSE:Factory/ghc-asn1-encoding (Old) and /work/SRC/openSUSE:Factory/.ghc-asn1-encoding.new (New) Package is "ghc-asn1-encoding" Wed May 30 12:16:41 2018 rev:8 rq:609758 version:0.9.5 Changes: --- /work/SRC/openSUSE:Factory/ghc-asn1-encoding/ghc-asn1-encoding.changes 2017-09-15 21:20:23.830984065 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-asn1-encoding.new/ghc-asn1-encoding.changes 2018-05-30 12:23:19.186083484 +0200 @@ -1,0 +2,5 @@ +Wed May 16 13:06:51 UTC 2018 - psim...@suse.com + +- Prefer the new %license attribute over %doc. + +--- Other differences: -- ++ ghc-asn1-encoding.spec ++ --- /var/tmp/diff_new_pack.ATAsEQ/_old 2018-05-30 12:23:20.042057618 +0200 +++ /var/tmp/diff_new_pack.ATAsEQ/_new 2018-05-30 12:23:20.046057496 +0200 @@ -72,7 +72,7 @@ %ghc_pkg_recache %files -f %{name}.files -%doc LICENSE +%license LICENSE %files devel -f %{name}-devel.files
commit ghc-asn1-encoding for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-asn1-encoding for openSUSE:Factory checked in at 2017-09-15 21:20:23 Comparing /work/SRC/openSUSE:Factory/ghc-asn1-encoding (Old) and /work/SRC/openSUSE:Factory/.ghc-asn1-encoding.new (New) Package is "ghc-asn1-encoding" Fri Sep 15 21:20:23 2017 rev:7 rq:524134 version:0.9.5 Changes: --- /work/SRC/openSUSE:Factory/ghc-asn1-encoding/ghc-asn1-encoding.changes 2017-04-11 09:42:11.162314703 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-asn1-encoding.new/ghc-asn1-encoding.changes 2017-09-15 21:20:23.830984065 +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-asn1-encoding.spec ++ --- /var/tmp/diff_new_pack.rSHzmZ/_old 2017-09-15 21:20:25.450755729 +0200 +++ /var/tmp/diff_new_pack.rSHzmZ/_new 2017-09-15 21:20:25.454755165 +0200 @@ -23,15 +23,14 @@ Release:0 Summary:ASN1 data reader and writer in RAW, BER and DER forms License:BSD-3-Clause -Group: Development/Languages/Other -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 BuildRequires: ghc-asn1-types-devel BuildRequires: ghc-bytestring-devel BuildRequires: ghc-hourglass-devel BuildRequires: ghc-rpm-macros -BuildRoot: %{_tmppath}/%{name}-%{version}-build %if %{with tests} BuildRequires: ghc-mtl-devel BuildRequires: ghc-tasty-devel @@ -45,7 +44,7 @@ %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} @@ -73,10 +72,8 @@ %ghc_pkg_recache %files -f %{name}.files -%defattr(-,root,root,-) %doc LICENSE %files devel -f %{name}-devel.files -%defattr(-,root,root,-) %changelog
commit ghc-asn1-encoding for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-asn1-encoding for openSUSE:Factory checked in at 2017-04-11 09:42:00 Comparing /work/SRC/openSUSE:Factory/ghc-asn1-encoding (Old) and /work/SRC/openSUSE:Factory/.ghc-asn1-encoding.new (New) Package is "ghc-asn1-encoding" Tue Apr 11 09:42:00 2017 rev:6 rq:485105 version:0.9.5 Changes: --- /work/SRC/openSUSE:Factory/ghc-asn1-encoding/ghc-asn1-encoding.changes 2016-07-21 07:59:33.0 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-asn1-encoding.new/ghc-asn1-encoding.changes 2017-04-11 09:42:11.162314703 +0200 @@ -1,0 +2,5 @@ +Tue Mar 7 11:19:27 UTC 2017 - psim...@suse.com + +- Update to version 0.9.5 with cabal2obs. + +--- Old: asn1-encoding-0.9.4.tar.gz New: asn1-encoding-0.9.5.tar.gz Other differences: -- ++ ghc-asn1-encoding.spec ++ --- /var/tmp/diff_new_pack.OTQDfo/_old 2017-04-11 09:42:12.706096624 +0200 +++ /var/tmp/diff_new_pack.OTQDfo/_new 2017-04-11 09:42:12.706096624 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-asn1-encoding # -# 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 @@ -19,15 +19,14 @@ %global pkg_name asn1-encoding %bcond_with tests Name: ghc-%{pkg_name} -Version:0.9.4 +Version:0.9.5 Release:0 Summary:ASN1 data reader and writer in RAW, BER and DER forms License:BSD-3-Clause -Group: System/Libraries +Group: Development/Languages/Other 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-types-devel BuildRequires: ghc-bytestring-devel BuildRequires: ghc-hourglass-devel @@ -39,7 +38,6 @@ BuildRequires: ghc-tasty-quickcheck-devel BuildRequires: ghc-text-devel %endif -# End cabal-rpm deps %description ASN1 data reader and writer in raw form with supports for high level forms of @@ -59,20 +57,14 @@ %prep %setup -q -n %{pkg_name}-%{version} - %build %ghc_lib_build - %install %ghc_lib_install - %check -%if %{with tests} -%{cabal} test -%endif - +%cabal_test %post devel %ghc_pkg_recache ++ asn1-encoding-0.9.4.tar.gz -> asn1-encoding-0.9.5.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asn1-encoding-0.9.4/Data/ASN1/BinaryEncoding/Parse.hs new/asn1-encoding-0.9.5/Data/ASN1/BinaryEncoding/Parse.hs --- old/asn1-encoding-0.9.4/Data/ASN1/BinaryEncoding/Parse.hs 2016-06-12 08:05:07.0 +0200 +++ new/asn1-encoding-0.9.5/Data/ASN1/BinaryEncoding/Parse.hs 2017-03-02 07:50:07.0 +0100 @@ -124,7 +124,7 @@ , remBytes) go (ParseState stackEnd (ExpectPrimitive len cont) pos) bs = case runGetPrimitive cont len pos bs of - Fail _ -> error "primitive parsing failed" + Fail _ -> Left ParsingPartial Partial f-> Right (([], ParseState stackEnd (ExpectPrimitive len $ Just f) pos), B.empty) Done p nPos remBytes -> Right (([Primitive p], ParseState stackEnd (ExpectHeader Nothing) nPos), remBytes) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asn1-encoding-0.9.4/Data/ASN1/Error.hs new/asn1-encoding-0.9.5/Data/ASN1/Error.hs --- old/asn1-encoding-0.9.4/Data/ASN1/Error.hs 2016-06-12 08:05:07.0 +0200 +++ new/asn1-encoding-0.9.5/Data/ASN1/Error.hs 2017-03-02 08:02:34.0 +0100 @@ -25,6 +25,7 @@ | ParsingPartial -- ^ Parsing is not finished, there is construction unended. | TypeNotImplemented String -- ^ Decoding of a type that is not implemented. Contribution welcome. | TypeDecodingFailed String -- ^ Decoding of a knowed type failed. + | TypePrimitiveInvalid String -- ^ Invalid primitive type | PolicyFailed String String -- ^ Policy failed including the name of the policy and the reason. deriving (Typeable, Show, Eq) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asn1-encoding-0.9.4/Data/ASN1/Prim.hs new/asn1-encoding-0.9.5/Data/ASN1/Prim.hs ---
commit ghc-asn1-encoding for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-asn1-encoding for openSUSE:Factory checked in at 2016-07-21 07:59:31 Comparing /work/SRC/openSUSE:Factory/ghc-asn1-encoding (Old) and /work/SRC/openSUSE:Factory/.ghc-asn1-encoding.new (New) Package is "ghc-asn1-encoding" Changes: --- /work/SRC/openSUSE:Factory/ghc-asn1-encoding/ghc-asn1-encoding.changes 2016-06-14 23:08:23.0 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-asn1-encoding.new/ghc-asn1-encoding.changes 2016-07-21 07:59:33.0 +0200 @@ -1,0 +2,5 @@ +Sun Jul 10 17:32:29 UTC 2016 - psim...@suse.com + +- Update to version 0.9.4 revision 0 with cabal2obs. + +--- Other differences: -- ++ ghc-asn1-encoding.spec ++ --- /var/tmp/diff_new_pack.jeOBLV/_old 2016-07-21 07:59:34.0 +0200 +++ /var/tmp/diff_new_pack.jeOBLV/_new 2016-07-21 07:59:34.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-asn1-encoding # -# 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,28 +17,24 @@ %global pkg_name asn1-encoding - %bcond_with tests - -Name: ghc-asn1-encoding +Name: ghc-%{pkg_name} Version:0.9.4 Release:0 Summary:ASN1 data reader and writer in RAW, BER and DER forms 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-types-devel BuildRequires: ghc-bytestring-devel BuildRequires: ghc-hourglass-devel -BuildRequires: ghc-mtl-devel +BuildRequires: ghc-rpm-macros +BuildRoot: %{_tmppath}/%{name}-%{version}-build %if %{with tests} +BuildRequires: ghc-mtl-devel BuildRequires: ghc-tasty-devel BuildRequires: ghc-tasty-quickcheck-devel BuildRequires: ghc-text-devel @@ -49,33 +45,35 @@ ASN1 data reader and writer in raw form with supports for high level forms of ASN1 (BER, and DER). - %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 + %check %if %{with tests} -%cabal test +%{cabal} test %endif + %post devel %ghc_pkg_recache
commit ghc-asn1-encoding for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-asn1-encoding for openSUSE:Factory checked in at 2016-06-14 23:08:18 Comparing /work/SRC/openSUSE:Factory/ghc-asn1-encoding (Old) and /work/SRC/openSUSE:Factory/.ghc-asn1-encoding.new (New) Package is "ghc-asn1-encoding" Changes: --- /work/SRC/openSUSE:Factory/ghc-asn1-encoding/ghc-asn1-encoding.changes 2015-10-06 13:24:20.0 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-asn1-encoding.new/ghc-asn1-encoding.changes 2016-06-14 23:08:23.0 +0200 @@ -1,0 +2,5 @@ +Sun Jun 12 11:39:48 UTC 2016 - mimi...@gmail.com + +- update to 0.9.4 + +--- Old: asn1-encoding-0.9.3.tar.gz New: asn1-encoding-0.9.4.tar.gz Other differences: -- ++ ghc-asn1-encoding.spec ++ --- /var/tmp/diff_new_pack.IL8LkK/_old 2016-06-14 23:08:24.0 +0200 +++ /var/tmp/diff_new_pack.IL8LkK/_new 2016-06-14 23:08:24.0 +0200 @@ -21,7 +21,7 @@ %bcond_with tests Name: ghc-asn1-encoding -Version:0.9.3 +Version:0.9.4 Release:0 Summary:ASN1 data reader and writer in RAW, BER and DER forms License:BSD-3-Clause ++ asn1-encoding-0.9.3.tar.gz -> asn1-encoding-0.9.4.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asn1-encoding-0.9.3/Data/ASN1/Get.hs new/asn1-encoding-0.9.4/Data/ASN1/Get.hs --- old/asn1-encoding-0.9.3/Data/ASN1/Get.hs2015-09-21 15:12:05.0 +0200 +++ new/asn1-encoding-0.9.4/Data/ASN1/Get.hs2016-06-12 08:05:07.0 +0200 @@ -33,7 +33,6 @@ import Foreign import qualified Data.ByteString as B -import qualified Data.ByteString.Unsafe as B -- | The result of a parse. data Result r = Fail String @@ -185,13 +184,17 @@ -- | Pull @n@ bytes from the input, as a strict ByteString. getBytes :: Int -> Get B.ByteString -getBytes n = do - s <- ensure n - put (fromIntegral n) $ B.unsafeDrop n s - return $ B.unsafeTake n s +getBytes n + | n <= 0= return B.empty + | otherwise = do +s <- ensure n +let (b1, b2) = B.splitAt n s +put (fromIntegral n) b2 +return b1 getWord8 :: Get Word8 getWord8 = do - s <- ensure 1 - put 1 $ B.unsafeTail s - return $ B.unsafeHead s +s <- ensure 1 +case B.uncons s of +Nothing -> error "getWord8: ensure internal error" +Just (h,b2) -> put 1 b2 >> return h diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asn1-encoding-0.9.3/asn1-encoding.cabal new/asn1-encoding-0.9.4/asn1-encoding.cabal --- old/asn1-encoding-0.9.3/asn1-encoding.cabal 2015-09-21 15:12:05.0 +0200 +++ new/asn1-encoding-0.9.4/asn1-encoding.cabal 2016-06-12 08:05:07.0 +0200 @@ -1,5 +1,5 @@ Name:asn1-encoding -Version: 0.9.3 +Version: 0.9.4 Synopsis:ASN1 data reader and writer in RAW, BER and DER forms Description: ASN1 data reader and writer in raw form with supports for high level forms of ASN1 (BER, and DER).
commit ghc-asn1-encoding for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-asn1-encoding for openSUSE:Factory checked in at 2015-10-06 13:24:18 Comparing /work/SRC/openSUSE:Factory/ghc-asn1-encoding (Old) and /work/SRC/openSUSE:Factory/.ghc-asn1-encoding.new (New) Package is "ghc-asn1-encoding" Changes: --- /work/SRC/openSUSE:Factory/ghc-asn1-encoding/ghc-asn1-encoding.changes 2015-09-17 09:19:13.0 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-asn1-encoding.new/ghc-asn1-encoding.changes 2015-10-06 13:24:20.0 +0200 @@ -1,0 +2,5 @@ +Sun Sep 27 09:58:35 UTC 2015 - mimi...@gmail.com + +- update to 0.9.3 + +--- Old: asn1-encoding-0.9.2.tar.gz New: asn1-encoding-0.9.3.tar.gz Other differences: -- ++ ghc-asn1-encoding.spec ++ --- /var/tmp/diff_new_pack.E79GRB/_old 2015-10-06 13:24:21.0 +0200 +++ /var/tmp/diff_new_pack.E79GRB/_new 2015-10-06 13:24:21.0 +0200 @@ -21,7 +21,7 @@ %bcond_with tests Name: ghc-asn1-encoding -Version:0.9.2 +Version:0.9.3 Release:0 Summary:ASN1 data reader and writer in RAW, BER and DER forms License:BSD-3-Clause ++ asn1-encoding-0.9.2.tar.gz -> asn1-encoding-0.9.3.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asn1-encoding-0.9.2/asn1-encoding.cabal new/asn1-encoding-0.9.3/asn1-encoding.cabal --- old/asn1-encoding-0.9.2/asn1-encoding.cabal 2015-09-07 15:09:46.0 +0200 +++ new/asn1-encoding-0.9.3/asn1-encoding.cabal 2015-09-21 15:12:05.0 +0200 @@ -1,5 +1,5 @@ Name:asn1-encoding -Version: 0.9.2 +Version: 0.9.3 Synopsis:ASN1 data reader and writer in RAW, BER and DER forms Description: ASN1 data reader and writer in raw form with supports for high level forms of ASN1 (BER, and DER). @@ -29,7 +29,6 @@ Data.ASN1.Get Build-Depends: base >= 3 && < 5 , bytestring - , mtl , hourglass >= 0.2.6 , asn1-types >= 0.3.0 && < 0.4 ghc-options: -Wall -fwarn-tabs
commit ghc-asn1-encoding for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-asn1-encoding for openSUSE:Factory checked in at 2015-09-17 09:19:11 Comparing /work/SRC/openSUSE:Factory/ghc-asn1-encoding (Old) and /work/SRC/openSUSE:Factory/.ghc-asn1-encoding.new (New) Package is "ghc-asn1-encoding" Changes: --- /work/SRC/openSUSE:Factory/ghc-asn1-encoding/ghc-asn1-encoding.changes 2015-05-21 08:33:47.0 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-asn1-encoding.new/ghc-asn1-encoding.changes 2015-09-17 09:19:13.0 +0200 @@ -1,0 +2,5 @@ +Sun Sep 13 12:26:43 UTC 2015 - mimi...@gmail.com + +- update to 0.9.2 + +--- Old: asn1-encoding-0.9.0.tar.gz New: asn1-encoding-0.9.2.tar.gz Other differences: -- ++ ghc-asn1-encoding.spec ++ --- /var/tmp/diff_new_pack.0SiFLY/_old 2015-09-17 09:19:13.0 +0200 +++ /var/tmp/diff_new_pack.0SiFLY/_new 2015-09-17 09:19:13.0 +0200 @@ -15,17 +15,18 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + %global pkg_name asn1-encoding %bcond_with tests -Name: ghc-%{pkg_name} -Version:0.9.0 +Name: ghc-asn1-encoding +Version:0.9.2 Release:0 Summary:ASN1 data reader and writer in RAW, BER and DER forms +License:BSD-3-Clause Group: System/Libraries -License:BSD-3-Clause 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 @@ -64,36 +65,28 @@ %prep %setup -q -n %{pkg_name}-%{version} - %build %ghc_lib_build - %install %ghc_lib_install - %check %if %{with tests} %cabal test %endif - %post devel %ghc_pkg_recache - %postun devel %ghc_pkg_recache - %files -f %{name}.files %defattr(-,root,root,-) %doc LICENSE - %files devel -f %{name}-devel.files %defattr(-,root,root,-) - %changelog ++ asn1-encoding-0.9.0.tar.gz -> asn1-encoding-0.9.2.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asn1-encoding-0.9.0/Data/ASN1/Prim.hs new/asn1-encoding-0.9.2/Data/ASN1/Prim.hs --- old/asn1-encoding-0.9.0/Data/ASN1/Prim.hs 2014-10-19 11:29:53.0 +0200 +++ new/asn1-encoding-0.9.2/Data/ASN1/Prim.hs 2015-09-07 15:09:46.0 +0200 @@ -263,16 +263,22 @@ | hasNonASCII bs = decodingError "contains non ASCII characters" | otherwise = case timeParseE format (BC.unpack bs) of -- BC.unpack is safe as we check ASCIIness first -Left _ -> decodingError ("cannot convert string " ++ BC.unpack bs) -Right r -> -case parseTimezone $ parseMs $ first adjustUTC $ r of -Left err-> decodingError err -Right (dt', tz) -> Right $ ASN1Time timeType dt' tz +Left _ -> +case timeParseE formatNoSeconds (BC.unpack bs) of +Left _ -> decodingError ("cannot convert string " ++ BC.unpack bs) +Right r -> parseRemaining r +Right r -> parseRemaining r where +parseRemaining r = +case parseTimezone $ parseMs $ first adjustUTC r of +Left err-> decodingError err +Right (dt', tz) -> Right $ ASN1Time timeType dt' tz + adjustUTC dt@(DateTime (Date y m d) tod) | timeType == TimeGeneralized = dt | y > 2050= DateTime (Date (y - 100) m d) tod | otherwise = dt +formatNoSeconds = init format format | timeType == TimeGeneralized = 'Y':'Y':baseFormat | otherwise = baseFormat baseFormat = "YYMMDDHMIS" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asn1-encoding-0.9.0/asn1-encoding.cabal new/asn1-encoding-0.9.2/asn1-encoding.cabal --- old/asn1-encoding-0.9.0/asn1-encoding.cabal 2014-10-19 11:29:53.0 +0200 +++ new/asn1-encoding-0.9.2/asn1-encoding.cabal 2015-09-07 15:09:46.0 +0200 @@ -1,5 +1,5 @@ Name:asn1-encoding -Version: 0.9.0 +Version: 0.9.2 Synopsis:ASN1 data reader and writer in RAW, BER and DER forms Description: ASN1 data reader and writer in raw form with supports for high level forms of ASN1 (BER, and DER). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asn1-encoding-0.9.0/tests/Tests.hs new/asn1-encoding-0.9.2/tests/Tests.hs ---
commit ghc-asn1-encoding for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-asn1-encoding for openSUSE:Factory checked in at 2015-05-21 08:33:46 Comparing /work/SRC/openSUSE:Factory/ghc-asn1-encoding (Old) and /work/SRC/openSUSE:Factory/.ghc-asn1-encoding.new (New) Package is ghc-asn1-encoding Changes: New Changes file: --- /dev/null 2015-05-15 19:41:08.266053825 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-asn1-encoding.new/ghc-asn1-encoding.changes 2015-05-21 08:33:47.0 +0200 @@ -0,0 +1,5 @@ +--- +Wed Apr 22 19:48:45 UTC 2015 - mimi...@gmail.com + +- initial commit + New: asn1-encoding-0.9.0.tar.gz ghc-asn1-encoding.changes ghc-asn1-encoding.spec Other differences: -- ++ ghc-asn1-encoding.spec ++ # # spec file for package ghc-asn1-encoding # # 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 asn1-encoding %bcond_with tests Name: ghc-%{pkg_name} Version:0.9.0 Release:0 Summary:ASN1 data reader and writer in RAW, BER and DER forms Group: System/Libraries License:BSD-3-Clause 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-types-devel BuildRequires: ghc-bytestring-devel BuildRequires: ghc-hourglass-devel BuildRequires: ghc-mtl-devel %if %{with tests} BuildRequires: ghc-tasty-devel BuildRequires: ghc-tasty-quickcheck-devel BuildRequires: ghc-text-devel %endif # End cabal-rpm deps %description ASN1 data reader and writer in raw form with supports for high level forms of ASN1 (BER, and DER). %package devel Summary:Haskell %{pkg_name} library development files Group: Development/Libraries/Other 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 %check %if %{with tests} %cabal test %endif %post devel %ghc_pkg_recache %postun devel %ghc_pkg_recache %files -f %{name}.files %defattr(-,root,root,-) %doc LICENSE %files devel -f %{name}-devel.files %defattr(-,root,root,-) %changelog