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: update to new simplified Haskell Packaging Guidelines
Date: Mon, 13 Jul 2026 13:58:09 GMT [thread overview]
Message-ID: <178395108975.1.15482977331757509686.rpms-ghc-language-c-8a968f1d84b5@fedoraproject.org> (raw)
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
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=178395108975.1.15482977331757509686.rpms-ghc-language-c-8a968f1d84b5@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