commit ghc-cookie for openSUSE:Factory

2020-08-28 Thread root
Hello community,

here is the log from the commit of package ghc-cookie for openSUSE:Factory 
checked in at 2020-08-28 21:28:11

Comparing /work/SRC/openSUSE:Factory/ghc-cookie (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-cookie.new.3399 (New)


Package is "ghc-cookie"

Fri Aug 28 21:28:11 2020 rev:12 rq:829230 version:0.4.5

Changes:

--- /work/SRC/openSUSE:Factory/ghc-cookie/ghc-cookie.changes2020-06-19 
17:10:49.517664771 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-cookie.new.3399/ghc-cookie.changes  
2020-08-28 21:28:16.652521967 +0200
@@ -1,0 +2,5 @@
+Tue Aug 18 10:44:27 UTC 2020 - Peter Simons 
+
+- Replace %setup -q with the more modern %autosetup macro.
+
+---



Other differences:
--
++ ghc-cookie.spec ++
--- /var/tmp/diff_new_pack.rOFZXE/_old  2020-08-28 21:28:18.168522686 +0200
+++ /var/tmp/diff_new_pack.rOFZXE/_new  2020-08-28 21:28:18.172522687 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-cookie
 #
-# 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
@@ -55,7 +55,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-cookie for openSUSE:Factory

2020-06-19 Thread root
Hello community,

here is the log from the commit of package ghc-cookie for openSUSE:Factory 
checked in at 2020-06-19 17:10:42

Comparing /work/SRC/openSUSE:Factory/ghc-cookie (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-cookie.new.3606 (New)


Package is "ghc-cookie"

Fri Jun 19 17:10:42 2020 rev:11 rq:815064 version:0.4.5

Changes:

--- /work/SRC/openSUSE:Factory/ghc-cookie/ghc-cookie.changes2019-12-27 
13:52:35.488625554 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-cookie.new.3606/ghc-cookie.changes  
2020-06-19 17:10:49.517664771 +0200
@@ -1,0 +2,5 @@
+Tue Jun 16 11:13:57 UTC 2020 - Peter Simons 
+
+- Re-generate file with latest version of spec-cleaner.
+
+---



Other differences:
--
++ ghc-cookie.spec ++
--- /var/tmp/diff_new_pack.VjvTOe/_old  2020-06-19 17:10:50.805668771 +0200
+++ /var/tmp/diff_new_pack.VjvTOe/_new  2020-06-19 17:10:50.809668783 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-cookie
 #
-# 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-cookie for openSUSE:Factory

2019-12-27 Thread root
Hello community,

here is the log from the commit of package ghc-cookie for openSUSE:Factory 
checked in at 2019-12-27 13:52:35

Comparing /work/SRC/openSUSE:Factory/ghc-cookie (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-cookie.new.6675 (New)


Package is "ghc-cookie"

Fri Dec 27 13:52:35 2019 rev:10 rq:759370 version:0.4.5

Changes:

--- /work/SRC/openSUSE:Factory/ghc-cookie/ghc-cookie.changes2018-10-25 
08:23:56.743867914 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-cookie.new.6675/ghc-cookie.changes  
2019-12-27 13:52:35.488625554 +0100
@@ -1,0 +2,13 @@
+Tue Nov 12 09:57:04 UTC 2019 - psim...@suse.com
+
+- Update cookie to version 0.4.5.
+  ## 0.4.5
+
+  * Added `SameSite=None`
+
+---
+Fri Nov  8 16:13:30 UTC 2019 - Peter Simons 
+
+- Drop obsolete group attributes.
+
+---

Old:

  cookie-0.4.4.tar.gz

New:

  cookie-0.4.5.tar.gz



Other differences:
--
++ ghc-cookie.spec ++
--- /var/tmp/diff_new_pack.0Cssaa/_old  2019-12-27 13:52:35.960625889 +0100
+++ /var/tmp/diff_new_pack.0Cssaa/_new  2019-12-27 13:52:35.960625889 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-cookie
 #
-# 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,11 +19,10 @@
 %global pkg_name cookie
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.4.4
+Version:0.4.5
 Release:0
 Summary:HTTP cookie parsing and rendering
 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
@@ -47,7 +46,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}

++ cookie-0.4.4.tar.gz -> cookie-0.4.5.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cookie-0.4.4/ChangeLog.md 
new/cookie-0.4.5/ChangeLog.md
--- old/cookie-0.4.4/ChangeLog.md   2018-03-11 07:06:16.0 +0100
+++ new/cookie-0.4.5/ChangeLog.md   2019-11-10 15:05:56.0 +0100
@@ -1,3 +1,7 @@
+## 0.4.5
+
+* Added `SameSite=None`
+
 ## 0.4.4
 
 * Dropped dependency on blaze-builder
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cookie-0.4.4/Web/Cookie.hs 
new/cookie-0.4.5/Web/Cookie.hs
--- old/cookie-0.4.4/Web/Cookie.hs  2018-03-11 07:06:16.0 +0100
+++ new/cookie-0.4.5/Web/Cookie.hs  2019-11-10 15:05:56.0 +0100
@@ -15,6 +15,7 @@
 , SameSiteOption
 , sameSiteLax
 , sameSiteStrict
+, sameSiteNone
   -- ** Functions
 , parseSetCookie
 , renderSetCookie
@@ -124,13 +125,14 @@
 , setCookieDomain :: Maybe S.ByteString -- ^ The domain for which the 
cookie should be sent. Default value: @Nothing@ (The browser defaults to the 
current domain).
 , setCookieHttpOnly :: Bool -- ^ Marks the cookie as "HTTP only", i.e. not 
accessible from Javascript. Default value: @False@
 , setCookieSecure :: Bool -- ^ Instructs the browser to only send the 
cookie over HTTPS. Default value: @False@
-, setCookieSameSite :: Maybe SameSiteOption -- ^ Marks the cookie as "same 
site", i.e. should not be sent with cross-site requests. Default value: 
@Nothing@
+, setCookieSameSite :: Maybe SameSiteOption -- ^ The "same site" policy of 
the cookie, i.e. whether it should be sent with cross-site requests. Default 
value: @Nothing@
 }
 deriving (Eq, Show)
 
 -- | Data type representing the options for a 

 data SameSiteOption = Lax
 | Strict
+| None
 deriving (Show, Eq)
 
 instance NFData SameSiteOption where
@@ -144,6 +146,13 @@
 sameSiteStrict :: SameSiteOption
 sameSiteStrict = Strict
 
+-- |
+-- Directs the browser to send the cookie for cross-site requests.
+--
+-- @since 0.4.5
+sameSiteNone :: SameSiteOption
+sameSiteNone = None
+
 instance NFData SetCookie where
 rnf (SetCookie a b c d e f g h i) =
 a `seq`
@@ -211,6 +220,7 @@
 Nothing -> mempty
 Just Lax -> 

commit ghc-cookie for openSUSE:Factory

2018-10-25 Thread root
Hello community,

here is the log from the commit of package ghc-cookie for openSUSE:Factory 
checked in at 2018-10-25 08:23:54

Comparing /work/SRC/openSUSE:Factory/ghc-cookie (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-cookie.new (New)


Package is "ghc-cookie"

Thu Oct 25 08:23:54 2018 rev:9 rq:643373 version:0.4.4

Changes:

--- /work/SRC/openSUSE:Factory/ghc-cookie/ghc-cookie.changes2018-07-24 
17:16:37.694856012 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-cookie.new/ghc-cookie.changes   
2018-10-25 08:23:56.743867914 +0200
@@ -1,0 +2,5 @@
+Sat Oct 20 11:31:21 UTC 2018 - Peter Simons 
+
+- Use https URL to refer to bugs.opensuse.org.
+
+---



Other differences:
--
++ ghc-cookie.spec ++
--- /var/tmp/diff_new_pack.G6Xs27/_old  2018-10-25 08:23:57.555867545 +0200
+++ /var/tmp/diff_new_pack.G6Xs27/_new  2018-10-25 08:23:57.559867542 +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-cookie for openSUSE:Factory

2018-07-24 Thread root
Hello community,

here is the log from the commit of package ghc-cookie for openSUSE:Factory 
checked in at 2018-07-24 17:16:33

Comparing /work/SRC/openSUSE:Factory/ghc-cookie (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-cookie.new (New)


Package is "ghc-cookie"

Tue Jul 24 17:16:33 2018 rev:8 rq:623748 version:0.4.4

Changes:

--- /work/SRC/openSUSE:Factory/ghc-cookie/ghc-cookie.changes2018-05-30 
12:25:17.474357463 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-cookie.new/ghc-cookie.changes   
2018-07-24 17:16:37.694856012 +0200
@@ -1,0 +2,6 @@
+Wed Jul 18 14:26:19 UTC 2018 - psim...@suse.com
+
+- Cosmetic: replace tabs with blanks, strip trailing white space,
+  and update copyright headers with spec-cleaner.
+
+---
@@ -52 +57,0 @@
-



Other differences:
--



commit ghc-cookie for openSUSE:Factory

2018-05-30 Thread root
Hello community,

here is the log from the commit of package ghc-cookie for openSUSE:Factory 
checked in at 2018-05-30 12:05:35

Comparing /work/SRC/openSUSE:Factory/ghc-cookie (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-cookie.new (New)


Package is "ghc-cookie"

Wed May 30 12:05:35 2018 rev:7 rq:607774 version:0.4.4

Changes:

--- /work/SRC/openSUSE:Factory/ghc-cookie/ghc-cookie.changes2017-09-15 
21:28:56.066784148 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-cookie.new/ghc-cookie.changes   
2018-05-30 12:25:17.474357463 +0200
@@ -1,0 +2,8 @@
+Mon May 14 17:02:11 UTC 2018 - psim...@suse.com
+
+- Update cookie to version 0.4.4.
+  * Dropped dependency on blaze-builder
+  * Made cookie text rendering slightly more efficient
+  * Added `defaultSetCookie` [#16](https://github.com/snoyberg/cookie/pull/16)
+
+---

Old:

  cookie-0.4.2.1.tar.gz

New:

  cookie-0.4.4.tar.gz



Other differences:
--
++ ghc-cookie.spec ++
--- /var/tmp/diff_new_pack.Ekj8Oi/_old  2018-05-30 12:25:18.122336276 +0200
+++ /var/tmp/diff_new_pack.Ekj8Oi/_new  2018-05-30 12:25:18.126336145 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-cookie
 #
-# 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
@@ -19,7 +19,7 @@
 %global pkg_name cookie
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.4.2.1
+Version:0.4.4
 Release:0
 Summary:HTTP cookie parsing and rendering
 License:MIT
@@ -27,11 +27,9 @@
 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-blaze-builder-devel
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-data-default-class-devel
 BuildRequires:  ghc-deepseq-devel
-BuildRequires:  ghc-old-locale-devel
 BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-text-devel
 BuildRequires:  ghc-time-devel
@@ -77,7 +75,7 @@
 %ghc_pkg_recache
 
 %files -f %{name}.files
-%doc LICENSE
+%license LICENSE
 
 %files devel -f %{name}-devel.files
 %doc ChangeLog.md README.md

++ cookie-0.4.2.1.tar.gz -> cookie-0.4.4.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cookie-0.4.2.1/ChangeLog.md 
new/cookie-0.4.4/ChangeLog.md
--- old/cookie-0.4.2.1/ChangeLog.md 2016-07-07 17:34:11.0 +0200
+++ new/cookie-0.4.4/ChangeLog.md   2018-03-11 07:06:16.0 +0100
@@ -1,3 +1,12 @@
+## 0.4.4
+
+* Dropped dependency on blaze-builder
+* Made cookie text rendering slightly more efficient
+
+## 0.4.3
+
+* Added `defaultSetCookie` [#16](https://github.com/snoyberg/cookie/pull/16)
+
 ## 0.4.2.1
 
 * Clarified MIT license
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cookie-0.4.2.1/Web/Cookie.hs 
new/cookie-0.4.4/Web/Cookie.hs
--- old/cookie-0.4.2.1/Web/Cookie.hs2016-07-07 17:34:11.0 +0200
+++ new/cookie-0.4.4/Web/Cookie.hs  2018-03-11 07:06:16.0 +0100
@@ -1,4 +1,3 @@
-{-# LANGUAGE CPP #-}
 {-# LANGUAGE OverloadedStrings #-}
 module Web.Cookie
 ( -- * Server to client
@@ -19,6 +18,7 @@
   -- ** Functions
 , parseSetCookie
 , renderSetCookie
+, defaultSetCookie
 , def
   -- * Client to server
 , Cookies
@@ -36,24 +36,18 @@
 
 import qualified Data.ByteString as S
 import qualified Data.ByteString.Char8 as S8
-import Data.Char (toLower)
-import Blaze.ByteString.Builder (Builder, fromByteString, copyByteString)
-import Blaze.ByteString.Builder.Char8 (fromChar)
+import Data.Char (toLower, isDigit)
+import Data.ByteString.Builder (Builder, byteString, char8)
+import Data.ByteString.Builder.Extra (byteStringCopy)
 import Data.Monoid (mempty, mappend, mconcat)
 import Data.Word (Word8)
 import Data.Ratio (numerator, denominator)
-import Data.Time (UTCTime (UTCTime), toGregorian, fromGregorian, formatTime, 
parseTime)
+import Data.Time (UTCTime (UTCTime), toGregorian, fromGregorian, formatTime, 
parseTimeM, defaultTimeLocale)
 import Data.Time.Clock (DiffTime, secondsToDiffTime)
-#if MIN_VERSION_time(1, 5, 0)
-import Data.Time (defaultTimeLocale)
-#else
-import System.Locale (defaultTimeLocale)
-#endif
-import Control.Arrow (first)
+import Control.Arrow (first, (***))
 import Data.Text (Text)
-import Data.Text.Encoding (encodeUtf8, decodeUtf8With)
+import Data.Text.Encoding (encodeUtf8Builder, decodeUtf8With)
 import 

commit ghc-cookie for openSUSE:Factory

2017-09-15 Thread root
Hello community,

here is the log from the commit of package ghc-cookie for openSUSE:Factory 
checked in at 2017-09-15 21:28:54

Comparing /work/SRC/openSUSE:Factory/ghc-cookie (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-cookie.new (New)


Package is "ghc-cookie"

Fri Sep 15 21:28:54 2017 rev:6 rq:524339 version:0.4.2.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-cookie/ghc-cookie.changes2016-07-21 
08:03:49.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-cookie.new/ghc-cookie.changes   
2017-09-15 21:28:56.066784148 +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-cookie.spec ++
--- /var/tmp/diff_new_pack.L6Akn1/_old  2017-09-15 21:28:56.646702417 +0200
+++ /var/tmp/diff_new_pack.L6Akn1/_new  2017-09-15 21:28:56.650701853 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-cookie
 #
-# 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
@@ -23,11 +23,10 @@
 Release:0
 Summary:HTTP cookie parsing and rendering
 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-blaze-builder-devel
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-data-default-class-devel
@@ -36,7 +35,6 @@
 BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-text-devel
 BuildRequires:  ghc-time-devel
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if %{with tests}
 BuildRequires:  ghc-HUnit-devel
 BuildRequires:  ghc-QuickCheck-devel
@@ -44,7 +42,6 @@
 BuildRequires:  ghc-tasty-hunit-devel
 BuildRequires:  ghc-tasty-quickcheck-devel
 %endif
-# End cabal-rpm deps
 
 %description
 Hackage documentation generation is not reliable. For up to date documentation,
@@ -52,7 +49,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}
@@ -64,20 +61,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
@@ -86,11 +77,9 @@
 %ghc_pkg_recache
 
 %files -f %{name}.files
-%defattr(-,root,root,-)
 %doc LICENSE
 
 %files devel -f %{name}-devel.files
-%defattr(-,root,root,-)
 %doc ChangeLog.md README.md
 
 %changelog




commit ghc-cookie for openSUSE:Factory

2016-07-21 Thread h_root
Hello community,

here is the log from the commit of package ghc-cookie for openSUSE:Factory 
checked in at 2016-07-21 08:03:46

Comparing /work/SRC/openSUSE:Factory/ghc-cookie (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-cookie.new (New)


Package is "ghc-cookie"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-cookie/ghc-cookie.changes2016-07-14 
09:48:19.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-cookie.new/ghc-cookie.changes   
2016-07-21 08:03:49.0 +0200
@@ -4 +4 @@
-- update to 0.4.2.1
+- update to version 0.4.2.1 revision 0



Other differences:
--
++ ghc-cookie.spec ++
--- /var/tmp/diff_new_pack.fGwVC9/_old  2016-07-21 08:03:50.0 +0200
+++ /var/tmp/diff_new_pack.fGwVC9/_new  2016-07-21 08:03:50.0 +0200
@@ -17,54 +17,68 @@
 
 
 %global pkg_name cookie
-
-Name:   ghc-cookie
+%bcond_with tests
+Name:   ghc-%{pkg_name}
 Version:0.4.2.1
 Release:0
 Summary:HTTP cookie parsing and rendering
 License:MIT
 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
-
+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-rpm-macros
 # Begin cabal-rpm deps:
 BuildRequires:  ghc-blaze-builder-devel
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-data-default-class-devel
-BuildRequires:  ghc-data-default-devel
+BuildRequires:  ghc-deepseq-devel
 BuildRequires:  ghc-old-locale-devel
+BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-text-devel
 BuildRequires:  ghc-time-devel
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+%if %{with tests}
+BuildRequires:  ghc-HUnit-devel
+BuildRequires:  ghc-QuickCheck-devel
+BuildRequires:  ghc-tasty-devel
+BuildRequires:  ghc-tasty-hunit-devel
+BuildRequires:  ghc-tasty-quickcheck-devel
+%endif
 # End cabal-rpm deps
 
 %description
-Haskell HTTP cookie parsing and rendering.
-
+Hackage documentation generation is not reliable. For up to date documentation,
+please see: .
 
 %package devel
 Summary:Haskell %{pkg_name} library development files
 Group:  Development/Libraries/Other
-Provides:   %{name}-static = %{version}-%{release}
 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
 
+
+%check
+%if %{with tests}
+%{cabal} test
+%endif
+
+
 %post devel
 %ghc_pkg_recache
 
@@ -77,6 +91,6 @@
 
 %files devel -f %{name}-devel.files
 %defattr(-,root,root,-)
-%doc README.md ChangeLog.md
+%doc ChangeLog.md README.md
 
 %changelog




commit ghc-cookie for openSUSE:Factory

2016-07-14 Thread h_root
Hello community,

here is the log from the commit of package ghc-cookie for openSUSE:Factory 
checked in at 2016-07-14 09:48:19

Comparing /work/SRC/openSUSE:Factory/ghc-cookie (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-cookie.new (New)


Package is "ghc-cookie"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-cookie/ghc-cookie.changes2016-04-30 
23:30:16.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-cookie.new/ghc-cookie.changes   
2016-07-14 09:48:19.0 +0200
@@ -1,0 +2,6 @@
+Sun Jul 10 15:39:57 UTC 2016 - mimi...@gmail.com
+
+- update to 0.4.2.1
+* Clarified MIT license
+
+---

Old:

  cookie-0.4.2.tar.gz

New:

  cookie-0.4.2.1.tar.gz



Other differences:
--
++ ghc-cookie.spec ++
--- /var/tmp/diff_new_pack.r3EsJK/_old  2016-07-14 09:48:20.0 +0200
+++ /var/tmp/diff_new_pack.r3EsJK/_new  2016-07-14 09:48:20.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-cookie
 #
-# 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
@@ -19,10 +19,10 @@
 %global pkg_name cookie
 
 Name:   ghc-cookie
-Version:0.4.2
+Version:0.4.2.1
 Release:0
 Summary:HTTP cookie parsing and rendering
-License:BSD-2-Clause
+License:MIT
 Group:  System/Libraries
 
 Url:http://hackage.haskell.org/package/%{pkg_name}

++ cookie-0.4.2.tar.gz -> cookie-0.4.2.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cookie-0.4.2/ChangeLog.md 
new/cookie-0.4.2.1/ChangeLog.md
--- old/cookie-0.4.2/ChangeLog.md   2016-04-20 07:22:10.0 +0200
+++ new/cookie-0.4.2.1/ChangeLog.md 2016-07-07 17:34:11.0 +0200
@@ -1,3 +1,7 @@
+## 0.4.2.1
+
+* Clarified MIT license
+
 ## 0.4.2
 
 * Added SameSite [#13](https://github.com/snoyberg/cookie/pull/13)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cookie-0.4.2/LICENSE new/cookie-0.4.2.1/LICENSE
--- old/cookie-0.4.2/LICENSE2016-04-20 07:22:10.0 +0200
+++ new/cookie-0.4.2.1/LICENSE  2016-07-07 17:34:11.0 +0200
@@ -1,25 +1,20 @@
-The following license covers this documentation, and the source code, except
-where otherwise indicated.
+Copyright (c) 2010 Michael Snoyman, http://www.yesodweb.com/
 
-Copyright 2010, Michael Snoyman. All rights reserved.
+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:
 
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
 
-* Redistributions of source code must retain the above copyright notice, this
-  list of conditions and the following disclaimer.
-
-* Redistributions in binary form must reproduce the above copyright notice,
-  this list of conditions and the following disclaimer in the documentation
-  and/or other materials provided with the distribution.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS "AS IS" AND ANY EXPRESS OR
-IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT,
-INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
-NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
-OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
-LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
-OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+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, 

commit ghc-cookie for openSUSE:Factory

2016-04-30 Thread h_root
Hello community,

here is the log from the commit of package ghc-cookie for openSUSE:Factory 
checked in at 2016-04-30 23:30:14

Comparing /work/SRC/openSUSE:Factory/ghc-cookie (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-cookie.new (New)


Package is "ghc-cookie"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-cookie/ghc-cookie.changes2015-06-30 
10:19:02.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-cookie.new/ghc-cookie.changes   
2016-04-30 23:30:16.0 +0200
@@ -1,0 +2,6 @@
+Tue Apr 26 08:12:25 UTC 2016 - mimi...@gmail.com
+
+- update to 0.4.2
+* Added SameSite
+
+---

Old:

  cookie-0.4.1.6.tar.gz

New:

  cookie-0.4.2.tar.gz



Other differences:
--
++ ghc-cookie.spec ++
--- /var/tmp/diff_new_pack.IgegJH/_old  2016-04-30 23:30:16.0 +0200
+++ /var/tmp/diff_new_pack.IgegJH/_new  2016-04-30 23:30:16.0 +0200
@@ -19,7 +19,7 @@
 %global pkg_name cookie
 
 Name:   ghc-cookie
-Version:0.4.1.6
+Version:0.4.2
 Release:0
 Summary:HTTP cookie parsing and rendering
 License:BSD-2-Clause
@@ -77,5 +77,6 @@
 
 %files devel -f %{name}-devel.files
 %defattr(-,root,root,-)
+%doc README.md ChangeLog.md
 
 %changelog

++ cookie-0.4.1.6.tar.gz -> cookie-0.4.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cookie-0.4.1.6/ChangeLog.md 
new/cookie-0.4.2/ChangeLog.md
--- old/cookie-0.4.1.6/ChangeLog.md 1970-01-01 01:00:00.0 +0100
+++ new/cookie-0.4.2/ChangeLog.md   2016-04-20 07:22:10.0 +0200
@@ -0,0 +1,3 @@
+## 0.4.2
+
+* Added SameSite [#13](https://github.com/snoyberg/cookie/pull/13)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cookie-0.4.1.6/README.md new/cookie-0.4.2/README.md
--- old/cookie-0.4.1.6/README.md1970-01-01 01:00:00.0 +0100
+++ new/cookie-0.4.2/README.md  2016-04-20 07:22:10.0 +0200
@@ -0,0 +1,5 @@
+## cookie
+
+[![Build 
Status](https://travis-ci.org/snoyberg/cookie.svg?branch=master)](https://travis-ci.org/snoyberg/cookie)
+
+HTTP cookie parsing and rendering
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cookie-0.4.1.6/Web/Cookie.hs 
new/cookie-0.4.2/Web/Cookie.hs
--- old/cookie-0.4.1.6/Web/Cookie.hs2015-06-23 10:20:33.0 +0200
+++ new/cookie-0.4.2/Web/Cookie.hs  2016-04-20 07:22:10.0 +0200
@@ -12,6 +12,10 @@
 , setCookieDomain
 , setCookieHttpOnly
 , setCookieSecure
+, setCookieSameSite
+, SameSiteOption
+, sameSiteLax
+, sameSiteStrict
   -- ** Functions
 , parseSetCookie
 , renderSetCookie
@@ -100,7 +104,7 @@
`mappend` fromByteString v
 -- | Data type representing the key-value pair to use for a cookie, as well as 
configuration options for it.
 --
---  Creating a SetCookie 
+--  Creating a SetCookie
 --
 -- 'SetCookie' does not export a constructor; instead, use the 'Default' 
instance to create one and override values (see 
 for details):
 --
@@ -122,11 +126,24 @@
 , setCookieDomain :: Maybe S.ByteString -- ^ The domain for which the 
cookie should be sent. Default value: @Nothing@ (The browser defaults to the 
current domain).
 , setCookieHttpOnly :: Bool -- ^ Marks the cookie as "HTTP only", i.e. not 
accessible from Javascript. Default value: @False@
 , setCookieSecure :: Bool -- ^ Instructs the browser to only send the 
cookie over HTTPS. Default value: @False@
+, setCookieSameSite :: Maybe SameSiteOption -- ^ Marks the cookie as "same 
site", i.e. should not be sent with cross-site requests. Default value: 
@Nothing@
 }
 deriving (Eq, Show)
 
+-- | Data type representing the options for a SameSite cookie
+data SameSiteOption = Lax | Strict deriving (Show, Eq)
+
+instance NFData SameSiteOption where
+  rnf x = x `seq` ()
+
+sameSiteLax :: SameSiteOption
+sameSiteLax = Lax
+
+sameSiteStrict :: SameSiteOption
+sameSiteStrict = Strict
+
 instance NFData SetCookie where
-rnf (SetCookie a b c d e f g h) =
+rnf (SetCookie a b c d e f g h i) =
 a `seq`
 b `seq`
 rnfMBS c `seq`
@@ -134,7 +151,8 @@
 rnf e `seq`
 rnfMBS f `seq`
 rnf g `seq`
-rnf h
+rnf h `seq`
+rnf i
   where
 -- For backwards compatibility
 rnfMBS Nothing = ()
@@ -150,6 +168,7 @@
 , setCookieDomain   = Nothing
 , setCookieHttpOnly = False
 , setCookieSecure   = False
+, setCookieSameSite = Nothing
 }
 
 renderSetCookie :: 

commit ghc-cookie for openSUSE:Factory

2015-06-30 Thread h_root
Hello community,

here is the log from the commit of package ghc-cookie for openSUSE:Factory 
checked in at 2015-06-30 10:19:00

Comparing /work/SRC/openSUSE:Factory/ghc-cookie (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-cookie.new (New)


Package is ghc-cookie

Changes:

--- /work/SRC/openSUSE:Factory/ghc-cookie/ghc-cookie.changes2015-05-22 
09:53:11.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-cookie.new/ghc-cookie.changes   
2015-06-30 10:19:02.0 +0200
@@ -1,0 +2,5 @@
+Sun Jun 28 16:33:58 UTC 2015 - mimi...@gmail.com
+
+- update to 0.4.1.6 
+
+---

Old:

  cookie-0.4.1.5.tar.gz

New:

  cookie-0.4.1.6.tar.gz



Other differences:
--
++ ghc-cookie.spec ++
--- /var/tmp/diff_new_pack.A3UXll/_old  2015-06-30 10:19:02.0 +0200
+++ /var/tmp/diff_new_pack.A3UXll/_new  2015-06-30 10:19:02.0 +0200
@@ -19,7 +19,7 @@
 %global pkg_name cookie
 
 Name:   ghc-cookie
-Version:0.4.1.5
+Version:0.4.1.6
 Release:0
 Summary:HTTP cookie parsing and rendering
 License:BSD-2-Clause

++ cookie-0.4.1.5.tar.gz - cookie-0.4.1.6.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cookie-0.4.1.5/Web/Cookie.hs 
new/cookie-0.4.1.6/Web/Cookie.hs
--- old/cookie-0.4.1.5/Web/Cookie.hs2015-04-28 13:32:24.0 +0200
+++ new/cookie-0.4.1.6/Web/Cookie.hs2015-06-23 10:20:33.0 +0200
@@ -98,16 +98,30 @@
 renderCookie :: (S.ByteString, S.ByteString) - Builder
 renderCookie (k, v) = fromByteString k `mappend` fromChar '='
`mappend` fromByteString v
-
+-- | Data type representing the key-value pair to use for a cookie, as well as 
configuration options for it.
+--
+--  Creating a SetCookie 
+--
+-- 'SetCookie' does not export a constructor; instead, use the 'Default' 
instance to create one and override values (see 
http://www.yesodweb.com/book/settings-types for details):
+--
+-- @
+-- import Web.Cookie
+-- :set -XOverloadedStrings
+-- let cookie = 'def' { 'setCookieName' = cookieName, 'setCookieValue' = 
cookieValue }
+-- @
+--
+--  Cookie Configuration
+--
+-- Cookies have several configuration options; a brief summary of each option 
is given below. For more information, see 
http://tools.ietf.org/html/rfc6265#section-4.1.2 RFC 6265 or 
https://en.wikipedia.org/wiki/HTTP_cookie#Cookie_attributes Wikipedia.
 data SetCookie = SetCookie
-{ setCookieName :: S.ByteString
-, setCookieValue :: S.ByteString
-, setCookiePath :: Maybe S.ByteString
-, setCookieExpires :: Maybe UTCTime
-, setCookieMaxAge :: Maybe DiffTime
-, setCookieDomain :: Maybe S.ByteString
-, setCookieHttpOnly :: Bool
-, setCookieSecure :: Bool
+{ setCookieName :: S.ByteString -- ^ The name of the cookie. Default 
value: @name@
+, setCookieValue :: S.ByteString -- ^ The value of the cookie. Default 
value: @value@
+, setCookiePath :: Maybe S.ByteString -- ^ The URL path for which the 
cookie should be sent. Default value: @Nothing@ (The browser defaults to the 
path of the request that sets the cookie).
+, setCookieExpires :: Maybe UTCTime -- ^ The time at which to expire the 
cookie. Default value: @Nothing@ (The browser will default to expiring a cookie 
when the browser is closed).
+, setCookieMaxAge :: Maybe DiffTime -- ^ The maximum time to keep the 
cookie, in seconds. Default value: @Nothing@ (The browser defaults to expiring 
a cookie when the browser is closed).
+, setCookieDomain :: Maybe S.ByteString -- ^ The domain for which the 
cookie should be sent. Default value: @Nothing@ (The browser defaults to the 
current domain).
+, setCookieHttpOnly :: Bool -- ^ Marks the cookie as HTTP only, i.e. not 
accessible from Javascript. Default value: @False@
+, setCookieSecure :: Bool -- ^ Instructs the browser to only send the 
cookie over HTTPS. Default value: @False@
 }
 deriving (Eq, Show)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cookie-0.4.1.5/cookie.cabal 
new/cookie-0.4.1.6/cookie.cabal
--- old/cookie-0.4.1.5/cookie.cabal 2015-04-28 13:32:24.0 +0200
+++ new/cookie-0.4.1.6/cookie.cabal 2015-06-23 10:20:33.0 +0200
@@ -1,5 +1,5 @@
 name:cookie
-version: 0.4.1.5
+version: 0.4.1.6
 license: BSD3
 license-file:LICENSE
 author:  Michael Snoyman mich...@snoyman.com
@@ -16,7 +16,7 @@
, bytestring= 0.9.1.4
, blaze-builder = 0.2.1
, old-locale= 1
-