[ghc-concrete-typerep/f16] Initial import modified: .gitignore new file: ghc-concrete-typerep-flagChange-001.patch new f

narasim narasim at fedoraproject.org
Tue Dec 25 10:14:45 UTC 2012


commit 29ca9631d57d9e948f5d01cf0a17e4f27f245caa
Author: Lakshmi Narasimhan T V <lakshminaras2002 at gmail.com>
Date:   Tue Dec 25 15:44:22 2012 +0530

    Initial import
    	modified:   .gitignore
    	new file:   ghc-concrete-typerep-flagChange-001.patch
    	new file:   ghc-concrete-typerep.spec
    	modified:   sources

 .gitignore                                |    1 +
 ghc-concrete-typerep-flagChange-001.patch |   11 +++++
 ghc-concrete-typerep.spec                 |   71 +++++++++++++++++++++++++++++
 sources                                   |    1 +
 4 files changed, 84 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..448d915 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/concrete-typerep-0.1.0.1.tar.gz
diff --git a/ghc-concrete-typerep-flagChange-001.patch b/ghc-concrete-typerep-flagChange-001.patch
new file mode 100644
index 0000000..2d6427b
--- /dev/null
+++ b/ghc-concrete-typerep-flagChange-001.patch
@@ -0,0 +1,11 @@
+--- concrete-typerep-0.1.0.1_orig/concrete-typerep.cabal	2012-12-02 11:52:31.253480539 +0530
++++ concrete-typerep-0.1.0.1/concrete-typerep.cabal	2012-12-02 11:55:42.215716499 +0530
+@@ -12,7 +12,7 @@
+ 
+ flag new-typerep
+   Description: Build with base >= 4.4.0
+-  Default: False
++  Default: True
+ 
+ Library
+   Exposed-modules:     Data.ConcreteTypeRep
diff --git a/ghc-concrete-typerep.spec b/ghc-concrete-typerep.spec
new file mode 100644
index 0000000..b71f5bd
--- /dev/null
+++ b/ghc-concrete-typerep.spec
@@ -0,0 +1,71 @@
+# https://fedoraproject.org/wiki/Packaging:Haskell
+# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
+
+%global pkg_name concrete-typerep
+
+%global common_summary Binary and Hashable instances for TypeRep
+
+%global common_description Binary and Hashable instances for TypeRep
+
+Name:           ghc-%{pkg_name}
+Version:        0.1.0.1
+Release:        4%{?dist}
+Summary:        %{common_summary}
+
+License:        BSD
+URL:            http://hackage.haskell.org/package/%{pkg_name}
+Source0:        http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
+
+BuildRequires:  ghc-Cabal-devel
+BuildRequires:  ghc-rpm-macros
+# Begin cabal-rpm deps:
+BuildRequires:  ghc-binary-devel
+BuildRequires:  ghc-hashable-devel
+BuildRequires:  ghc-ghc-devel
+# End cabal-rpm deps
+Patch1: ghc-concrete-typerep-flagChange-001.patch
+
+%description
+%{common_description}
+
+
+%prep
+%setup -q -n %{pkg_name}-%{version}
+%patch1 -p1 -b .orig
+
+
+%build
+%ghc_lib_build
+
+
+%install
+%ghc_lib_install
+
+
+%ghc_devel_package
+
+%ghc_devel_description
+
+
+%ghc_devel_post_postun
+
+
+%ghc_files LICENSE
+
+
+%changelog
+* Wed Dec 19 2012 Lakshmi Narasimhan T V <lakshminaras2002 at gmail.com> - 0.1.0.1-4
+- updated to cabal-rpm-0.6.6
+- renamed spec file
+- added ghc-ghc-devel as dependency for f18 and greater
+
+* Sun Dec 02 2012 Lakshmi Narasimhan T V <lakshminaras2002 at gmail.com> - 0.1.0.1-3
+- Added patch to make newtyprep as a default flag. cabal will try with deps specified 
+- in the if conditional block. If that fails, it will use the package deps in else block
+
+* Fri Oct 26 2012 Lakshmi Narasimhan T V <lakshminaras2002 at gmail.com> - 0.1.0.1-2
+- Added conditional to define cabal flags
+- Added ghc-ghc-devel as dependency
+
+* Sun Sep  9 2012 Lakshmi Narasimhan T V <lakshminaras2002 at gmail.com> - 0.1.0.1-1
+- spec file template generated by cabal2spec-0.25.5
diff --git a/sources b/sources
index e69de29..d2981ee 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+9390a961061c4c1f96b154d42cae8873  concrete-typerep-0.1.0.1.tar.gz


More information about the scm-commits mailing list