public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ghc-language-c] epel9: refresh to cabal-rpm-2.0.2
@ 2026-07-13 13:58 Jens Petersen
  0 siblings, 0 replies; only message in thread
From: Jens Petersen @ 2026-07-13 13:58 UTC (permalink / raw)
  To: git-commits

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
 
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-13 13:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-13 13:58 [rpms/ghc-language-c] epel9: refresh to cabal-rpm-2.0.2 Jens Petersen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox