Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ghc-magic for openSUSE:Factory checked in at 2026-06-18 18:40:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-magic (Old) and /work/SRC/openSUSE:Factory/.ghc-magic.new.1981 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-magic" Thu Jun 18 18:40:32 2026 rev:5 rq:1360111 version:1.1.2 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-magic/ghc-magic.changes 2023-04-04 21:21:28.405554778 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-magic.new.1981/ghc-magic.changes 2026-06-18 18:41:45.295862117 +0200 @@ -1,0 +2,8 @@ +Tue Jun 9 11:02:02 UTC 2026 - Peter Simons <[email protected]> + +- Update magic to version 1.1.2. + Upstream added a new change log file in this release. With no + previous version to compare against, the automatic updater cannot + reliable determine the relevante entries for this release. + +------------------------------------------------------------------- Old: ---- magic-1.1.tar.gz New: ---- magic-1.1.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-magic.spec ++++++ --- /var/tmp/diff_new_pack.TlwPAV/_old 2026-06-18 18:41:46.675919781 +0200 +++ /var/tmp/diff_new_pack.TlwPAV/_new 2026-06-18 18:41:46.675919781 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-magic # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2026 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,30 +18,48 @@ %global pkg_name magic %global pkgver %{pkg_name}-%{version} +%bcond_with tests Name: ghc-%{pkg_name} -Version: 1.1 +Version: 1.1.2 Release: 0 Summary: Interface to C file/magic library 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: file-devel BuildRequires: ghc-Cabal-devel BuildRequires: ghc-base-devel BuildRequires: ghc-base-prof +BuildRequires: ghc-bytestring-devel +BuildRequires: ghc-bytestring-prof BuildRequires: ghc-rpm-macros +BuildRequires: pkgconfig +BuildRequires: pkgconfig(libmagic) ExcludeArch: %{ix86} +%if %{with tests} +BuildRequires: ghc-HUnit-devel +BuildRequires: ghc-HUnit-prof +BuildRequires: ghc-directory-devel +BuildRequires: ghc-directory-prof +BuildRequires: ghc-filepath-devel +BuildRequires: ghc-filepath-prof +BuildRequires: ghc-unix-devel +BuildRequires: ghc-unix-prof +%endif %description This package provides a Haskell interface to the C libmagic library. With it, you can determine the type of a file by examining its contents rather than its name. The Haskell interface provides a full-featured binding. +Note: this package requires the C libmagic library (part of the 'file' package) +and its development headers to be installed at build time. + %package devel Summary: Haskell %{pkg_name} library development files Requires: %{name} = %{version}-%{release} -Requires: file-devel Requires: ghc-compiler = %{ghc_version} +Requires: pkgconfig +Requires: pkgconfig(libmagic) Requires(post): ghc-compiler = %{ghc_version} Requires(postun): ghc-compiler = %{ghc_version} @@ -73,6 +91,9 @@ %install %ghc_lib_install +%check +%cabal_test + %post devel %ghc_pkg_recache @@ -83,6 +104,7 @@ %license COPYING %files devel -f %{name}-devel.files +%doc CHANGELOG.md README.md %files -n ghc-%{pkg_name}-doc -f ghc-%{pkg_name}-doc.files %license COPYING ++++++ magic-1.1.tar.gz -> magic-1.1.2.tar.gz ++++++ ++++ 1697 lines of diff (skipped)
