From 777928b43cd32347961032b6027d6daca63da113 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 4 Jun 2013 18:01:20 +0900 Subject: [PATCH] drop common_*, ghc_devel_requires and use generic devel description --- ghc-primitive.spec | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/ghc-primitive.spec b/ghc-primitive.spec index b38b515..2d2f386 100644 --- a/ghc-primitive.spec +++ b/ghc-primitive.spec @@ -2,10 +2,6 @@ %global pkg_name primitive -%global common_summary Primitive memory-related operations - -%global common_description This package provides various primitive memory-related operations. - Name: ghc-%{pkg_name} Version: 0.5.0.1 Release: 3%{?dist} @@ -24,10 +20,13 @@ This package provides various primitive memory-related operations. %package devel Summary: Haskell %{pkg_name} library development files -%{?ghc_devel_requires} +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 various primitive memory-related operations. +This package provides the Haskell %{pkg_name} library development files. %prep @@ -58,8 +57,8 @@ This package provides various primitive memory-related operations. %changelog -* Wed Apr 24 2013 Jens Petersen - 0.5.0.1-3 -- update to revised simplified Haskell Packaging Guidelines (cabal-rpm-0.8) +* Tue Jun 04 2013 Jens Petersen - 0.5.0.1-3 +- update to new simplified Haskell Packaging Guidelines * Wed Feb 13 2013 Fedora Release Engineering - 0.5.0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild