refresh to cabal-rpm-2.1.0 with SPDX migration
This commit is contained in:
parent
656e3189dc
commit
86923af67c
|
@ -0,0 +1,84 @@
|
||||||
|
name: bugzilla-redhat
|
||||||
|
version: 1.0.1
|
||||||
|
x-revision: 1
|
||||||
|
synopsis: A Haskell interface to the Bugzilla native REST API
|
||||||
|
description: This package is designed to provide an easy-to-use,
|
||||||
|
type-safe interface to querying Bugzilla from Haskell.
|
||||||
|
.
|
||||||
|
This is a friendly fork of Seth Fowler's library,
|
||||||
|
with updates and API tweaks needed for
|
||||||
|
bugzilla.redhat.com.
|
||||||
|
homepage: https://github.com/juhp/hsbugzilla
|
||||||
|
license: BSD3
|
||||||
|
license-file: LICENSE
|
||||||
|
author: Seth Fowler <mark.seth.fowler@gmail.com>
|
||||||
|
maintainer: Jens Petersen <juhpetersen@gmail.com>
|
||||||
|
copyright: 2014 Seth Fowler,
|
||||||
|
2020-2022 Jens Petersen
|
||||||
|
category: Web
|
||||||
|
build-type: Simple
|
||||||
|
extra-source-files: README.md
|
||||||
|
ChangeLog.md
|
||||||
|
TODO
|
||||||
|
cabal-version: >=1.10
|
||||||
|
|
||||||
|
source-repository head
|
||||||
|
type: git
|
||||||
|
location: https://github.com/juhp/hsbugzilla.git
|
||||||
|
|
||||||
|
flag BuildDemo
|
||||||
|
description: Build the 'bugzilla' demo program
|
||||||
|
default: False
|
||||||
|
|
||||||
|
library
|
||||||
|
ghc-options: -Wall
|
||||||
|
exposed-modules: Web.RedHatBugzilla,
|
||||||
|
Web.RedHatBugzilla.Search
|
||||||
|
other-modules: Web.RedHatBugzilla.Internal.Network,
|
||||||
|
Web.RedHatBugzilla.Internal.Search,
|
||||||
|
Web.RedHatBugzilla.Internal.Types
|
||||||
|
build-depends: base >=4.6 && <5,
|
||||||
|
aeson >=0.7 && <2.2,
|
||||||
|
blaze-builder >=0.3 && <0.5,
|
||||||
|
bytestring >=0.10,
|
||||||
|
connection >=0.2 && <0.4,
|
||||||
|
containers >=0.5 && <0.7,
|
||||||
|
http-conduit >=2.1.11 && <2.4,
|
||||||
|
http-types >=0.8 && <0.13,
|
||||||
|
iso8601-time >=0.1 && <1.6,
|
||||||
|
resourcet >=0.4,
|
||||||
|
text >=0.11,
|
||||||
|
time >=1.4 && <1.13,
|
||||||
|
transformers >=0.3 && <0.6,
|
||||||
|
unordered-containers >=0.2 && <0.3,
|
||||||
|
vector >= 0.10 && <0.14
|
||||||
|
hs-source-dirs: src
|
||||||
|
default-language: Haskell2010
|
||||||
|
|
||||||
|
executable bugzilla
|
||||||
|
if flag(BuildDemo)
|
||||||
|
buildable: True
|
||||||
|
else
|
||||||
|
buildable: False
|
||||||
|
|
||||||
|
ghc-options: -Wall
|
||||||
|
main-is: BugzillaDemo.hs
|
||||||
|
build-depends: base >=4.6 && <5,
|
||||||
|
bugzilla-redhat,
|
||||||
|
containers >=0.5 && <0.7,
|
||||||
|
text >=0.11,
|
||||||
|
time >=1.4 && <1.13
|
||||||
|
hs-source-dirs: demo
|
||||||
|
default-language: Haskell2010
|
||||||
|
|
||||||
|
test-suite bugzilla-test
|
||||||
|
type: exitcode-stdio-1.0
|
||||||
|
hs-source-dirs: test
|
||||||
|
main-is: Spec.hs
|
||||||
|
build-depends: base >=4.6 && <5,
|
||||||
|
aeson >=0.7 && <2.2,
|
||||||
|
bugzilla-redhat,
|
||||||
|
hspec >=2.0 && <3.0,
|
||||||
|
time >=1.4 && <1.13
|
||||||
|
ghc-options: -Wall
|
||||||
|
default-language: Haskell2010
|
|
@ -1,4 +1,4 @@
|
||||||
# generated by cabal-rpm-2.0.9
|
# generated by cabal-rpm-2.1.0
|
||||||
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
|
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
|
||||||
|
|
||||||
%global pkg_name bugzilla-redhat
|
%global pkg_name bugzilla-redhat
|
||||||
|
@ -8,10 +8,10 @@
|
||||||
|
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 1.0.1
|
Version: 1.0.1
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: A Haskell interface to the Bugzilla native REST API
|
Summary: A Haskell interface to the Bugzilla native REST API
|
||||||
|
|
||||||
License: BSD
|
License: BSD-3-Clause
|
||||||
Url: https://hackage.haskell.org/package/%{pkg_name}
|
Url: https://hackage.haskell.org/package/%{pkg_name}
|
||||||
# Begin cabal-rpm sources:
|
# Begin cabal-rpm sources:
|
||||||
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
||||||
|
@ -20,6 +20,22 @@ Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
||||||
# Begin cabal-rpm deps:
|
# Begin cabal-rpm deps:
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-rpm-macros
|
BuildRequires: ghc-rpm-macros
|
||||||
|
BuildRequires: ghc-aeson-devel
|
||||||
|
BuildRequires: ghc-base-devel
|
||||||
|
BuildRequires: ghc-blaze-builder-devel
|
||||||
|
BuildRequires: ghc-bytestring-devel
|
||||||
|
BuildRequires: ghc-connection-devel
|
||||||
|
BuildRequires: ghc-containers-devel
|
||||||
|
BuildRequires: ghc-http-conduit-devel
|
||||||
|
BuildRequires: ghc-http-types-devel
|
||||||
|
BuildRequires: ghc-iso8601-time-devel
|
||||||
|
BuildRequires: ghc-resourcet-devel
|
||||||
|
BuildRequires: ghc-text-devel
|
||||||
|
BuildRequires: ghc-time-devel
|
||||||
|
BuildRequires: ghc-transformers-devel
|
||||||
|
BuildRequires: ghc-unordered-containers-devel
|
||||||
|
BuildRequires: ghc-vector-devel
|
||||||
|
%if %{with ghc_prof}
|
||||||
BuildRequires: ghc-aeson-prof
|
BuildRequires: ghc-aeson-prof
|
||||||
BuildRequires: ghc-base-prof
|
BuildRequires: ghc-base-prof
|
||||||
BuildRequires: ghc-blaze-builder-prof
|
BuildRequires: ghc-blaze-builder-prof
|
||||||
|
@ -35,6 +51,7 @@ BuildRequires: ghc-time-prof
|
||||||
BuildRequires: ghc-transformers-prof
|
BuildRequires: ghc-transformers-prof
|
||||||
BuildRequires: ghc-unordered-containers-prof
|
BuildRequires: ghc-unordered-containers-prof
|
||||||
BuildRequires: ghc-vector-prof
|
BuildRequires: ghc-vector-prof
|
||||||
|
%endif
|
||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
BuildRequires: ghc-hspec-devel
|
BuildRequires: ghc-hspec-devel
|
||||||
%endif
|
%endif
|
||||||
|
@ -130,6 +147,9 @@ This package provides the Haskell %{pkg_name} profiling library.
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Feb 16 2023 Jens Petersen <petersen@redhat.com> - 1.0.1-2
|
||||||
|
- refresh to cabal-rpm-2.1.0 with SPDX migration
|
||||||
|
|
||||||
* Wed Nov 23 2022 Jens Petersen <petersen@redhat.com> - 1.0.1-1
|
* Wed Nov 23 2022 Jens Petersen <petersen@redhat.com> - 1.0.1-1
|
||||||
- Red Hat bugzilla bugs no longer have a 'see_also' field (#18)
|
- Red Hat bugzilla bugs no longer have a 'see_also' field (#18)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue