Accepting request 304619 from devel:languages:haskell:lts

- disable exe flag 

- update to 1.6.4.2 
- enable "exe" flag
* no upstream changelog

OBS-URL: https://build.opensuse.org/request/show/304619
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-SHA?expand=0&rev=2
This commit is contained in:
Peter Trommler 2015-05-04 17:51:41 +00:00 committed by Git OBS Bridge
parent d751296bf6
commit fdfb40bb2b
4 changed files with 38 additions and 12 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:743bc6d7dd3e74a44bfca8920f0f0ba5855722a62f6cc44f0a38d10c11bddc0d
size 2715446

3
SHA-1.6.4.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c470176f63cbe49fd0502a1b32ef22bc01b1af42385583b8be94547750958a8c
size 2715266

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Tue Apr 21 18:32:23 UTC 2015 - mimi.vx@gmail.com
- disable exe flag
-------------------------------------------------------------------
Sun Apr 19 20:56:45 UTC 2015 - mimi.vx@gmail.com
- update to 1.6.4.2
- enable "exe" flag
* no upstream changelog
-------------------------------------------------------------------
Sun Feb 1 20:40:48 UTC 2015 - mimi.vx@gmail.com

View File

@ -1,7 +1,7 @@
#
# spec file for package ghc-SHA
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,24 +17,31 @@
%global pkg_name SHA
# no useful debuginfo for Haskell packages without C sources
%global debug_package %{nil}
%bcond_with tests
Name: ghc-SHA
Version: 1.6.4.1
Name: ghc-%{pkg_name}
Version: 1.6.4.2
Release: 0
Summary: Implementations of the SHA suite of message digest functions
Group: Development/Languages/Other
Group: System/Libraries
License: BSD-3-Clause
Url: http://hackage.haskell.org/package/%{pkg_name}
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
Url: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
# Begin cabal-rpm deps:
BuildRequires: ghc-array-devel
BuildRequires: ghc-binary-devel
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-directory-devel
%if %{with tests}
BuildRequires: ghc-QuickCheck-devel
BuildRequires: ghc-test-framework-devel
BuildRequires: ghc-test-framework-quickcheck2-devel
%endif
# End cabal-rpm deps
%description
@ -49,12 +56,14 @@ like OpenSSL.
%package devel
Summary: Haskell %{pkg_name} library development files
Group: Development/Libraries/Other
Requires: ghc-compiler = %{ghc_version}
Requires(post): ghc-compiler = %{ghc_version}
Requires(postun): ghc-compiler = %{ghc_version}
Requires: %{name} = %{version}-%{release}
%description devel
This package provides the Haskell %{pkg_name} library development files.
%prep
%setup -q -n %{pkg_name}-%{version}
@ -64,6 +73,11 @@ This package provides the Haskell %{pkg_name} library development files.
%install
%ghc_lib_install
%check
%if %{with tests}
%cabal test
%endif
%post devel
%ghc_pkg_recache