Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ghc-yaml for openSUSE:Factory checked in at 2024-12-20 23:11:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-yaml (Old) and /work/SRC/openSUSE:Factory/.ghc-yaml.new.1881 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-yaml" Fri Dec 20 23:11:16 2024 rev:44 rq:1231493 version:0.11.11.2 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-yaml/ghc-yaml.changes 2023-07-12 17:28:07.386823356 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-yaml.new.1881/ghc-yaml.changes 2024-12-20 23:12:11.160345311 +0100 @@ -1,0 +2,5 @@ +Mon Dec 16 07:58:52 UTC 2024 - Peter Simons <[email protected]> + +- Disable building of the examples and yaml executable. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-yaml.spec ++++++ --- /var/tmp/diff_new_pack.FdjZ1X/_old 2024-12-20 23:12:11.916376489 +0100 +++ /var/tmp/diff_new_pack.FdjZ1X/_new 2024-12-20 23:12:11.920376654 +0100 @@ -27,6 +27,7 @@ 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/2.cabal#/%{pkg_name}.cabal +BuildRequires: chrpath BuildRequires: ghc-Cabal-devel BuildRequires: ghc-aeson-devel BuildRequires: ghc-aeson-prof @@ -48,6 +49,10 @@ BuildRequires: ghc-libyaml-prof BuildRequires: ghc-mtl-devel BuildRequires: ghc-mtl-prof +BuildRequires: ghc-optparse-applicative-devel +BuildRequires: ghc-optparse-applicative-prof +BuildRequires: ghc-raw-strings-qq-devel +BuildRequires: ghc-raw-strings-qq-prof BuildRequires: ghc-resourcet-devel BuildRequires: ghc-resourcet-prof BuildRequires: ghc-rpm-macros @@ -73,8 +78,6 @@ BuildRequires: ghc-hspec-prof BuildRequires: ghc-mockery-devel BuildRequires: ghc-mockery-prof -BuildRequires: ghc-raw-strings-qq-devel -BuildRequires: ghc-raw-strings-qq-prof BuildRequires: ghc-temporary-devel BuildRequires: ghc-temporary-prof %endif @@ -114,10 +117,12 @@ cp -p %{SOURCE1} %{pkg_name}.cabal %build +%define cabal_configure_options -f-no-examples -f-no-exe %ghc_lib_build %install %ghc_lib_install +%ghc_fix_rpath %{pkg_name}-%{version} %check %cabal_test @@ -130,6 +135,9 @@ %files -f %{name}.files %license LICENSE +%{_bindir}/examples +%{_bindir}/json2yaml +%{_bindir}/yaml2json %files devel -f %{name}-devel.files %doc ChangeLog.md README.md
