public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ghc-language-c] epel9: update to 0.8.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 : cf0a98b20e151beff49eedbd54d80fd1d4ae27be
Author : Jens Petersen <petersen@redhat.com>
Date   : 2019-02-21T11:58:53+08:00
Stats  : +144/-3 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/ghc-language-c/c/cf0a98b20e151beff49eedbd54d80fd1d4ae27be?branch=epel9

Log:
update to 0.8.2

---
diff --git a/.gitignore b/.gitignore
index c4b9c38..3eef2a0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@
 /language-c-0.5.0.tar.gz
 /language-c-0.7.1.tar.gz
 /language-c-0.7.2.tar.gz
+/language-c-0.8.2.tar.gz

diff --git a/ghc-language-c.spec b/ghc-language-c.spec
index 03572de..e99d315 100644
--- a/ghc-language-c.spec
+++ b/ghc-language-c.spec
@@ -7,14 +7,15 @@
 %bcond_without tests
 
 Name:           ghc-%{pkg_name}
-Version:        0.7.2
-Release:        3%{?dist}
+Version:        0.8.2
+Release:        1%{?dist}
 Summary:        Analysis and generation of C code
 
 License:        BSD
 Url:            https://hackage.haskell.org/package/%{pkg_name}
 # Begin cabal-rpm sources:
 Source0:        https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
+Source1:        https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal
 # End cabal-rpm sources
 
 # Begin cabal-rpm deps:
@@ -24,6 +25,7 @@ BuildRequires:  alex
 BuildRequires:  ghc-array-devel
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-containers-devel
+BuildRequires:  ghc-deepseq-devel
 BuildRequires:  ghc-directory-devel
 BuildRequires:  ghc-filepath-devel
 BuildRequires:  ghc-pretty-devel
@@ -56,6 +58,7 @@ This package provides the Haskell %{pkg_name} library development files.
 %prep
 # Begin cabal-rpm setup:
 %setup -q -n %{pkgver}
+cp -bp %{SOURCE1} %{pkg_name}.cabal
 # End cabal-rpm setup
 
 
@@ -94,6 +97,9 @@ This package provides the Haskell %{pkg_name} library development files.
 
 
 %changelog
+* Thu Feb 21 2019 Jens Petersen <petersen@redhat.com> - 0.8.2-1
+- update to 0.8.2
+
 * Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 0.7.2-3
 - refresh to cabal-rpm-0.13
 

