From b745dd8fbf06c82a5d45932a331c479bad3b0f1053570af414ac04093047da35 Mon Sep 17 00:00:00 2001 From: Peter Trommler Date: Tue, 28 Feb 2012 15:26:18 +0000 Subject: [PATCH] Accepting request 107433 from home:ptrommler:devel:languages:haskell:platform-2011.4 Fix BuildRoot for SLE-11-SP1. SPDX license tag OBS-URL: https://build.opensuse.org/request/show/107433 OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zlib?expand=0&rev=3 --- ghc-zlib.changes | 5 +++++ ghc-zlib.spec | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ghc-zlib.changes b/ghc-zlib.changes index a349496..d6112f9 100644 --- a/ghc-zlib.changes +++ b/ghc-zlib.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Feb 23 13:42:43 UTC 2012 - peter.trommler@ohm-hochschule.de + +- Added BuildRoot for sle11-sp1 + ------------------------------------------------------------------- Thu Dec 15 09:33:05 UTC 2011 - peter.trommler@ohm-hochschule.de diff --git a/ghc-zlib.spec b/ghc-zlib.spec index 5730e32..e428386 100644 --- a/ghc-zlib.spec +++ b/ghc-zlib.spec @@ -30,7 +30,7 @@ Release: 1 Summary: %{common_summary} Group: Development/Libraries/Other -License: @LICENSE@ +License: BSD-3-Clause # BEGIN cabal2spec URL: http://hackage.haskell.org/package/%{pkg_name} Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz @@ -46,6 +46,10 @@ BuildRequires: hscolour BuildRequires: ghc-bytestring-devel BuildRequires: zlib-devel +%if %{defined sles_version} +BuildRoot: %{_tmppath}/%{name}-%{version}-build +%endif + %description %{common_description}