minor fixes:

- fix base Group and devel Summary
- only include docdir in devel if not shared build
This commit is contained in:
Jens Petersen 2009-12-22 09:12:01 +00:00
parent fc22668a9f
commit cb58d10403

View File

@ -13,7 +13,7 @@ Version: 0.5.0.0
Release: 11%{?dist} Release: 11%{?dist}
Summary: Haskell compression and decompression library binding Summary: Haskell compression and decompression library binding
Group: Development/Libraries Group: System Environment/Libraries
License: BSD License: BSD
URL: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/%{pkg_name} 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 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. full zlib feature set.
%package devel %package devel
Summary: Haskell %{pkg_name} library Summary: Haskell %{pkg_name} library development files
Group: Development/Libraries Group: Development/Libraries
Requires: ghc = %{ghc_version} Requires: ghc = %{ghc_version}
Requires(post): ghc = %{ghc_version} Requires(post): ghc = %{ghc_version}
@ -134,7 +134,9 @@ fi
%files devel -f %{name}-devel.files %files devel -f %{name}-devel.files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%if %{without shared}
%{_docdir}/%{name}-%{version} %{_docdir}/%{name}-%{version}
%endif
%if %{with doc} %if %{with doc}
@ -150,6 +152,10 @@ fi
%changelog %changelog
* Tue Dec 22 2009 Jens Petersen <petersen@redhat.com>
- fix base Group and devel Summary
- only include docdir in devel if not shared build
* Wed Dec 16 2009 Jens Petersen <petersen@redhat.com> - 0.5.0.0-11 * Wed Dec 16 2009 Jens Petersen <petersen@redhat.com> - 0.5.0.0-11
- build for ghc-6.12.1 - build for ghc-6.12.1
- added shared library support: needs ghc-rpm-macros 0.3.1 - added shared library support: needs ghc-rpm-macros 0.3.1