diff --git a/language-c-0.8.2.cabal b/language-c-0.8.2.cabal
new file mode 100644
index 0000000..f6419d5
--- /dev/null
+++ b/language-c-0.8.2.cabal
@@ -0,0 +1,134 @@
+Name:           language-c
+Version:        0.8.2
+x-revision: 1
+Cabal-Version:  >= 1.8
+Build-Type:     Simple
+License:        BSD3
+License-File:   LICENSE
+Copyright:      LICENSE
+Author:         AUTHORS
+Maintainer:     benedikt.huber@gmail.com
+Stability:      experimental
+Homepage:       http://visq.github.io/language-c/
+Bug-reports:    https://github.com/visq/language-c/issues/
+
+Synopsis:       Analysis and generation of C code
+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 C11 and clang/GNU extensions.
+Category:       Language
+Tested-With:    GHC == 7.8.*, GHC == 7.10.*, GHC == 8.0.*, GHC == 8.2.1
+
+Extra-Source-Files: AUTHORS AUTHORS.c2hs ChangeLog README
+                    src/Language/C/Parser/Lexer.x
+                    src/Language/C/Parser/Parser.y
+
+Source-Repository head
+  type:     git
+  location: https://github.com/visq/language-c.git
+
+Flag useByteStrings
+    Description: Use ByteString as InputStream datatype
+    Default: True
+Flag separateSYB
+  description: Data.Generics available in separate package.
+Flag allWarnings
+    Description: Turn on all warnings for building (development)
+    Default: False
+Flag iecFpExtension
+    Description: Support IEC 60559 floating point extension (defines _Float128)
+    Default: True
+Library
+    Extensions: CPP, DeriveDataTypeable, DeriveGeneric, PatternGuards, BangPatterns, ExistentialQuantification, GeneralizedNewtypeDeriving, ScopedTypeVariables
+    Build-Depends: base >= 3 && < 5,
+                   array,
+                   containers >= 0.3,
+                   deepseq >= 1.4.0.0 && < 1.5,
+                   directory,
+                   filepath,
+                   pretty < 1.2.0,
+                   process
+    if flag(allWarnings)
+        if impl(ghc >= 8.0)
+          ghc-options:     -Wall -Wno-redundant-constraints
+        else
+          ghc-options:     -Wall
+
+    If flag(separateSYB)
+        Build-Depends:
+          base >=4.7 && <5,
+          syb
+    Else
+        Build-Depends:
+          base <4
+
+    if flag(useByteStrings)
+        Build-Depends: bytestring >= 0.9.0
+    else
+        cpp-options: -DNO_BYTESTRING
+
+    if flag(iecFpExtension)
+        cpp-options: -DIEC_60559_TYPES_EXT
+
+     -- GHC.Generics lived in `ghc-prim` for GHC 7.2 & GHC 7.4
+    if impl(ghc == 7.4.*)
+        build-depends: ghc-prim == 0.2.*
+
+    Build-Tools:    happy, alex
+
+    Hs-Source-Dirs: src
+    Exposed-Modules:
+                      -- top-level
+                      Language.C
+                      -- data
+                      Language.C.Data
+                      Language.C.Data.Position
+                      Language.C.Data.Ident
+                      Language.C.Data.Error
+                      Language.C.Data.Name
+                      Language.C.Data.Node
+                      Language.C.Data.InputStream
+                      -- syntax
+                      Language.C.Syntax
+                      Language.C.Syntax.AST
+                      Language.C.Syntax.Constants
+                      Language.C.Syntax.Ops
+                      Language.C.Syntax.Utils
+                      -- parser
+                      Language.C.Parser
+                      -- pretty printer
+                      Language.C.Pretty
+                      -- system
+                      Language.C.System.Preprocess
+                      Language.C.System.GCC
+                      -- analysis [experimental]
+                      Language.C.Analysis
+                      Language.C.Analysis.ConstEval
+                      Language.C.Analysis.Builtins
+                      Language.C.Analysis.SemError
+                      Language.C.Analysis.SemRep
+                      Language.C.Analysis.DefTable
+                      Language.C.Analysis.TravMonad
+                      Language.C.Analysis.AstAnalysis
+                      Language.C.Analysis.DeclAnalysis
+                      Language.C.Analysis.Debug
+                      Language.C.Analysis.TypeCheck
+                      Language.C.Analysis.TypeConversions
+                      Language.C.Analysis.TypeUtils
+                      Language.C.Analysis.NameSpaceMap
+                      -- semrep -> code [alpha]
+                      Language.C.Analysis.Export
+    Other-Modules:
+                      Language.C.Data.RList
+                      -- parser implementation
+                      Language.C.Parser.Builtin
+                      Language.C.Parser.Lexer
+                      Language.C.Parser.ParserMonad
+                      Language.C.Parser.Tokens
+                      Language.C.Parser.Parser
+
+-- test description
+Test-Suite language-c-harness
+    type:       exitcode-stdio-1.0
+    main-is:    test/harness/run-harness.hs
+    build-depends: base, language-c, directory, process, filepath

diff --git a/sources b/sources
index 013e9c4..35e34f9 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (language-c-0.7.2.tar.gz) = 6aefed19addf684e5ac2eea67c8c10b720a06a8591cb518d4c9488fa709a1d6df3fa6726c0d8fca7f4b011e887152f057a8f21e3f715a2758282b2842eef1d8c
+SHA512 (language-c-0.8.2.tar.gz) = 39554d17c967422b2a927eb3f70e68aba8ba1e6ad2464613b75f0e353282dbe0c61c29030cccc514adeb2a85c12c33d4f74f4e74973f7a3a7fbac777c9743e24

^ 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 0.8.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