commit 5be01eb73e1ae39dc0705ef88b0245516192184c951dea9b01fdeda25f5a4b1f Author: Peter Simons Date: Tue Dec 10 11:25:56 2024 +0000 osc copypac from project:devel:languages:haskell:ghc-9.10.x package:ghc-persistent-sqlite revision:4, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-persistent-sqlite?expand=0&rev=33 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/_constraints b/_constraints new file mode 100644 index 0000000..b5b0790 --- /dev/null +++ b/_constraints @@ -0,0 +1,14 @@ + + + + ppc64 + ppc64le + + + + 6 + + + + + diff --git a/ghc-persistent-sqlite.changes b/ghc-persistent-sqlite.changes new file mode 100644 index 0000000..927bd3f --- /dev/null +++ b/ghc-persistent-sqlite.changes @@ -0,0 +1,134 @@ +------------------------------------------------------------------- +Thu Dec 7 16:55:02 UTC 2023 - Peter Simons + +- Update persistent-sqlite to version 2.13.3.0. + Upstream has edited the change log file since the last release in + a non-trivial way, i.e. they did more than just add a new entry + at the top. You can review the file at: + http://hackage.haskell.org/package/persistent-sqlite-2.13.3.0/src/ChangeLog.md + +------------------------------------------------------------------- +Tue Oct 3 23:00:41 UTC 2023 - Peter Simons + +- Update persistent-sqlite to version 2.13.2.0. + ## 2.13.2 + + * [#1488](https://github.com/yesodweb/persistent/pull/1488) + * Add `openRawSqliteConn` for creating `RawSqlite SqlBackend` connections + that aren't automatically cleaned-up. + +------------------------------------------------------------------- +Thu Mar 30 17:07:53 UTC 2023 - Peter Simons + +- Updated spec file to conform with ghc-rpm-macros-2.5.2. + +------------------------------------------------------------------- +Sun Jan 22 17:06:44 UTC 2023 - Peter Simons + +- Update persistent-sqlite to version 2.13.1.1. + ## 2.13.1.1 + + * [#1459](https://github.com/yesodweb/persistent/pull/1459) + * Make use of `CautiousMigration` type alias for clarity. + +------------------------------------------------------------------- +Sat Jan 29 00:05:57 UTC 2022 - Peter Simons + +- Update persistent-sqlite to version 2.13.1.0. + ## 2.13.1.0 + + * [#1341](https://github.com/yesodweb/persistent/pull/1341) + * Add `SqlBackendHooks` to allow for instrumentation of queries. + * [#1327](https://github.com/yesodweb/persistent/pull/1327) + * Update backend to support new `StatementCache` interface + + ## 2.13.0.4 + + * `aeson-2.0` support [#1351](https://github.com/yesodweb/persistent/pull/1351/) + +------------------------------------------------------------------- +Thu May 27 17:15:25 UTC 2021 - psimons@suse.com + +- Update persistent-sqlite to version 2.13.0.3. + ## 2.13.0.3 + + * Somehow failed to properly release the safe-to-remove changes. + + ## 2.13.0.2 + + * [#1275](https://github.com/yesodweb/persistent/pull/1275) + * Fix SafeToRemove + +------------------------------------------------------------------- +Wed May 26 08:46:17 UTC 2021 - psimons@suse.com + +- Update persistent-sqlite to version 2.13.0.2. + ## 2.13.0.1 + + * [#1265](https://github.com/yesodweb/persistent/pull/1265) + * Support GHC 9 + +------------------------------------------------------------------- +Sat May 8 10:03:32 UTC 2021 - psimons@suse.com + +- Update persistent-sqlite to version 2.13.0.0 revision 1. + Upstream has revised the Cabal build instructions on Hackage. + +------------------------------------------------------------------- +Fri May 7 09:29:33 UTC 2021 - psimons@suse.com + +- Update persistent-sqlite to version 2.13.0.0. + ## 2.13.0.0 + + * [#1225](https://github.com/yesodweb/persistent/pull/1225) + * Support `persistent-2.13` changes for SqlBackend being made internal. + +------------------------------------------------------------------- +Wed Mar 31 14:28:25 UTC 2021 - psimons@suse.com + +- Update persistent-sqlite to version 2.12.0.0. + Upstream has edited the change log file since the last release in + a non-trivial way, i.e. they did more than just add a new entry + at the top. You can review the file at: + http://hackage.haskell.org/package/persistent-sqlite-2.12.0.0/src/ChangeLog.md + +------------------------------------------------------------------- +Mon Feb 8 05:05:42 UTC 2021 - psimons@suse.com + +- Update persistent-sqlite to version 2.11.1.0. + ## 2.11.1.0 + + * Add `checkForeignKeys` operation to verify no foreign key constraints are + violated by the database contents. + * Fix the migration for primary keys that was broken in 2.11.0.0 + [#1184](https://github.com/yesodweb/persistent/issues/1184) + +------------------------------------------------------------------- +Thu Dec 17 12:20:00 UTC 2020 - Ondřej Súkup + +- disable %{ix86} build + +------------------------------------------------------------------- +Sat Nov 7 15:34:22 UTC 2020 - psimons@suse.com + +- Update persistent-sqlite to version 2.11.0.0. + Upstream has edited the change log file since the last release in + a non-trivial way, i.e. they did more than just add a new entry + at the top. You can review the file at: + http://hackage.haskell.org/package/persistent-sqlite-2.11.0.0/src/ChangeLog.md + +------------------------------------------------------------------- +Wed Aug 19 07:11:25 UTC 2020 - Michel Normand + +- Add _constraints with 6GB min disk space for ppc64/ppc64le + +------------------------------------------------------------------- +Tue Aug 18 10:45:42 UTC 2020 - Peter Simons + +- Replace %setup -q with the more modern %autosetup macro. + +------------------------------------------------------------------- +Tue Jun 9 09:26:13 UTC 2020 - psimons@suse.com + +- Add persistent-sqlite at version 2.10.6.2. + diff --git a/ghc-persistent-sqlite.spec b/ghc-persistent-sqlite.spec new file mode 100644 index 0000000..518af3f --- /dev/null +++ b/ghc-persistent-sqlite.spec @@ -0,0 +1,151 @@ +# +# spec file for package ghc-persistent-sqlite +# +# Copyright (c) 2023 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 persistent-sqlite +%global pkgver %{pkg_name}-%{version} +%bcond_with tests +Name: ghc-%{pkg_name} +Version: 2.13.3.0 +Release: 0 +Summary: Backend for the persistent library using sqlite3 +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-aeson-devel +BuildRequires: ghc-aeson-prof +BuildRequires: ghc-base-devel +BuildRequires: ghc-base-prof +BuildRequires: ghc-bytestring-devel +BuildRequires: ghc-bytestring-prof +BuildRequires: ghc-conduit-devel +BuildRequires: ghc-conduit-prof +BuildRequires: ghc-containers-devel +BuildRequires: ghc-containers-prof +BuildRequires: ghc-microlens-th-devel +BuildRequires: ghc-microlens-th-prof +BuildRequires: ghc-monad-logger-devel +BuildRequires: ghc-monad-logger-prof +BuildRequires: ghc-mtl-devel +BuildRequires: ghc-mtl-prof +BuildRequires: ghc-persistent-devel +BuildRequires: ghc-persistent-prof +BuildRequires: ghc-resource-pool-devel +BuildRequires: ghc-resource-pool-prof +BuildRequires: ghc-resourcet-devel +BuildRequires: ghc-resourcet-prof +BuildRequires: ghc-rpm-macros +BuildRequires: ghc-text-devel +BuildRequires: ghc-text-prof +BuildRequires: ghc-time-devel +BuildRequires: ghc-time-prof +BuildRequires: ghc-transformers-devel +BuildRequires: ghc-transformers-prof +BuildRequires: ghc-unliftio-core-devel +BuildRequires: ghc-unliftio-core-prof +BuildRequires: ghc-unordered-containers-devel +BuildRequires: ghc-unordered-containers-prof +BuildRequires: glibc-devel +BuildRequires: sqlite-devel +ExcludeArch: %{ix86} +%if %{with tests} +BuildRequires: ghc-HUnit-devel +BuildRequires: ghc-HUnit-prof +BuildRequires: ghc-QuickCheck-devel +BuildRequires: ghc-QuickCheck-prof +BuildRequires: ghc-exceptions-devel +BuildRequires: ghc-exceptions-prof +BuildRequires: ghc-fast-logger-devel +BuildRequires: ghc-fast-logger-prof +BuildRequires: ghc-hspec-devel +BuildRequires: ghc-hspec-prof +BuildRequires: ghc-microlens-devel +BuildRequires: ghc-microlens-prof +BuildRequires: ghc-persistent-test-devel +BuildRequires: ghc-persistent-test-prof +BuildRequires: ghc-system-fileio-devel +BuildRequires: ghc-system-fileio-prof +BuildRequires: ghc-system-filepath-devel +BuildRequires: ghc-system-filepath-prof +BuildRequires: ghc-temporary-devel +BuildRequires: ghc-temporary-prof +%endif + +%description +This package includes a thin sqlite3 wrapper based on the direct-sqlite +package, as well as the entire C library, so there are no system dependencies. + +%package devel +Summary: Haskell %{pkg_name} library development files +Requires: %{name} = %{version}-%{release} +Requires: ghc-compiler = %{ghc_version} +Requires: glibc-devel +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 +%define cabal_configure_options -f+systemlib +%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 + +%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 diff --git a/persistent-sqlite-2.13.3.0.tar.gz b/persistent-sqlite-2.13.3.0.tar.gz new file mode 100644 index 0000000..60df6aa --- /dev/null +++ b/persistent-sqlite-2.13.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bdc152911ce197cbaab66350354e90f863d74df1599c08b5c01e95e1b35a9104 +size 2469325