From 4385b87a34996a9b7e48cf12af6f8d689402bc52 Mon Sep 17 00:00:00 2001 From: Lakshmi Narasimhan Date: Sat, 27 Aug 2011 12:28:12 +0530 Subject: [PATCH] Package update to 1.1.5 modified: .gitignore modified: ghc-hslogger.spec modified: sources --- .gitignore | 1 + ghc-hslogger.spec | 53 ++++++++++++++++++++++++++++++++++++++++------- sources | 2 +- 3 files changed, 48 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 6224197..c5a0949 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /hslogger-1.1.0.tar.gz /hslogger-1.1.3.tar.gz /hslogger-1.1.4.tar.gz +/hslogger-1.1.5.tar.gz diff --git a/ghc-hslogger.spec b/ghc-hslogger.spec index 0ebf1ae..37db125 100644 --- a/ghc-hslogger.spec +++ b/ghc-hslogger.spec @@ -2,15 +2,19 @@ %global common_summary Haskell logging library -%global common_description A logging framework for Haskell +%global common_description This package provides a logging framework for Haskell.\ +It lets each log message have a priority and source be associated with it.\ +The programmer can then define global handlers that route or filter messages \ +based on the priority and source.\ +It also has a syslog handler built in. Name: ghc-%{pkg_name} -Version: 1.1.4 -Release: 2%{?dist} +Version: 1.1.5 +Release: 1%{?dist} Summary: %{common_summary} Group: System Environment/Libraries -License: LGPLv2+ +License: BSD URL: http://hackage.haskell.org/package/%{pkg_name} Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz ExclusiveArch: %{ghc_arches} @@ -23,6 +27,23 @@ BuildRequires: ghc-network-prof, ghc-time-prof %{common_description} +%package -n ghc-%{pkg_name}-devel +Summary: Development files for %{common_summary} +Group: Development/Libraries +# BEGIN: cabal2spec-0.24 +%{?ghc_devel_requires} +Obsoletes: ghc-%{pkg_name}-prof < %{version}-%{release} +Provides: ghc-%{pkg_name}-prof = %{version}-%{release} +# END: cabal2spec-0.24 +# remember to require any C devel dependency here +# Haskell devel dependencies are autogenerated by ghc-deps.sh + +%description -n ghc-%{pkg_name}-devel +%{common_description} + +This package contains the development files. + + %prep %setup -q -n %{pkg_name}-%{version} @@ -33,14 +54,32 @@ BuildRequires: ghc-network-prof, ghc-time-prof %install %ghc_lib_install -mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} -install -p -m 644 COPYING ${RPM_BUILD_ROOT}%{_docdir}/%{name}-%{version} -%ghc_lib_package +%post -n ghc-%{pkg_name}-devel +%ghc_pkg_recache + + +%postun -n ghc-%{pkg_name}-devel +%ghc_pkg_recache + + +%if %{undefined ghc_without_shared} +%files -n ghc-%{pkg_name} -f ghc-%{pkg_name}.files +%defattr(-,root,root,-) +%endif + + +%files -n ghc-%{pkg_name}-devel -f ghc-%{pkg_name}-devel.files +%defattr(-,root,root,-) %changelog +* Sat Aug 27 2011 Lakshmi Narasimhan T V - 1.1.5-1 +- package update to 1.1.5 +- upgrade to cabal2spec 0.24 +- license change from LGPLv2 to BSD + * Tue Jun 21 2011 Jens Petersen - 1.1.4-2 - BR ghc-Cabal-devel instead of ghc-prof (cabal2spec-0.23.2) diff --git a/sources b/sources index 6e8eb29..2d3f3e8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -6165120d8c581bc15167afda21c578c7 hslogger-1.1.4.tar.gz +cd3dfd6f88176bd53b333ea29130a857 hslogger-1.1.5.tar.gz