From 167be045d86a9c0299a0aae88585e7ad10d11362 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Feb 16 2019 05:05:41 +0000 Subject: use revised .cabal --- diff --git a/ghc-old-time.spec b/ghc-old-time.spec index 526d9d1..bcc8165 100644 --- a/ghc-old-time.spec +++ b/ghc-old-time.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-0.12.1 +# generated by cabal-rpm-0.12.5 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name old-time @@ -6,12 +6,13 @@ Name: ghc-%{pkg_name} Version: 1.1.0.3 -Release: 9%{?dist} +Release: 10%{?dist} Summary: Time library License: BSD Url: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz +Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros @@ -43,7 +44,7 @@ This package provides the Haskell %{pkg_name} library development files. %prep %setup -q -n %{pkgver} -cabal-tweak-dep-ver base '< 4.9' '< 4.11' +cp -p %{SOURCE1} %{pkg_name}.cabal %build @@ -71,6 +72,9 @@ cabal-tweak-dep-ver base '< 4.9' '< 4.11' %changelog +* Sat Feb 16 2019 Jens Petersen - 1.1.0.3-10 +- use revised .cabal file + * Thu Jan 31 2019 Fedora Release Engineering - 1.1.0.3-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/old-time-1.1.0.3.cabal b/old-time-1.1.0.3.cabal new file mode 100644 index 0000000..ce12c4e --- /dev/null +++ b/old-time-1.1.0.3.cabal @@ -0,0 +1,60 @@ +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 + + 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