Package update to 1.1.5

modified:   .gitignore
	modified:   ghc-hslogger.spec
	modified:   sources
This commit is contained in:
Lakshmi Narasimhan 2011-08-27 12:28:12 +05:30
parent 2e5231d278
commit 4385b87a34
3 changed files with 48 additions and 8 deletions

1
.gitignore vendored
View File

@ -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

View File

@ -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 <lakshminaras2002@gmail.com> - 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 <petersen@redhat.com> - 1.1.4-2
- BR ghc-Cabal-devel instead of ghc-prof (cabal2spec-0.23.2)

View File

@ -1 +1 @@
6165120d8c581bc15167afda21c578c7 hslogger-1.1.4.tar.gz
cd3dfd6f88176bd53b333ea29130a857 hslogger-1.1.5.tar.gz