From 6b8936e288fadba1522846fded5e7ee440b9f584 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 29 Dec 2010 21:19:00 +0900 Subject: [PATCH] revert disabling debug_package by default --- ghc-rpm-macros.ghc | 1 - ghc-rpm-macros.spec | 7 ++++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ghc-rpm-macros.ghc b/ghc-rpm-macros.ghc index 4d2a0c8..0b2fc7c 100644 --- a/ghc-rpm-macros.ghc +++ b/ghc-rpm-macros.ghc @@ -116,7 +116,6 @@ This package provides the shared library.\ # ghc_package_devel [-n pkgname] [-c cdepslist] [-h pkgdepslist] [-l licensetag] [-v version] %ghc_package_devel(n:c:h:l:v:)\ -%global debug_package %{nil}\ %define local_pkg_name %{-n:%{-n*}}%{!-n:%{pkg_name}}\ %define ghc_pkg_name ghc-%{local_pkg_name}\ %package -n %{ghc_pkg_name}-devel\ diff --git a/ghc-rpm-macros.spec b/ghc-rpm-macros.spec index 3443146..3e07601 100644 --- a/ghc-rpm-macros.spec +++ b/ghc-rpm-macros.spec @@ -1,5 +1,5 @@ Name: ghc-rpm-macros -Version: 0.7.3 +Version: 0.7.4 Release: 1%{?dist} Summary: Macros for building packages for GHC @@ -48,6 +48,11 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Wed Dec 29 2010 Jens Petersen - 0.7.4-1 +- revert disabling debug_package, since with redhat-rpm-config installed + the behaviour depended on the position of ghc_lib_package in the spec file + (reported by narasim_7) + * Tue Dec 7 2010 Jens Petersen - 0.7.3-1 - add ghc_pkg_obsoletes for obsoleting old packages - disable debuginfo by default