Accepting request 461629 from devel:languages:haskell

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/461629
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-extra?expand=0&rev=12
This commit is contained in:
Dominique Leuenberger 2017-03-14 09:04:36 +00:00 committed by Git OBS Bridge
commit e0913e90bc
4 changed files with 14 additions and 16 deletions

View File

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

3
extra-1.5.1.tar.gz Normal file
View File

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

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Feb 12 14:20:44 UTC 2017 - psimons@suse.com
- Update to version 1.5.1 with cabal2obs.
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Jul 10 17:28:13 UTC 2016 - psimons@suse.com Sun Jul 10 17:28:13 UTC 2016 - psimons@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package ghc-extra # spec file for package ghc-extra
# #
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -19,15 +19,15 @@
%global pkg_name extra %global pkg_name extra
%bcond_with tests %bcond_with tests
Name: ghc-%{pkg_name} Name: ghc-%{pkg_name}
Version: 1.4.10 Version: 1.5.1
Release: 0 Release: 0
Summary: Extra functions I use Summary: Extra functions I use
License: BSD-3-Clause License: BSD-3-Clause
Group: System/Libraries Group: Development/Languages/Other
Url: https://hackage.haskell.org/package/%{pkg_name} Url: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
BuildRequires: ghc-Cabal-devel BuildRequires: ghc-Cabal-devel
# Begin cabal-rpm deps: BuildRequires: ghc-clock-devel
BuildRequires: ghc-directory-devel BuildRequires: ghc-directory-devel
BuildRequires: ghc-filepath-devel BuildRequires: ghc-filepath-devel
BuildRequires: ghc-process-devel BuildRequires: ghc-process-devel
@ -38,7 +38,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if %{with tests} %if %{with tests}
BuildRequires: ghc-QuickCheck-devel BuildRequires: ghc-QuickCheck-devel
%endif %endif
# End cabal-rpm deps
%description %description
A library of extra functions for the standard Haskell libraries. Most functions A library of extra functions for the standard Haskell libraries. Most functions
@ -65,20 +64,14 @@ This package provides the Haskell %{pkg_name} library development files.
%prep %prep
%setup -q -n %{pkg_name}-%{version} %setup -q -n %{pkg_name}-%{version}
%build %build
%ghc_lib_build %ghc_lib_build
%install %install
%ghc_lib_install %ghc_lib_install
%check %check
%if %{with tests} %cabal_test
%{cabal} test
%endif
%post devel %post devel
%ghc_pkg_recache %ghc_pkg_recache
@ -92,6 +85,6 @@ This package provides the Haskell %{pkg_name} library development files.
%files devel -f %{name}-devel.files %files devel -f %{name}-devel.files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc README.md %doc CHANGES.txt README.md
%changelog %changelog