public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jens Petersen <petersen@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/ghc-language-c] epel9: refresh to cabal-rpm-2.0.2
Date: Mon, 13 Jul 2026 13:58:21 GMT	[thread overview]
Message-ID: <178395110189.1.4294849285455525206.rpms-ghc-language-c-58b35871dd51@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/ghc-language-c
Branch : epel9
Commit : 58b35871dd5145c35a442f8a2f8185af23613c7c
Author : Jens Petersen <petersen@redhat.com>
Date   : 2020-02-08T22:50:49+08:00
Stats  : +14/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/ghc-language-c/c/58b35871dd5145c35a442f8a2f8185af23613c7c?branch=epel9

Log:
refresh to cabal-rpm-2.0.2

---
diff --git a/ghc-language-c.spec b/ghc-language-c.spec
index 0115516..35c46d4 100644
--- a/ghc-language-c.spec
+++ b/ghc-language-c.spec
@@ -1,4 +1,4 @@
-# generated by cabal-rpm-1.0.1
+# generated by cabal-rpm-2.0.2
 # https://fedoraproject.org/wiki/Packaging:Haskell
 
 %global pkg_name language-c
@@ -57,6 +57,7 @@ This package provides the Haskell %{pkg_name} library development files.
 %if %{with haddock}
 %package doc
 Summary:        Haskell %{pkg_name} library documentation
+BuildArch:      noarch
 
 %description doc
 This package provides the Haskell %{pkg_name} library documentation.
@@ -67,6 +68,7 @@ This package provides the Haskell %{pkg_name} library documentation.
 %package prof
 Summary:        Haskell %{pkg_name} profiling library
 Requires:       %{name}-devel%{?_isa} = %{version}-%{release}
+Supplements:    (%{name}-devel and ghc-prof)
 
 %description prof
 This package provides the Haskell %{pkg_name} profiling library.
@@ -96,6 +98,16 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal
 %cabal_test
 
 
+%if 0%{?fedora} < 31 || 0%{?rhel} < 8
+%post devel
+%ghc_pkg_recache
+
+
+%postun devel
+%ghc_pkg_recache
+%endif
+
+
 %files -f %{name}.files
 # Begin cabal-rpm files:
 %license LICENSE
@@ -108,6 +120,7 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal
 
 %if %{with haddock}
 %files doc -f %{name}-doc.files
+%license LICENSE
 %endif
 
 

                 reply	other threads:[~2026-07-13 13:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178395110189.1.4294849285455525206.rpms-ghc-language-c-58b35871dd51@fedoraproject.org \
    --to=petersen@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox