From c33c2fda372a60a167395b53fe8152f86e7dc1007079db21360dd91086eb4adc Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Tue, 10 Dec 2024 11:25:51 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-9.10.x package:ghc-cookie revision:2, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-cookie?expand=0&rev=57 --- .gitattributes | 23 +++++++++ .gitignore | 1 + cookie-0.4.6.tar.gz | 3 ++ cookie-0.5.0.tar.gz | 3 ++ ghc-cookie.changes | 116 ++++++++++++++++++++++++++++++++++++++++++++ ghc-cookie.spec | 116 ++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 262 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 cookie-0.4.6.tar.gz create mode 100644 cookie-0.5.0.tar.gz create mode 100644 ghc-cookie.changes create mode 100644 ghc-cookie.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/cookie-0.4.6.tar.gz b/cookie-0.4.6.tar.gz new file mode 100644 index 0000000..8911660 --- /dev/null +++ b/cookie-0.4.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8c41a956c32b9733d525a53d43b0338a236a34d36658ecc4364c8249a6664baa +size 6219 diff --git a/cookie-0.5.0.tar.gz b/cookie-0.5.0.tar.gz new file mode 100644 index 0000000..4492359 --- /dev/null +++ b/cookie-0.5.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0e51fe7090f8fbcd844bb7d1b7d9ed95b18ed3136a44836a9ce35f0a72a61a9d +size 6554 diff --git a/ghc-cookie.changes b/ghc-cookie.changes new file mode 100644 index 0000000..cc4728f --- /dev/null +++ b/ghc-cookie.changes @@ -0,0 +1,116 @@ +------------------------------------------------------------------- +Mon Mar 4 08:52:49 UTC 2024 - Peter Simons + +- Update cookie to version 0.5.0. + ## 0.5.0 + + * Remove surrounding double quotes from cookie values when parsing [#31](https://github.com/snoyberg/cookie/pull/31) + + This is a breaking change, as it changes the behavior of `parseCookies` and `parseSetCookie` to no + longer include the surrounding double quotes in the cookie value. This is the correct behavior + according to the RFC. + +------------------------------------------------------------------- +Thu Mar 30 17:06:21 UTC 2023 - Peter Simons + +- Updated spec file to conform with ghc-rpm-macros-2.5.2. + +------------------------------------------------------------------- +Wed Jan 4 11:24:18 UTC 2023 - Peter Simons + +- Update cookie to version 0.4.6. + ## 0.4.6 + + * Resolve redundant import of Data.Monoid [#26](https://github.com/snoyberg/cookie/pull/26) + * Added `renderSetCookieBS` and `renderCookiesBS` + +------------------------------------------------------------------- +Thu Dec 17 12:20:00 UTC 2020 - Ondřej Súkup + +- disable %{ix86} build + +------------------------------------------------------------------- +Tue Aug 18 10:44:27 UTC 2020 - Peter Simons + +- Replace %setup -q with the more modern %autosetup macro. + +------------------------------------------------------------------- +Tue Jun 16 11:13:57 UTC 2020 - Peter Simons + +- Re-generate file with latest version of spec-cleaner. + +------------------------------------------------------------------- +Tue Nov 12 09:57:04 UTC 2019 - psimons@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. + +------------------------------------------------------------------- +Sat Oct 20 11:31:21 UTC 2018 - Peter Simons + +- Use https URL to refer to bugs.opensuse.org. + +------------------------------------------------------------------- +Wed Jul 18 14:26:19 UTC 2018 - psimons@suse.com + +- Cosmetic: replace tabs with blanks, strip trailing white space, + and update copyright headers with spec-cleaner. + +------------------------------------------------------------------- +Mon May 14 17:02:11 UTC 2018 - psimons@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) + +------------------------------------------------------------------- +Thu Aug 3 15:38:38 UTC 2017 - psimons@suse.com + +- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf. + +------------------------------------------------------------------- +Sun Jul 10 15:39:57 UTC 2016 - mimi.vx@gmail.com + +- update to version 0.4.2.1 revision 0 +* Clarified MIT license + +------------------------------------------------------------------- +Tue Apr 26 08:12:25 UTC 2016 - mimi.vx@gmail.com + +- update to 0.4.2 +* Added SameSite + +------------------------------------------------------------------- +Sun Jun 28 16:33:58 UTC 2015 - mimi.vx@gmail.com + +- update to 0.4.1.6 + +------------------------------------------------------------------- +Thu May 21 06:39:02 UTC 2015 - mimi.vx@gmail.com + +- correct licence to BSD-2-Clause + +------------------------------------------------------------------- +Mon May 4 05:50:17 UTC 2015 - mimi.vx@gmail.com + +- update to 0.4.1.5 +* no upstream changelog + +------------------------------------------------------------------- +Wed Apr 22 06:41:20 UTC 2015 - mimi.vx@gmail.com + +- update to 0.4.1.4 +* no upstream changelog + +------------------------------------------------------------------- +Mon Oct 7 08:24:17 UTC 2013 - sbahling@suse.com + +- Initial package - version 0.4.0.1 diff --git a/ghc-cookie.spec b/ghc-cookie.spec new file mode 100644 index 0000000..afccb7d --- /dev/null +++ b/ghc-cookie.spec @@ -0,0 +1,116 @@ +# +# spec file for package ghc-cookie +# +# Copyright (c) 2024 SUSE LLC +# +# 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 https://bugs.opensuse.org/ +# + + +%global pkg_name cookie +%global pkgver %{pkg_name}-%{version} +%bcond_with tests +Name: ghc-%{pkg_name} +Version: 0.5.0 +Release: 0 +Summary: HTTP cookie parsing and rendering +License: MIT +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-base-devel +BuildRequires: ghc-base-prof +BuildRequires: ghc-bytestring-devel +BuildRequires: ghc-bytestring-prof +BuildRequires: ghc-data-default-class-devel +BuildRequires: ghc-data-default-class-prof +BuildRequires: ghc-deepseq-devel +BuildRequires: ghc-deepseq-prof +BuildRequires: ghc-rpm-macros +BuildRequires: ghc-text-devel +BuildRequires: ghc-text-prof +BuildRequires: ghc-time-devel +BuildRequires: ghc-time-prof +ExcludeArch: %{ix86} +%if %{with tests} +BuildRequires: ghc-HUnit-devel +BuildRequires: ghc-HUnit-prof +BuildRequires: ghc-QuickCheck-devel +BuildRequires: ghc-QuickCheck-prof +BuildRequires: ghc-tasty-devel +BuildRequires: ghc-tasty-hunit-devel +BuildRequires: ghc-tasty-hunit-prof +BuildRequires: ghc-tasty-prof +BuildRequires: ghc-tasty-quickcheck-devel +BuildRequires: ghc-tasty-quickcheck-prof +%endif + +%description +Hackage documentation generation is not reliable. For up to date documentation, +please see: . + +%package devel +Summary: Haskell %{pkg_name} library development files +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. + +%package -n ghc-%{pkg_name}-doc +Summary: Haskell %{pkg_name} library documentation +Requires: ghc-filesystem +BuildArch: noarch + +%description -n ghc-%{pkg_name}-doc +This package provides the Haskell %{pkg_name} library documentation. + +%package -n ghc-%{pkg_name}-prof +Summary: Haskell %{pkg_name} profiling library +Requires: ghc-%{pkg_name}-devel = %{version}-%{release} +Supplements: (ghc-%{pkg_name}-devel and ghc-prof) + +%description -n ghc-%{pkg_name}-prof +This package provides the Haskell %{pkg_name} profiling library. + +%prep +%autosetup -n %{pkg_name}-%{version} + +%build +%ghc_lib_build + +%install +%ghc_lib_install + +%check +%cabal_test + +%post devel +%ghc_pkg_recache + +%postun devel +%ghc_pkg_recache + +%files -f %{name}.files +%license LICENSE + +%files devel -f %{name}-devel.files +%doc ChangeLog.md README.md + +%files -n ghc-%{pkg_name}-doc -f ghc-%{pkg_name}-doc.files +%license LICENSE + +%files -n ghc-%{pkg_name}-prof -f ghc-%{pkg_name}-prof.files + +%changelog