public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ghc-language-c] epel9: update to new simplified Haskell Packaging Guidelines
@ 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 : 8a968f1d84b57713db35717f0b78ef696da41d9c
Author : Jens Petersen <petersen@redhat.com>
Date   : 2013-06-07T12:40:44+09:00
Stats  : +28/-15 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/ghc-language-c/c/8a968f1d84b57713db35717f0b78ef696da41d9c?branch=epel9

Log:
update to new simplified Haskell Packaging Guidelines

---
diff --git a/ghc-language-c.spec b/ghc-language-c.spec
index 66c0389..d85225c 100644
--- a/ghc-language-c.spec
+++ b/ghc-language-c.spec
@@ -1,18 +1,11 @@
 # https://fedoraproject.org/wiki/Packaging:Haskell
-# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
 
 %global pkg_name language-c
 
-%global common_summary Haskell library for C code analysis and generation
-
-%global common_description Language C is a Haskell library for the analysis and generation of C\
-code. It features a complete, well tested parser and pretty printer\
-for all of C99 and a large set of GNU extensions.
-
 Name:           ghc-%{pkg_name}
 Version:        0.4.2
-Release:        11%{?dist}
-Summary:        %{common_summary}
+Release:        12%{?dist}
+Summary:        Haskell library for C code analysis and generation
 
 License:        BSD
 URL:            http://hackage.haskell.org/package/%{pkg_name}
@@ -29,12 +22,25 @@ BuildRequires:  ghc-filepath-devel
 BuildRequires:  ghc-pretty-devel
 BuildRequires:  ghc-process-devel
 BuildRequires:  ghc-syb-devel
-# End cabal-rpm deps
 BuildRequires:  alex
 BuildRequires:  happy
+# End cabal-rpm deps
 
 %description
-%{common_description}
+Language C is a Haskell library for the analysis and generation of C
+code. It features a complete, well tested parser and pretty printer
+for all of C99 and a large set of GNU extensions.
+
+
+%package devel
+Summary:        Haskell %{pkg_name} library development files
+Requires:       ghc-compiler = %{ghc_version}
+Requires(post): ghc-compiler = %{ghc_version}
+Requires(postun): ghc-compiler = %{ghc_version}
+Requires:       %{name} = %{version}-%{release}
+
+%description devel
+This package provides the Haskell %{pkg_name} library development files.
 
 
 %prep
@@ -49,18 +55,25 @@ BuildRequires:  happy
 %ghc_lib_install
 
 
-%ghc_devel_package
+%post devel
+%ghc_pkg_recache
 
-%ghc_devel_description
 
+%postun devel
+%ghc_pkg_recache
 
-%ghc_devel_post_postun
 
+%files -f %{name}.files
+%doc AUTHORS* LICENSE
 
-%ghc_files AUTHORS* LICENSE README
+
+%files devel -f %{name}-devel.files
 
 
 %changelog
+* Fri Jun 07 2013 Jens Petersen <petersen@redhat.com> - 0.4.2-12
+- update to new simplified Haskell Packaging Guidelines
+
 * Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.2-11
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 

^ 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: update to new simplified Haskell Packaging Guidelines Jens Petersen

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