diff --git a/ghc-zlib.spec b/ghc-zlib.spec index f5f11d8..0447c4a 100644 --- a/ghc-zlib.spec +++ b/ghc-zlib.spec @@ -13,7 +13,7 @@ Version: 0.5.0.0 Release: 11%{?dist} Summary: Haskell compression and decompression library binding -Group: Development/Libraries +Group: System Environment/Libraries License: BSD URL: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/%{pkg_name} Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz @@ -39,7 +39,7 @@ the few cases where more control is needed, it provides access to the full zlib feature set. %package devel -Summary: Haskell %{pkg_name} library +Summary: Haskell %{pkg_name} library development files Group: Development/Libraries Requires: ghc = %{ghc_version} Requires(post): ghc = %{ghc_version} @@ -134,7 +134,9 @@ fi %files devel -f %{name}-devel.files %defattr(-,root,root,-) +%if %{without shared} %{_docdir}/%{name}-%{version} +%endif %if %{with doc} @@ -150,6 +152,10 @@ fi %changelog +* Tue Dec 22 2009 Jens Petersen +- fix base Group and devel Summary +- only include docdir in devel if not shared build + * Wed Dec 16 2009 Jens Petersen - 0.5.0.0-11 - build for ghc-6.12.1 - added shared library support: needs ghc-rpm-macros 0.3.1