commit ghc-http-types for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-http-types for openSUSE:Factory checked in at 2020-08-28 21:33:45 Comparing /work/SRC/openSUSE:Factory/ghc-http-types (Old) and /work/SRC/openSUSE:Factory/.ghc-http-types.new.3399 (New) Package is "ghc-http-types" Fri Aug 28 21:33:45 2020 rev:12 rq:829313 version:0.12.3 Changes: --- /work/SRC/openSUSE:Factory/ghc-http-types/ghc-http-types.changes 2020-06-19 17:13:34.798190279 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-http-types.new.3399/ghc-http-types.changes 2020-08-28 21:33:47.480678699 +0200 @@ -1,0 +2,5 @@ +Tue Aug 18 10:45:09 UTC 2020 - Peter Simons + +- Replace %setup -q with the more modern %autosetup macro. + +--- Other differences: -- ++ ghc-http-types.spec ++ --- /var/tmp/diff_new_pack.kAehtt/_old 2020-08-28 21:33:47.912678904 +0200 +++ /var/tmp/diff_new_pack.kAehtt/_new 2020-08-28 21:33:47.916678905 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-http-types # -# 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} %build %ghc_lib_build
commit ghc-http-types for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-http-types for openSUSE:Factory checked in at 2020-06-19 17:13:32 Comparing /work/SRC/openSUSE:Factory/ghc-http-types (Old) and /work/SRC/openSUSE:Factory/.ghc-http-types.new.3606 (New) Package is "ghc-http-types" Fri Jun 19 17:13:32 2020 rev:11 rq:815111 version:0.12.3 Changes: --- /work/SRC/openSUSE:Factory/ghc-http-types/ghc-http-types.changes 2019-12-27 13:54:23.100687774 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-http-types.new.3606/ghc-http-types.changes 2020-06-19 17:13:34.798190279 +0200 @@ -1,0 +2,5 @@ +Tue Jun 16 11:14:14 UTC 2020 - Peter Simons + +- Re-generate file with latest version of spec-cleaner. + +--- Other differences: -- ++ ghc-http-types.spec ++ --- /var/tmp/diff_new_pack.liF42m/_old 2020-06-19 17:13:35.258191818 +0200 +++ /var/tmp/diff_new_pack.liF42m/_new 2020-06-19 17:13:35.262191832 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-http-types # -# 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-http-types for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-http-types for openSUSE:Factory checked in at 2019-12-27 13:54:18 Comparing /work/SRC/openSUSE:Factory/ghc-http-types (Old) and /work/SRC/openSUSE:Factory/.ghc-http-types.new.6675 (New) Package is "ghc-http-types" Fri Dec 27 13:54:18 2019 rev:10 rq:759425 version:0.12.3 Changes: --- /work/SRC/openSUSE:Factory/ghc-http-types/ghc-http-types.changes 2019-03-06 15:47:19.628451769 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-http-types.new.6675/ghc-http-types.changes 2019-12-27 13:54:23.100687774 +0100 @@ -1,0 +2,5 @@ +Fri Nov 8 16:14:00 UTC 2019 - Peter Simons + +- Drop obsolete group attributes. + +--- Other differences: -- ++ ghc-http-types.spec ++ --- /var/tmp/diff_new_pack.bFw1v5/_old 2019-12-27 13:54:23.972688195 +0100 +++ /var/tmp/diff_new_pack.bFw1v5/_new 2019-12-27 13:54:23.976688197 +0100 @@ -23,7 +23,6 @@ Release:0 Summary:Generic HTTP types for Haskell (for both client and server code) 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 BuildRequires: ghc-Cabal-devel @@ -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-http-types for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-http-types for openSUSE:Factory checked in at 2019-03-06 15:47:17 Comparing /work/SRC/openSUSE:Factory/ghc-http-types (Old) and /work/SRC/openSUSE:Factory/.ghc-http-types.new.28833 (New) Package is "ghc-http-types" Wed Mar 6 15:47:17 2019 rev:9 rq:681684 version:0.12.3 Changes: --- /work/SRC/openSUSE:Factory/ghc-http-types/ghc-http-types.changes 2018-10-25 08:17:23.328043277 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-http-types.new.28833/ghc-http-types.changes 2019-03-06 15:47:19.628451769 +0100 @@ -1,0 +2,8 @@ +Mon Feb 25 03:02:35 UTC 2019 - psim...@suse.com + +- Update http-types to version 0.12.3. + * 0.12.3 [2019-02-24] + + Remove now-invalid doctest options from doctests.hs. + +--- Old: http-types-0.12.2.tar.gz New: http-types-0.12.3.tar.gz Other differences: -- ++ ghc-http-types.spec ++ --- /var/tmp/diff_new_pack.i57TnI/_old 2019-03-06 15:47:20.608451510 +0100 +++ /var/tmp/diff_new_pack.i57TnI/_new 2019-03-06 15:47:20.608451510 +0100 @@ -1,7 +1,7 @@ # # spec file for package ghc-http-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 @@ -19,7 +19,7 @@ %global pkg_name http-types %bcond_with tests Name: ghc-%{pkg_name} -Version:0.12.2 +Version:0.12.3 Release:0 Summary:Generic HTTP types for Haskell (for both client and server code) License:BSD-3-Clause ++ http-types-0.12.2.tar.gz -> http-types-0.12.3.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/http-types-0.12.2/CHANGELOG new/http-types-0.12.3/CHANGELOG --- old/http-types-0.12.2/CHANGELOG 2018-09-26 22:02:56.0 +0200 +++ new/http-types-0.12.3/CHANGELOG 2019-02-24 12:33:24.0 +0100 @@ -1,3 +1,7 @@ +* 0.12.3 [2019-02-24] + +Remove now-invalid doctest options from doctests.hs. + * 0.12.2 [2018-09-26] Add new parseQueryReplacePlus function, which allows specifying whether to replace '+' with ' '. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/http-types-0.12.2/http-types.cabal new/http-types-0.12.3/http-types.cabal --- old/http-types-0.12.2/http-types.cabal 2018-09-26 22:02:56.0 +0200 +++ new/http-types-0.12.3/http-types.cabal 2019-02-24 12:33:24.0 +0100 @@ -1,5 +1,5 @@ Name:http-types -Version: 0.12.2 +Version: 0.12.3 Synopsis:Generic HTTP types for Haskell (for both client and server code). Description: Generic HTTP types for Haskell (for both client and server code). Homepage:https://github.com/aristidb/http-types @@ -16,7 +16,7 @@ Source-repository this type: git location: https://github.com/aristidb/http-types.git - tag: 0.12.2 + tag: 0.12.3 Source-repository head type: git diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/http-types-0.12.2/test/doctests.hs new/http-types-0.12.3/test/doctests.hs --- old/http-types-0.12.2/test/doctests.hs 2018-09-26 22:02:56.0 +0200 +++ new/http-types-0.12.3/test/doctests.hs 2019-02-24 12:33:24.0 +0100 @@ -4,9 +4,6 @@ main :: IO () main = doctest [ -"-idist/build/autogen/" - , "-optP-include" - , "-optPdist/build/autogen/cabal_macros.h" - , "-XOverloadedStrings" +"-XOverloadedStrings" , "Network/HTTP/Types.hs" ]
commit ghc-http-types for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-http-types for openSUSE:Factory checked in at 2018-10-25 08:16:53 Comparing /work/SRC/openSUSE:Factory/ghc-http-types (Old) and /work/SRC/openSUSE:Factory/.ghc-http-types.new (New) Package is "ghc-http-types" Thu Oct 25 08:16:53 2018 rev:8 rq:642868 version:0.12.2 Changes: --- /work/SRC/openSUSE:Factory/ghc-http-types/ghc-http-types.changes 2018-07-21 10:21:59.155004278 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-http-types.new/ghc-http-types.changes 2018-10-25 08:17:23.328043277 +0200 @@ -1,0 +2,10 @@ +Wed Oct 10 19:24:15 UTC 2018 - psim...@suse.com + +- Update http-types to version 0.12.2. + * 0.12.2 [2018-09-26] + + Add new parseQueryReplacePlus function, which allows specifying whether to replace '+' with ' '. + + Add header name constants for "Prefer" and "Preference-Applied" (RFC 7240). + +--- Old: http-types-0.12.1.tar.gz New: http-types-0.12.2.tar.gz Other differences: -- ++ ghc-http-types.spec ++ --- /var/tmp/diff_new_pack.jOlKJo/_old 2018-10-25 08:17:25.032042532 +0200 +++ /var/tmp/diff_new_pack.jOlKJo/_new 2018-10-25 08:17:25.036042531 +0200 @@ -12,14 +12,14 @@ # 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/ # %global pkg_name http-types %bcond_with tests Name: ghc-%{pkg_name} -Version:0.12.1 +Version:0.12.2 Release:0 Summary:Generic HTTP types for Haskell (for both client and server code) License:BSD-3-Clause ++ http-types-0.12.1.tar.gz -> http-types-0.12.2.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/http-types-0.12.1/CHANGELOG new/http-types-0.12.2/CHANGELOG --- old/http-types-0.12.1/CHANGELOG 2018-01-31 21:18:52.0 +0100 +++ new/http-types-0.12.2/CHANGELOG 2018-09-26 22:02:56.0 +0200 @@ -1,3 +1,9 @@ +* 0.12.2 [2018-09-26] + +Add new parseQueryReplacePlus function, which allows specifying whether to replace '+' with ' '. + +Add header name constants for "Prefer" and "Preference-Applied" (RFC 7240). + * 0.12.1 [2018-01-31] Add new functions for constructing a query URI where not all parts are escaped. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/http-types-0.12.1/Network/HTTP/Types/Header.hs new/http-types-0.12.2/Network/HTTP/Types/Header.hs --- old/http-types-0.12.1/Network/HTTP/Types/Header.hs 2018-01-31 21:18:52.0 +0100 +++ new/http-types-0.12.2/Network/HTTP/Types/Header.hs 2018-09-26 22:02:56.0 +0200 @@ -40,6 +40,8 @@ , hMaxForwards , hOrigin , hPragma +, hPrefer +, hPreferenceApplied , hProxyAuthenticate , hProxyAuthorization , hRange @@ -159,6 +161,11 @@ hOrigin :: HeaderName hOrigin = "Origin" +-- | HTTP Header names according to https://tools.ietf.org/html/rfc7240 +hPrefer, hPreferenceApplied :: HeaderName +hPrefer = "Prefer" +hPreferenceApplied = "Preference-Applied" + -- | RFC 2616 Byte range (individual). -- -- Negative indices are not allowed! diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/http-types-0.12.1/Network/HTTP/Types/URI.hs new/http-types-0.12.2/Network/HTTP/Types/URI.hs --- old/http-types-0.12.1/Network/HTTP/Types/URI.hs 2018-01-31 21:18:52.0 +0100 +++ new/http-types-0.12.2/Network/HTTP/Types/URI.hs 2018-09-26 22:02:56.0 +0200 @@ -11,6 +11,7 @@ , renderQueryBuilder , renderSimpleQuery , parseQuery +, parseQueryReplacePlus , parseSimpleQuery -- **Escape only parts , renderQueryPartialEscape @@ -61,8 +62,8 @@ -- | Query. -- --- General form: a=b=d, but if the value is Nothing, it becomes --- a=d. +-- General form: @a=b=d@, but if the value is Nothing, it becomes +-- @a=d@. type Query = [QueryItem] -- | Like Query, but with 'Text' instead of 'B.ByteString' (UTF8-encoded). @@ -137,10 +138,17 @@ -- decoding here. Most likely, you will want to use UTF-8 decoding, but this is -- left to the user of the library. -- --- * Percent decoding errors are ignored. In particular, "%Q" will be output as --- "%Q". +-- * Percent decoding errors are ignored. In particular, @"%Q"@ will be output as +-- @"%Q"@. +-- +-- * It decodes @\'+\'@ characters to @\' \'@ parseQuery :: B.ByteString -> Query -parseQuery = parseQueryString' . dropQuestion +parseQuery = parseQueryReplacePlus True + +-- | Same functionality as 'parseQuery' with the option to
commit ghc-http-types for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-http-types for openSUSE:Factory checked in at 2018-07-21 10:20:12 Comparing /work/SRC/openSUSE:Factory/ghc-http-types (Old) and /work/SRC/openSUSE:Factory/.ghc-http-types.new (New) Package is "ghc-http-types" Sat Jul 21 10:20:12 2018 rev:7 rq:623796 version:0.12.1 Changes: --- /work/SRC/openSUSE:Factory/ghc-http-types/ghc-http-types.changes 2018-05-30 12:26:07.608695764 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-http-types.new/ghc-http-types.changes 2018-07-21 10:21:59.155004278 +0200 @@ -1,0 +2,6 @@ +Wed Jul 18 14:26:29 UTC 2018 - psim...@suse.com + +- Cosmetic: replace tabs with blanks, strip trailing white space, + and update copyright headers with spec-cleaner. + +--- @@ -64 +69,0 @@ - Other differences: --
commit ghc-http-types for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-http-types for openSUSE:Factory checked in at 2018-05-30 12:09:59 Comparing /work/SRC/openSUSE:Factory/ghc-http-types (Old) and /work/SRC/openSUSE:Factory/.ghc-http-types.new (New) Package is "ghc-http-types" Wed May 30 12:09:59 2018 rev:6 rq:607823 version:0.12.1 Changes: --- /work/SRC/openSUSE:Factory/ghc-http-types/ghc-http-types.changes 2017-09-15 21:50:51.105491853 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-http-types.new/ghc-http-types.changes 2018-05-30 12:26:07.608695764 +0200 @@ -1,0 +2,14 @@ +Mon May 14 17:02:11 UTC 2018 - psim...@suse.com + +- Update http-types to version 0.12.1. + * Add new functions for constructing a query URI where not all parts are escaped. + * URI encoding is now back to upper-case hexadecimal, as that is the preferred canonicalization, and the previous change caused issues with URI + * signing in at least amazonka. + * Remove dependency on blaze-builder. (Note that as a side effect of this, URI encoding is now using lower-case rather than uppercase hexadecimal.) + * Add Bounded instance to Status. + * Re-export more status codes and http20 from Network.HTTP.Types. + * New status codes, new headers. + * Fixed typo in imATeapot, added missing toEnum. + * Oh, and http20. + +--- Old: http-types-0.9.1.tar.gz New: http-types-0.12.1.tar.gz Other differences: -- ++ ghc-http-types.spec ++ --- /var/tmp/diff_new_pack.7uSbdH/_old 2018-05-30 12:26:08.832654648 +0200 +++ /var/tmp/diff_new_pack.7uSbdH/_new 2018-05-30 12:26:08.836654514 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-http-types # -# 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 http-types %bcond_with tests Name: ghc-%{pkg_name} -Version:0.9.1 +Version:0.12.1 Release:0 Summary:Generic HTTP types for Haskell (for both client and server code) License:BSD-3-Clause @@ -28,7 +28,6 @@ Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz BuildRequires: ghc-Cabal-devel BuildRequires: ghc-array-devel -BuildRequires: ghc-blaze-builder-devel BuildRequires: ghc-bytestring-devel BuildRequires: ghc-case-insensitive-devel BuildRequires: ghc-rpm-macros @@ -73,7 +72,7 @@ %ghc_pkg_recache %files -f %{name}.files -%doc LICENSE +%license LICENSE %files devel -f %{name}-devel.files %doc CHANGELOG README ++ http-types-0.9.1.tar.gz -> http-types-0.12.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/http-types-0.9.1/CHANGELOG new/http-types-0.12.1/CHANGELOG --- old/http-types-0.9.1/CHANGELOG 2016-06-04 18:07:02.0 +0200 +++ new/http-types-0.12.1/CHANGELOG 2018-01-31 21:18:52.0 +0100 @@ -1,3 +1,28 @@ +* 0.12.1 [2018-01-31] + +Add new functions for constructing a query URI where not all parts are escaped. + +* 0.12 [2018-01-28] + +URI encoding is now back to upper-case hexadecimal, as that is the preferred canonicalization, and the previous change caused issues with URI +signing in at least amazonka. + +* 0.11 [2017-11-29] + +Remove dependency on blaze-builder. (Note that as a side effect of this, URI encoding is now using lower-case rather than uppercase hexadecimal.) + +Add Bounded instance to Status. + +Re-export more status codes and http20 from Network.HTTP.Types. + +* 0.10 [2017-10-22] + +New status codes, new headers. + +Fixed typo in imATeapot, added missing toEnum. + +Oh, and http20. + * 0.9.1 [2016-06-04] New function: parseByteRanges. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/http-types-0.9.1/Network/HTTP/Types/Header.hs new/http-types-0.12.1/Network/HTTP/Types/Header.hs --- old/http-types-0.9.1/Network/HTTP/Types/Header.hs 2016-06-04 18:07:02.0 +0200 +++ new/http-types-0.12.1/Network/HTTP/Types/Header.hs 2018-01-31 21:18:52.0 +0100 @@ -24,7 +24,6 @@ , hContentMD5 , hContentRange , hContentType -, hCookie , hDate , hETag , hExpect @@ -39,6 +38,7 @@ , hLastModified , hLocation , hMaxForwards +, hOrigin , hPragma , hProxyAuthenticate , hProxyAuthorization @@ -55,6 +55,10 @@ , hVia , hWWWAuthenticate , hWarning +, hContentDisposition +, hMIMEVersion +, hCookie +, hSetCookie -- ** Byte ranges , ByteRange(..) , renderByteRangeBuilder @@
commit ghc-http-types for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-http-types for openSUSE:Factory checked in at 2017-09-15 21:50:49 Comparing /work/SRC/openSUSE:Factory/ghc-http-types (Old) and /work/SRC/openSUSE:Factory/.ghc-http-types.new (New) Package is "ghc-http-types" Fri Sep 15 21:50:49 2017 rev:5 rq:524824 version:0.9.1 Changes: --- /work/SRC/openSUSE:Factory/ghc-http-types/ghc-http-types.changes 2016-07-21 08:10:29.0 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-http-types.new/ghc-http-types.changes 2017-09-15 21:50:51.105491853 +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-http-types.spec ++ --- /var/tmp/diff_new_pack.wvj1Fl/_old 2017-09-15 21:50:51.901379673 +0200 +++ /var/tmp/diff_new_pack.wvj1Fl/_new 2017-09-15 21:50:51.909378546 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-http-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 @@ -23,32 +23,29 @@ Release:0 Summary:Generic HTTP types for Haskell (for both client and server code) License:BSD-3-Clause -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-array-devel BuildRequires: ghc-blaze-builder-devel BuildRequires: ghc-bytestring-devel BuildRequires: ghc-case-insensitive-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-text-devel -BuildRoot: %{_tmppath}/%{name}-%{version}-build %if %{with tests} BuildRequires: ghc-QuickCheck-devel BuildRequires: ghc-doctest-devel BuildRequires: ghc-hspec-devel BuildRequires: ghc-quickcheck-instances-devel %endif -# End cabal-rpm deps %description Generic HTTP types for Haskell (for both client and server code). %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} @@ -60,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 @@ -82,11 +73,9 @@ %ghc_pkg_recache %files -f %{name}.files -%defattr(-,root,root,-) %doc LICENSE %files devel -f %{name}-devel.files -%defattr(-,root,root,-) %doc CHANGELOG README %changelog
commit ghc-http-types for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-http-types for openSUSE:Factory checked in at 2016-07-21 08:10:22 Comparing /work/SRC/openSUSE:Factory/ghc-http-types (Old) and /work/SRC/openSUSE:Factory/.ghc-http-types.new (New) Package is "ghc-http-types" Changes: --- /work/SRC/openSUSE:Factory/ghc-http-types/ghc-http-types.changes 2016-06-07 23:48:20.0 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-http-types.new/ghc-http-types.changes 2016-07-21 08:10:29.0 +0200 @@ -1,0 +2,5 @@ +Sun Jul 10 17:22:50 UTC 2016 - psim...@suse.com + +- Update to version 0.9.1 revision 0 with cabal2obs. + +--- Other differences: -- ++ ghc-http-types.spec ++ --- /var/tmp/diff_new_pack.uZIwdI/_old 2016-07-21 08:10:30.0 +0200 +++ /var/tmp/diff_new_pack.uZIwdI/_new 2016-07-21 08:10:30.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-http-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,27 +17,24 @@ %global pkg_name http-types - %bcond_with tests - - -Name: ghc-http-types +Name: ghc-%{pkg_name} Version:0.9.1 Release:0 Summary:Generic HTTP types for Haskell (for both client and server code) License:BSD-3-Clause 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-array-devel BuildRequires: ghc-blaze-builder-devel BuildRequires: ghc-bytestring-devel BuildRequires: ghc-case-insensitive-devel +BuildRequires: ghc-rpm-macros BuildRequires: ghc-text-devel +BuildRoot: %{_tmppath}/%{name}-%{version}-build %if %{with tests} BuildRequires: ghc-QuickCheck-devel BuildRequires: ghc-doctest-devel @@ -47,14 +44,15 @@ # End cabal-rpm deps %description -Generic HTTP types for Haskell. (for both client and server code). - +Generic HTTP types for Haskell (for both client and server code). %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. @@ -62,17 +60,21 @@ %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 @@ -85,6 +87,6 @@ %files devel -f %{name}-devel.files %defattr(-,root,root,-) -%doc README +%doc CHANGELOG README %changelog
commit ghc-http-types for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-http-types for openSUSE:Factory checked in at 2016-06-07 23:48:17 Comparing /work/SRC/openSUSE:Factory/ghc-http-types (Old) and /work/SRC/openSUSE:Factory/.ghc-http-types.new (New) Package is "ghc-http-types" Changes: --- /work/SRC/openSUSE:Factory/ghc-http-types/ghc-http-types.changes 2016-01-08 15:22:59.0 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-http-types.new/ghc-http-types.changes 2016-06-07 23:48:20.0 +0200 @@ -1,0 +2,8 @@ +Sun Jun 5 19:18:46 UTC 2016 - mimi...@gmail.com + +- update to 0.9.1 +- remove useless _service +* New function: parseByteRanges. +* Support for HTTP status 422 "Unprocessable Entity" (RFC 4918). + +--- Old: _service http-types-0.9.tar.gz New: http-types-0.9.1.tar.gz Other differences: -- ++ ghc-http-types.spec ++ --- /var/tmp/diff_new_pack.CcLaNY/_old 2016-06-07 23:48:21.0 +0200 +++ /var/tmp/diff_new_pack.CcLaNY/_new 2016-06-07 23:48:21.0 +0200 @@ -20,10 +20,9 @@ %bcond_with tests -%global debug_package %{nil} Name: ghc-http-types -Version:0.9 +Version:0.9.1 Release:0 Summary:Generic HTTP types for Haskell (for both client and server code) License:BSD-3-Clause ++ http-types-0.9.tar.gz -> http-types-0.9.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/http-types-0.9/CHANGELOG new/http-types-0.9.1/CHANGELOG --- old/http-types-0.9/CHANGELOG1970-01-01 01:00:00.0 +0100 +++ new/http-types-0.9.1/CHANGELOG 2016-06-04 18:07:02.0 +0200 @@ -0,0 +1,8 @@ +* 0.9.1 [2016-06-04] + +New function: parseByteRanges. +Support for HTTP status 422 "Unprocessable Entity" (RFC 4918). + +* 0.9 [2015-10-09] + +No changelog was maintained up to version 0.9. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/http-types-0.9/Network/HTTP/Types/Header.hs new/http-types-0.9.1/Network/HTTP/Types/Header.hs --- old/http-types-0.9/Network/HTTP/Types/Header.hs 2015-10-05 20:03:53.0 +0200 +++ new/http-types-0.9.1/Network/HTTP/Types/Header.hs 2016-06-04 18:07:02.0 +0200 @@ -62,6 +62,7 @@ , ByteRanges , renderByteRangesBuilder , renderByteRanges +, parseByteRanges ) where @@ -72,6 +73,7 @@ import qualified Blaze.ByteString.Builder as Blaze import qualified Blaze.ByteString.Builder.Char8 as Blaze import qualified Data.ByteStringas B +import qualified Data.ByteString.Char8 as B8 import qualified Data.CaseInsensitive as CI import Data.ByteString.Char8 () {-IsString-} import Data.Typeable (Typeable) @@ -167,3 +169,47 @@ renderByteRanges :: ByteRanges -> B.ByteString renderByteRanges = Blaze.toByteString . renderByteRangesBuilder + +-- | Parse the value of a Range header into a 'ByteRanges'. +-- +-- >>> parseByteRanges "error" +-- Nothing +-- >>> parseByteRanges "bytes=0-499" +-- Just [ByteRangeFromTo 0 499] +-- >>> parseByteRanges "bytes=500-999" +-- Just [ByteRangeFromTo 500 999] +-- >>> parseByteRanges "bytes=-500" +-- Just [ByteRangeSuffix 500] +-- >>> parseByteRanges "bytes=9500-" +-- Just [ByteRangeFrom 9500] +-- >>> parseByteRanges "bytes=0-0,-1" +-- Just [ByteRangeFromTo 0 0,ByteRangeSuffix 1] +-- >>> parseByteRanges "bytes=500-600,601-999" +-- Just [ByteRangeFromTo 500 600,ByteRangeFromTo 601 999] +-- >>> parseByteRanges "bytes=500-700,601-999" +-- Just [ByteRangeFromTo 500 700,ByteRangeFromTo 601 999] +parseByteRanges :: B.ByteString -> Maybe ByteRanges +parseByteRanges bs1 = do +bs2 <- stripPrefixB "bytes=" bs1 +(r, bs3) <- range bs2 +ranges (r:) bs3 + where +range bs2 = do +(i, bs3) <- B8.readInteger bs2 +if i < 0 -- has prefix "-" ("-0" is not valid, but here treated as "0-") +then Just (ByteRangeSuffix (negate i), bs3) +else do +bs4 <- stripPrefixB "-" bs3 +case B8.readInteger bs4 of +Just (j, bs5) | j >= i -> Just (ByteRangeFromTo i j, bs5) +_ -> Just (ByteRangeFrom i, bs4) +ranges front bs3 +| B.null bs3 = Just (front []) +| otherwise = do +bs4 <- stripPrefixB "," bs3 +(r, bs5) <- range bs4 +ranges (front . (r:)) bs5 + +stripPrefixB x y +| x `B.isPrefixOf` y = Just (B.drop (B.length x) y) +| otherwise = Nothing diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore'
commit ghc-http-types for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-http-types for openSUSE:Factory checked in at 2016-01-08 15:22:58 Comparing /work/SRC/openSUSE:Factory/ghc-http-types (Old) and /work/SRC/openSUSE:Factory/.ghc-http-types.new (New) Package is "ghc-http-types" Changes: --- /work/SRC/openSUSE:Factory/ghc-http-types/ghc-http-types.changes 2015-05-21 08:37:11.0 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-http-types.new/ghc-http-types.changes 2016-01-08 15:22:59.0 +0100 @@ -1,0 +2,5 @@ +Wed Dec 30 12:36:36 UTC 2015 - mimi...@gmail.com + +- update to 0.9 + +--- Old: http-types-0.8.6.tar.gz New: http-types-0.9.tar.gz Other differences: -- ++ ghc-http-types.spec ++ --- /var/tmp/diff_new_pack.ZqSLE0/_old 2016-01-08 15:23:00.0 +0100 +++ /var/tmp/diff_new_pack.ZqSLE0/_new 2016-01-08 15:23:00.0 +0100 @@ -23,7 +23,7 @@ %global debug_package %{nil} Name: ghc-http-types -Version:0.8.6 +Version:0.9 Release:0 Summary:Generic HTTP types for Haskell (for both client and server code) License:BSD-3-Clause ++ http-types-0.8.6.tar.gz -> http-types-0.9.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/http-types-0.8.6/Network/HTTP/Types/Header.hs new/http-types-0.9/Network/HTTP/Types/Header.hs --- old/http-types-0.8.6/Network/HTTP/Types/Header.hs 2015-02-16 20:58:49.0 +0100 +++ new/http-types-0.9/Network/HTTP/Types/Header.hs 2015-10-05 20:03:53.0 +0200 @@ -1,4 +1,4 @@ -{-# LANGUAGE OverloadedStrings, FlexibleInstances, MultiParamTypeClasses, FunctionalDependencies, DeriveDataTypeable #-} +{-# LANGUAGE OverloadedStrings, FlexibleInstances, MultiParamTypeClasses, DeriveDataTypeable, CPP #-} module Network.HTTP.Types.Header ( -- ** Types @@ -8,24 +8,53 @@ , ResponseHeaders -- ** Common headers , hAccept +, hAcceptCharset +, hAcceptEncoding , hAcceptLanguage +, hAcceptRanges +, hAge +, hAllow , hAuthorization , hCacheControl -, hCookie , hConnection , hContentEncoding +, hContentLanguage , hContentLength +, hContentLocation , hContentMD5 +, hContentRange , hContentType +, hCookie , hDate +, hETag +, hExpect +, hExpires +, hFrom +, hHost +, hIfMatch , hIfModifiedSince +, hIfNoneMatch , hIfRange +, hIfUnmodifiedSince , hLastModified , hLocation +, hMaxForwards +, hPragma +, hProxyAuthenticate +, hProxyAuthorization , hRange , hReferer +, hRetryAfter , hServer +, hTE +, hTrailer +, hTransferEncoding +, hUpgrade , hUserAgent +, hVary +, hVia +, hWWWAuthenticate +, hWarning -- ** Byte ranges , ByteRange(..) , renderByteRangeBuilder @@ -37,7 +66,9 @@ where import Data.List +#if __GLASGOW_HASKELL__ < 710 import Data.Monoid +#endif import qualified Blaze.ByteString.Builder as Blaze import qualified Blaze.ByteString.Builder.Char8 as Blaze import qualified Data.ByteStringas B @@ -59,31 +90,61 @@ type ResponseHeaders = [Header] -- | HTTP Header names -hAccept, hAcceptLanguage, hAuthorization, hCacheControl, hConnection, hContentEncoding, hContentLength, hContentMD5, hContentType, hCookie, hDate, hIfModifiedSince, hIfRange, hLastModified, hLocation, hRange, hReferer, hServer, hUserAgent :: HeaderName -hAccept = "Accept" -hAcceptLanguage = "Accept-Language" -hAuthorization = "Authorization" -hCacheControl= "Cache-Control" -hConnection = "Connection" -hContentEncoding = "Content-Encoding" -hContentLength = "Content-Length" -hContentMD5 = "Content-MD5" -hContentType = "Content-Type" -hCookie = "Cookie" -hDate= "Date" -hIfModifiedSince = "If-Modified-Since" -hIfRange = "If-Range" -hLastModified= "Last-Modified" -hLocation= "Location" -hRange = "Range" -hReferer = "Referer" -hServer = "Server" -hUserAgent = "User-Agent" +-- According to http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html +hAccept, hAcceptCharset, hAcceptEncoding, hAcceptLanguage, hAcceptRanges, hAge, hAllow, hAuthorization, hCacheControl, hConnection, hContentEncoding, hContentLanguage, hContentLength, hContentLocation, hContentMD5, hContentRange, hContentType, hCookie, hDate, hETag, hExpect, hExpires, hFrom, hHost, hIfMatch, hIfModifiedSince, hIfNoneMatch, hIfRange, hIfUnmodifiedSince, hLastModified, hLocation, hMaxForwards, hPragma, hProxyAuthenticate, hProxyAuthorization, hRange, hReferer, hRetryAfter, hServer, hTE, hTrailer, hTransferEncoding, hUpgrade, hUserAgent, hVary, hVia, hWWWAuthenticate, hWarning :: HeaderName +hAccept
commit ghc-http-types for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-http-types for openSUSE:Factory checked in at 2015-05-21 08:37:10 Comparing /work/SRC/openSUSE:Factory/ghc-http-types (Old) and /work/SRC/openSUSE:Factory/.ghc-http-types.new (New) Package is ghc-http-types Changes: New Changes file: --- /dev/null 2015-05-15 19:41:08.266053825 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-http-types.new/ghc-http-types.changes 2015-05-21 08:37:11.0 +0200 @@ -0,0 +1,27 @@ +--- +Tue Apr 21 19:14:46 UTC 2015 - mimi...@gmail.com + +- version bump to 0.8.6 +* no upstream changelog + +--- +Sun Feb 1 21:20:26 UTC 2015 - mimi...@gmail.com + +- version bump to 0.8.5 ++ should not link to aws ++ Allow array 0.5 ++ remove upper boundary on text, may text simply never break anything ++ Derive some typeclasses for ByteRange ++ Allow case-insensitive 1.2 ++ Add additional HTTP status codes as per RFC 6585 (close #45) ++ Add Network.HTTP.Types.URI.extractPath … ++ Add support for HTTPS URLs to extractPath ++ Add documentation and tests for extractPath ++ Add doctest driver ++ extractPath from Network.HTTP.Types ++ Added urlEncode docs +--- +Mon Oct 7 08:37:48 UTC 2013 - sbahl...@suse.com + +- Initial package - version 0.8.1 + New: _service ghc-http-types.changes ghc-http-types.spec http-types-0.8.6.tar.gz Other differences: -- ++ ghc-http-types.spec ++ # # spec file for package ghc-http-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 http-types %bcond_with tests %global debug_package %{nil} Name: ghc-http-types Version:0.8.6 Release:0 Summary:Generic HTTP types for Haskell (for both client and server code) License:BSD-3-Clause 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 BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros # Begin cabal-rpm deps: BuildRequires: ghc-array-devel BuildRequires: ghc-blaze-builder-devel BuildRequires: ghc-bytestring-devel BuildRequires: ghc-case-insensitive-devel BuildRequires: ghc-text-devel %if %{with tests} BuildRequires: ghc-QuickCheck-devel BuildRequires: ghc-doctest-devel BuildRequires: ghc-hspec-devel BuildRequires: ghc-quickcheck-instances-devel %endif # End cabal-rpm deps %description Generic HTTP types for Haskell. (for both client and server code). %package devel Summary:Haskell %{pkg_name} library development files Group: Development/Libraries/Other Provides: %{name}-static = %{version}-%{release} 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,-) %doc README %changelog ++ _service ++ services service name='download_files' mode='localonly'/ /services