Accepting request 1134296 from devel:languages:haskell

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1134296
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-old-time?expand=0&rev=14
This commit is contained in:
Ana Guerrero 2023-12-21 22:38:15 +00:00 committed by Git OBS Bridge
commit d370de6b94
5 changed files with 13 additions and 66 deletions

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Dec 11 08:39:16 UTC 2023 - Peter Simons <psimons@suse.com>
- Update old-time to version 1.1.0.4.
## 1.1.0.4 *Dec 2023*
* Add `build-tools: hsc2hs` to `old-time.cabal` for compilation with GHC 8.
Fixes [issue #12](https://github.com/haskell/old-time/issues/12)
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Mar 30 17:07:43 UTC 2023 - Peter Simons <psimons@suse.com> Thu Mar 30 17:07:43 UTC 2023 - Peter Simons <psimons@suse.com>

View File

@ -19,13 +19,12 @@
%global pkg_name old-time %global pkg_name old-time
%global pkgver %{pkg_name}-%{version} %global pkgver %{pkg_name}-%{version}
Name: ghc-%{pkg_name} Name: ghc-%{pkg_name}
Version: 1.1.0.3 Version: 1.1.0.4
Release: 0 Release: 0
Summary: Time library Summary: Time library
License: BSD-3-Clause License: BSD-3-Clause
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
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/2.cabal#/%{pkg_name}.cabal
BuildRequires: ghc-Cabal-devel BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-base-devel BuildRequires: ghc-base-devel
BuildRequires: ghc-base-prof BuildRequires: ghc-base-prof
@ -68,7 +67,6 @@ This package provides the Haskell %{pkg_name} profiling library.
%prep %prep
%autosetup -n %{pkg_name}-%{version} %autosetup -n %{pkg_name}-%{version}
cp -p %{SOURCE1} %{pkg_name}.cabal
%build %build
%ghc_lib_build %ghc_lib_build

View File

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

3
old-time-1.1.0.4.tar.gz Normal file
View File

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

View File

@ -1,60 +0,0 @@
name: old-time
version: 1.1.0.3
x-revision: 2
-- NOTE: Don't forget to update ./changelog.md
license: BSD3
license-file: LICENSE
maintainer: libraries@haskell.org
bug-reports: https://github.com/haskell/old-time/issues
synopsis: Time library
category: System
build-type: Configure
cabal-Version: >=1.10
description:
This package provides the old time library.
.
For new projects, the newer
<http://hackage.haskell.org/package/time time library>
is recommended.
extra-source-files:
aclocal.m4
changelog.md
config.guess
config.sub
configure
configure.ac
include/HsTimeConfig.h.in
install-sh
old-time.buildinfo
extra-tmp-files:
autom4te.cache
config.log
config.status
include/HsTimeConfig.h
source-repository head
type: git
location: https://github.com/haskell/old-time.git
Library
default-language: Haskell2010
other-extensions: Trustworthy
exposed-modules:
System.Time
c-sources:
cbits/timeUtils.c
include-dirs: include
includes: HsTime.h
install-includes:
HsTime.h
build-depends:
base >= 4.7 && < 5,
old-locale == 1.0.*
ghc-options: -Wall