[ghc-derive] move the derive program to the devel subpackage for now (#831038)

Jens Petersen petersen at fedoraproject.org
Mon Jun 18 02:31:45 UTC 2012


commit 8456189e7af5de1811db7c9478d027b442c81adf
Author: Jens Petersen <petersen at redhat.com>
Date:   Mon Jun 18 11:31:42 2012 +0900

    move the derive program to the devel subpackage for now (#831038)

 ghc-derive.spec |   21 ++++++++++++++++-----
 1 files changed, 16 insertions(+), 5 deletions(-)
---
diff --git a/ghc-derive.spec b/ghc-derive.spec
index ddb55ad..6fe07f8 100644
--- a/ghc-derive.spec
+++ b/ghc-derive.spec
@@ -10,7 +10,7 @@
 
 Name:           ghc-%{pkg_name}
 Version:        2.5.8
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        %{common_summary}
 
 Group:          System Environment/Libraries
@@ -21,10 +21,18 @@ Source0:        http://hackage.haskell.org/packages/archive/%{pkg_name}/%{versio
 ExclusiveArch:  %{ghc_arches}
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-rpm-macros %{!?without_hscolour:hscolour}
-BuildRequires:  ghc-transformers-devel,ghc-process-devel,ghc-pretty-devel,ghc-directory-devel
-BuildRequires:  ghc-haskell-src-exts-devel,ghc-uniplate-devel,ghc-template-haskell-devel
-BuildRequires:  ghc-containers-devel,ghc-syb-devel,ghc-filepath-devel,ghc-bytestring-devel
 # END cabal2spec
+BuildRequires:  ghc-bytestring-devel
+BuildRequires:  ghc-containers-devel
+BuildRequires:  ghc-directory-devel
+BuildRequires:  ghc-filepath-devel
+BuildRequires:  ghc-haskell-src-exts-devel
+BuildRequires:  ghc-pretty-devel
+BuildRequires:  ghc-process-devel
+BuildRequires:  ghc-syb-devel
+BuildRequires:  ghc-template-haskell-devel
+BuildRequires:  ghc-transformers-devel
+BuildRequires:  ghc-uniplate-devel
 
 %description
 %{common_description}
@@ -40,7 +48,6 @@ BuildRequires:  ghc-containers-devel,ghc-syb-devel,ghc-filepath-devel,ghc-bytest
 
 %install
 %ghc_lib_install
-echo "%attr(755,root,root) %{_bindir}/%{pkg_name}" >> ghc-%{pkg_name}.files
 
 
 # devel subpackage
@@ -53,9 +60,13 @@ echo "%attr(755,root,root) %{_bindir}/%{pkg_name}" >> ghc-%{pkg_name}.files
 
 
 %ghc_files LICENSE
+%{_bindir}/%{pkg_name}
 
 
 %changelog
+* Mon Jun 18 2012 Jens Petersen <petersen at redhat.com> - 2.5.8-2
+- move the derive program to the devel subpackage for now (#831038)
+
 * Sun May  6 2012 Lakshmi Narasimhan T V <lakshminaras2002 at gmail.com> - 2.5.8-1
 - spec file template generated by cabal2spec-0.25.5
 - License is BSD


More information about the scm-commits mailing list