use revised .cabal
This commit is contained in:
parent
0522deaac2
commit
167be045d8
@ -1,4 +1,4 @@
|
|||||||
# generated by cabal-rpm-0.12.1
|
# generated by cabal-rpm-0.12.5
|
||||||
# https://fedoraproject.org/wiki/Packaging:Haskell
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
||||||
|
|
||||||
%global pkg_name old-time
|
%global pkg_name old-time
|
||||||
@ -6,12 +6,13 @@
|
|||||||
|
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 1.1.0.3
|
Version: 1.1.0.3
|
||||||
Release: 9%{?dist}
|
Release: 10%{?dist}
|
||||||
Summary: Time library
|
Summary: Time library
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
Url: https://hackage.haskell.org/package/%{pkg_name}
|
Url: https://hackage.haskell.org/package/%{pkg_name}
|
||||||
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
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-Cabal-devel
|
||||||
BuildRequires: ghc-rpm-macros
|
BuildRequires: ghc-rpm-macros
|
||||||
@ -43,7 +44,7 @@ This package provides the Haskell %{pkg_name} library development files.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{pkgver}
|
%setup -q -n %{pkgver}
|
||||||
cabal-tweak-dep-ver base '< 4.9' '< 4.11'
|
cp -p %{SOURCE1} %{pkg_name}.cabal
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -71,6 +72,9 @@ cabal-tweak-dep-ver base '< 4.9' '< 4.11'
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Feb 16 2019 Jens Petersen <petersen@redhat.com> - 1.1.0.3-10
|
||||||
|
- use revised .cabal file
|
||||||
|
|
||||||
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0.3-9
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0.3-9
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
60
old-time-1.1.0.3.cabal
Normal file
60
old-time-1.1.0.3.cabal
Normal file
@ -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
|
||||||
|
<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
|
Loading…
Reference in New Issue
Block a user