commit e313d894f9c037b8c28fc918bb69c437cf8118e91cb9b83d856b058d68a839ee Author: Peter Simons Date: Wed Dec 25 22:00:49 2024 +0000 osc copypac from project:devel:languages:haskell:ghc-9.10.x package:ghc-auto-update revision:5, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-auto-update?expand=0&rev=51 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/auto-update-0.1.6.tar.gz b/auto-update-0.1.6.tar.gz new file mode 100644 index 0000000..db3c82a --- /dev/null +++ b/auto-update-0.1.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f4e023dc8713c387ecf20d851247597fd012cabea3872310b35e911105eb66c4 +size 10929 diff --git a/auto-update-0.2.2.tar.gz b/auto-update-0.2.2.tar.gz new file mode 100644 index 0000000..31956e9 --- /dev/null +++ b/auto-update-0.2.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a9609c01f2ff847f7bae3ea9fac107b760b46c69aa72deb518942eea71b823f5 +size 11913 diff --git a/auto-update-0.2.4.tar.gz b/auto-update-0.2.4.tar.gz new file mode 100644 index 0000000..1a1bf73 --- /dev/null +++ b/auto-update-0.2.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:06831fbfb29899457fef9842f9940f47193ece51edc9add2045a524f84e9cffd +size 13892 diff --git a/auto-update-0.2.5.tar.gz b/auto-update-0.2.5.tar.gz new file mode 100644 index 0000000..a8f1897 --- /dev/null +++ b/auto-update-0.2.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:10f9a2bbabd752d9f1152f456d933986db2af78caca70a6dec1a759ccc8e1175 +size 14603 diff --git a/auto-update-0.2.6.tar.gz b/auto-update-0.2.6.tar.gz new file mode 100644 index 0000000..bd1fee0 --- /dev/null +++ b/auto-update-0.2.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9a25cc5c9de2a20981ffe981ffcd51fee88597c802c1555dd08fa9c5c64e0e54 +size 14719 diff --git a/ghc-auto-update.changes b/ghc-auto-update.changes new file mode 100644 index 0000000..3bb7fe2 --- /dev/null +++ b/ghc-auto-update.changes @@ -0,0 +1,69 @@ +------------------------------------------------------------------- +Mon Dec 23 01:14:37 UTC 2024 - Peter Simons + +- Update auto-update to version 0.2.6. + ## 0.2.6 + + * Using the thread version of AutoUpdate for non-threaded RTS. + [#1020](https://github.com/yesodweb/wai/pull/1020) + +------------------------------------------------------------------- +Wed Dec 18 03:42:02 UTC 2024 - Peter Simons + +- Update auto-update to version 0.2.5. + ## 0.2.5 + + * Thread less autoupdate + [#1018](https://github.com/yesodweb/wai/pull/1018) + +------------------------------------------------------------------- +Tue Nov 19 20:58:13 UTC 2024 - Peter Simons + +- Update auto-update to version 0.2.4. + 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/auto-update-0.2.4/src/ChangeLog.md + +------------------------------------------------------------------- +Tue Oct 29 05:50:49 UTC 2024 - Peter Simons + +- Update auto-update to version 0.2.2. + ## 0.2.2 + + * NewAPI: updateThreadName, reaperThreadName, debounceThreadName: + Names can be given via this field to threads + for GHC.Conc.Sync.listThreads. + + ## 0.2.1 + + * Labeling threads. + + ## 0.2.0 + + * Creating Reaper.Internal to export Reaper constructor. + * Hiding Reaper constructor. + * Add `reaperModify` to the `Reaper` API, allowing workload modification outside + of the main `reaperAction` loop. + [#985](https://github.com/yesodweb/wai/pull/985) + +------------------------------------------------------------------- +Thu Mar 30 17:05:52 UTC 2023 - Peter Simons + +- Updated spec file to conform with ghc-rpm-macros-2.5.2. + +------------------------------------------------------------------- +Thu Dec 17 12:20:00 UTC 2020 - Ondřej Súkup + +- disable %{ix86} build + +------------------------------------------------------------------- +Tue Aug 18 10:44:03 UTC 2020 - Peter Simons + +- Replace %setup -q with the more modern %autosetup macro. + +------------------------------------------------------------------- +Tue Jun 9 09:26:15 UTC 2020 - psimons@suse.com + +- Add auto-update at version 0.1.6. + diff --git a/ghc-auto-update.spec b/ghc-auto-update.spec new file mode 100644 index 0000000..2a78498 --- /dev/null +++ b/ghc-auto-update.spec @@ -0,0 +1,106 @@ +# +# spec file for package ghc-auto-update +# +# 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 auto-update +%global pkgver %{pkg_name}-%{version} +%bcond_with tests +Name: ghc-%{pkg_name} +Version: 0.2.6 +Release: 0 +Summary: Efficiently run periodic, on-demand actions +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-rpm-macros +BuildRequires: ghc-stm-devel +BuildRequires: ghc-stm-prof +ExcludeArch: %{ix86} +%if %{with tests} +BuildRequires: ghc-HUnit-devel +BuildRequires: ghc-HUnit-prof +BuildRequires: ghc-exceptions-devel +BuildRequires: ghc-exceptions-prof +BuildRequires: ghc-hspec-devel +BuildRequires: ghc-hspec-prof +BuildRequires: ghc-retry-devel +BuildRequires: ghc-retry-prof +%endif + +%description +API docs and the README are available at +. + +%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