From dfe9a3a06e916e0f3f90b362d6088b6146ab65146448b01f3e27454cde9a726f Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 30 Mar 2023 08:26:49 +0000 Subject: [PATCH 1/2] osc copypac from project:devel:languages:haskell:ghc-9.4.x package:ghc-syb revision:7, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-syb?expand=0&rev=69 --- ghc-syb.changes | 14 ++++++++++++++ ghc-syb.spec | 34 +++++++++++++++++++++++++++++++--- syb-0.7.2.2.tar.gz | 3 --- syb-0.7.2.3.tar.gz | 3 +++ 4 files changed, 48 insertions(+), 6 deletions(-) delete mode 100644 syb-0.7.2.2.tar.gz create mode 100644 syb-0.7.2.3.tar.gz diff --git a/ghc-syb.changes b/ghc-syb.changes index 36ab2cc..f04a517 100644 --- a/ghc-syb.changes +++ b/ghc-syb.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Sat Mar 18 23:19:55 UTC 2023 - Peter Simons + +- Update syb to version 0.7.2.3. + Upstream has renamed and modified the change log file(s) in this + release. Unfortunately, the automatic updater cannot reliable + determine relevant entries for this release. + +------------------------------------------------------------------- +Sat Mar 18 22:44:00 UTC 2023 - Peter Simons + +- Update syb to version 0.7.2.2 revision 1. + Upstream has revised the Cabal build instructions on Hackage. + ------------------------------------------------------------------- Sat Sep 17 15:09:45 UTC 2022 - Peter Simons diff --git a/ghc-syb.spec b/ghc-syb.spec index 6c8f26e..cd785ef 100644 --- a/ghc-syb.spec +++ b/ghc-syb.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-syb # -# Copyright (c) 2022 SUSE LLC +# 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 @@ -17,22 +17,29 @@ %global pkg_name syb +%global pkgver %{pkg_name}-%{version} %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.7.2.2 +Version: 0.7.2.3 Release: 0 Summary: Scrap Your Boilerplate License: BSD-3-Clause 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 ExcludeArch: %{ix86} %if %{with tests} BuildRequires: ghc-containers-devel +BuildRequires: ghc-containers-prof BuildRequires: ghc-mtl-devel +BuildRequires: ghc-mtl-prof BuildRequires: ghc-tasty-devel BuildRequires: ghc-tasty-hunit-devel +BuildRequires: ghc-tasty-hunit-prof +BuildRequires: ghc-tasty-prof %endif %description @@ -52,6 +59,22 @@ 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} @@ -74,6 +97,11 @@ This package provides the Haskell %{pkg_name} library development files. %license LICENSE %files devel -f %{name}-devel.files -%doc ChangeLog README.md +%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 diff --git a/syb-0.7.2.2.tar.gz b/syb-0.7.2.2.tar.gz deleted file mode 100644 index f15031b..0000000 --- a/syb-0.7.2.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8143c6983b6248d57f00e47ec3cd16541acbaa55eb8093fedd5b7cee9a95b2e3 -size 40058 diff --git a/syb-0.7.2.3.tar.gz b/syb-0.7.2.3.tar.gz new file mode 100644 index 0000000..d3e3a99 --- /dev/null +++ b/syb-0.7.2.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d0b72daf16a947c4d9cb2d5774072f2153433224a04fd60fad60be9ffac8d91a +size 40018 From 26e36ec3473aee05e1bf33a086016de3efabcd237f1a2969c2d9861f20b7a9b8 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 30 Mar 2023 17:38:53 +0000 Subject: [PATCH 2/2] osc copypac from project:devel:languages:haskell:ghc-9.4.x package:ghc-syb revision:8, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-syb?expand=0&rev=70 --- ghc-syb.changes | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ghc-syb.changes b/ghc-syb.changes index f04a517..ab77d99 100644 --- a/ghc-syb.changes +++ b/ghc-syb.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Mar 30 17:08:28 UTC 2023 - Peter Simons + +- Updated spec file to conform with ghc-rpm-macros-2.5.2. + ------------------------------------------------------------------- Sat Mar 18 23:19:55 UTC 2023 - Peter Simons