Accepting request 499717 from devel:languages:haskell

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/499717
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-old-time?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2017-06-03 23:58:04 +00:00 committed by Git OBS Bridge
commit e998dda66e
3 changed files with 10 additions and 10 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu May 18 09:52:23 UTC 2017 - psimons@suse.com
- Update to version 1.1.0.3 revision 2 with cabal2obs.
-------------------------------------------------------------------
Sun Jul 10 17:16:04 UTC 2016 - psimons@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package ghc-old-time
#
# 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
# remain the property of their copyright owners, unless otherwise agreed
@ -22,16 +22,14 @@ Version: 1.1.0.3
Release: 0
Summary: Time library
License: BSD-3-Clause
Group: System/Libraries
Group: Development/Languages/Other
Url: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/2.cabal#/%{pkg_name}.cabal
BuildRequires: ghc-Cabal-devel
# Begin cabal-rpm deps:
BuildRequires: ghc-old-locale-devel
BuildRequires: ghc-rpm-macros
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# End cabal-rpm deps
%description
This package provides the old time library.
@ -54,15 +52,12 @@ This package provides the Haskell %{pkg_name} library development files.
%setup -q -n %{pkg_name}-%{version}
cp -p %{SOURCE1} %{pkg_name}.cabal
%build
%ghc_lib_build
%install
%ghc_lib_install
%post devel
%ghc_pkg_recache

View File

@ -1,6 +1,6 @@
name: old-time
version: 1.1.0.3
x-revision: 1
x-revision: 2
-- NOTE: Don't forget to update ./changelog.md
license: BSD3
license-file: LICENSE
@ -54,7 +54,7 @@ Library
HsTime.h
build-depends:
base >= 4.7 && < 4.10,
base >= 4.7 && < 5,
old-locale == 1.0.*
ghc-options: -Wall