Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ghc-hledger-lib for openSUSE:Factory
checked in at 2026-11-24 12:29:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-hledger-lib (Old)
and /work/SRC/openSUSE:Factory/.ghc-hledger-lib.new.1340718 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-hledger-lib"
Tue Nov 24 12:29:41 2026 rev:47 rq:1399190 version:1.52.4
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-hledger-lib/ghc-hledger-lib.changes
2026-11-06 19:55:40.063381533 +0100
+++
/work/SRC/openSUSE:Factory/.ghc-hledger-lib.new.1340718/ghc-hledger-lib.changes
2026-11-24 12:35:40.964965362 +0100
@@ -1,0 +2,5 @@
+Thu Nov 19 20:53:30 UTC 2026 - Peter Simons <[email protected]>
+
+- Update build for ghc-rpm-macros >= 2.9.2.
+
+-------------------------------------------------------------------
Old:
----
_constraints
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-hledger-lib.spec ++++++
--- /var/tmp/diff_new_pack.oLHGfR/_old 2026-11-24 12:35:42.506030670 +0100
+++ /var/tmp/diff_new_pack.oLHGfR/_new 2026-11-24 12:35:42.509030798 +0100
@@ -1,7 +1,7 @@
#
# spec file for package ghc-hledger-lib
#
-# Copyright (c) 2026 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,119 +17,124 @@
%global pkg_name hledger-lib
-%global pkgver %{pkg_name}-%{version}
+%bcond_with ghc_prof
%bcond_with tests
-Name: ghc-%{pkg_name}
+Name: ghc-%pkg_name
Version: 1.52.4
Release: 0
+%global pkgver %pkg_name-%{version}
Summary: A library providing the core functionality of hledger
License: GPL-3.0-or-later
-URL: https://hackage.haskell.org/package/%{pkg_name}
-Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
-Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
+URL: https://hackage.haskell.org/package/%pkg_name
+Source0:
https://hackage.haskell.org/package/%pkg_name-%{version}/%pkg_name-%{version}.tar.gz
+Source1:
https://hackage.haskell.org/package/%pkg_name-%{version}/revision/1.cabal#/%{pkg_name}.cabal
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-Decimal-devel
-BuildRequires: ghc-Decimal-prof
BuildRequires: ghc-Glob-devel
-BuildRequires: ghc-Glob-prof
BuildRequires: ghc-aeson-devel
BuildRequires: ghc-aeson-pretty-devel
-BuildRequires: ghc-aeson-pretty-prof
-BuildRequires: ghc-aeson-prof
BuildRequires: ghc-ansi-terminal-devel
-BuildRequires: ghc-ansi-terminal-prof
BuildRequires: ghc-array-devel
-BuildRequires: ghc-array-prof
BuildRequires: ghc-base-devel
-BuildRequires: ghc-base-prof
BuildRequires: ghc-blaze-html-devel
-BuildRequires: ghc-blaze-html-prof
BuildRequires: ghc-blaze-markup-devel
-BuildRequires: ghc-blaze-markup-prof
BuildRequires: ghc-bytestring-devel
-BuildRequires: ghc-bytestring-prof
BuildRequires: ghc-call-stack-devel
-BuildRequires: ghc-call-stack-prof
BuildRequires: ghc-cassava-devel
BuildRequires: ghc-cassava-megaparsec-devel
-BuildRequires: ghc-cassava-megaparsec-prof
-BuildRequires: ghc-cassava-prof
BuildRequires: ghc-cmdargs-devel
-BuildRequires: ghc-cmdargs-prof
BuildRequires: ghc-colour-devel
-BuildRequires: ghc-colour-prof
BuildRequires: ghc-containers-devel
-BuildRequires: ghc-containers-prof
BuildRequires: ghc-data-default-devel
-BuildRequires: ghc-data-default-prof
BuildRequires: ghc-deepseq-devel
-BuildRequires: ghc-deepseq-prof
BuildRequires: ghc-directory-devel
-BuildRequires: ghc-directory-prof
BuildRequires: ghc-doclayout-devel
-BuildRequires: ghc-doclayout-prof
BuildRequires: ghc-encoding-devel
-BuildRequires: ghc-encoding-prof
BuildRequires: ghc-extra-devel
-BuildRequires: ghc-extra-prof
BuildRequires: ghc-file-embed-devel
-BuildRequires: ghc-file-embed-prof
BuildRequires: ghc-filepath-devel
-BuildRequires: ghc-filepath-prof
BuildRequires: ghc-hashtables-devel
-BuildRequires: ghc-hashtables-prof
BuildRequires: ghc-lucid-devel
-BuildRequires: ghc-lucid-prof
BuildRequires: ghc-megaparsec-devel
-BuildRequires: ghc-megaparsec-prof
BuildRequires: ghc-microlens-devel
-BuildRequires: ghc-microlens-prof
BuildRequires: ghc-microlens-th-devel
-BuildRequires: ghc-microlens-th-prof
BuildRequires: ghc-mtl-devel
-BuildRequires: ghc-mtl-prof
BuildRequires: ghc-parser-combinators-devel
-BuildRequires: ghc-parser-combinators-prof
BuildRequires: ghc-pretty-simple-devel
-BuildRequires: ghc-pretty-simple-prof
BuildRequires: ghc-process-devel
-BuildRequires: ghc-process-prof
BuildRequires: ghc-regex-tdfa-devel
-BuildRequires: ghc-regex-tdfa-prof
-BuildRequires: ghc-rpm-macros
+BuildRequires: ghc-rpm-macros >= 2.9.2
BuildRequires: ghc-safe-devel
-BuildRequires: ghc-safe-prof
BuildRequires: ghc-tabular-devel
-BuildRequires: ghc-tabular-prof
BuildRequires: ghc-tasty-devel
BuildRequires: ghc-tasty-hunit-devel
+BuildRequires: ghc-template-haskell-devel
+BuildRequires: ghc-terminal-size-devel
+BuildRequires: ghc-text-devel
+BuildRequires: ghc-these-devel
+BuildRequires: ghc-time-devel
+BuildRequires: ghc-timeit-devel
+BuildRequires: ghc-transformers-devel
+BuildRequires: ghc-uglymemo-devel
+BuildRequires: ghc-unordered-containers-devel
+BuildRequires: ghc-utf8-string-devel
+ExcludeArch: %{ix86}
+%if %{with ghc_prof}
+BuildRequires: ghc-Decimal-prof
+BuildRequires: ghc-Glob-prof
+BuildRequires: ghc-aeson-pretty-prof
+BuildRequires: ghc-aeson-prof
+BuildRequires: ghc-ansi-terminal-prof
+BuildRequires: ghc-array-prof
+BuildRequires: ghc-base-prof
+BuildRequires: ghc-blaze-html-prof
+BuildRequires: ghc-blaze-markup-prof
+BuildRequires: ghc-bytestring-prof
+BuildRequires: ghc-call-stack-prof
+BuildRequires: ghc-cassava-megaparsec-prof
+BuildRequires: ghc-cassava-prof
+BuildRequires: ghc-cmdargs-prof
+BuildRequires: ghc-colour-prof
+BuildRequires: ghc-containers-prof
+BuildRequires: ghc-data-default-prof
+BuildRequires: ghc-deepseq-prof
+BuildRequires: ghc-directory-prof
+BuildRequires: ghc-doclayout-prof
+BuildRequires: ghc-encoding-prof
+BuildRequires: ghc-extra-prof
+BuildRequires: ghc-file-embed-prof
+BuildRequires: ghc-filepath-prof
+BuildRequires: ghc-hashtables-prof
+BuildRequires: ghc-lucid-prof
+BuildRequires: ghc-megaparsec-prof
+BuildRequires: ghc-microlens-prof
+BuildRequires: ghc-microlens-th-prof
+BuildRequires: ghc-mtl-prof
+BuildRequires: ghc-parser-combinators-prof
+BuildRequires: ghc-pretty-simple-prof
+BuildRequires: ghc-process-prof
+BuildRequires: ghc-regex-tdfa-prof
+BuildRequires: ghc-safe-prof
+BuildRequires: ghc-tabular-prof
BuildRequires: ghc-tasty-hunit-prof
BuildRequires: ghc-tasty-prof
-BuildRequires: ghc-template-haskell-devel
BuildRequires: ghc-template-haskell-prof
-BuildRequires: ghc-terminal-size-devel
BuildRequires: ghc-terminal-size-prof
-BuildRequires: ghc-text-devel
BuildRequires: ghc-text-prof
-BuildRequires: ghc-these-devel
BuildRequires: ghc-these-prof
-BuildRequires: ghc-time-devel
BuildRequires: ghc-time-prof
-BuildRequires: ghc-timeit-devel
BuildRequires: ghc-timeit-prof
-BuildRequires: ghc-transformers-devel
BuildRequires: ghc-transformers-prof
-BuildRequires: ghc-uglymemo-devel
BuildRequires: ghc-uglymemo-prof
-BuildRequires: ghc-unordered-containers-devel
BuildRequires: ghc-unordered-containers-prof
-BuildRequires: ghc-utf8-string-devel
BuildRequires: ghc-utf8-string-prof
-ExcludeArch: %{ix86}
+%endif
%if %{with tests}
BuildRequires: ghc-doctest-devel
+%if %{with ghc_prof}
BuildRequires: ghc-doctest-prof
%endif
+%endif
%description
This library contains hledger's core functionality. It is used by most hledger*
@@ -160,25 +165,28 @@
%description devel
This package provides the Haskell %{pkg_name} library development files.
-%package -n ghc-%{pkg_name}-doc
+%package -n ghc-%pkg_name-doc
Summary: Haskell %{pkg_name} library documentation
Requires: ghc-filesystem
BuildArch: noarch
-%description -n ghc-%{pkg_name}-doc
+%description -n ghc-%pkg_name-doc
This package provides the Haskell %{pkg_name} library documentation.
-%package -n ghc-%{pkg_name}-prof
+%if %{with ghc_prof}
+%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)
+Requires: ghc-%pkg_name-devel = %{version}-%{release}
+Supplements: (ghc-%pkg_name-devel and ghc-prof)
-%description -n ghc-%{pkg_name}-prof
+%description -n ghc-%pkg_name-prof
This package provides the Haskell %{pkg_name} profiling library.
+%endif
+
%prep
-%autosetup -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
+%autosetup -p1 -n %pkg_name-%{version}
+cp -p %{SOURCE1} %pkg_name.cabal
%build
%ghc_lib_build
@@ -201,8 +209,10 @@
%files devel -f %{name}-devel.files
%doc CHANGES.md README.md
-%files -n ghc-%{pkg_name}-doc -f ghc-%{pkg_name}-doc.files
+%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
+%if %{with ghc_prof}
+%files -n ghc-%pkg_name-prof -f ghc-%pkg_name-prof.files
+%endif