Hello community,

here is the log from the commit of package ghc-HDBC for openSUSE:Factory 
checked in at 2016-10-14 09:05:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-HDBC (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-HDBC.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-HDBC"

Changes:
--------
New Changes file:

--- /dev/null   2016-09-15 12:42:18.240042505 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-HDBC.new/ghc-HDBC.changes   2016-10-14 
09:05:56.000000000 +0200
@@ -0,0 +1,5 @@
+-------------------------------------------------------------------
+Sun Jul 10 17:29:11 UTC 2016 - psim...@suse.com
+
+- Update to version 2.4.0.1 revision 1 with cabal2obs.
+

New:
----
  1.cabal
  HDBC-2.4.0.1.tar.gz
  ghc-HDBC.changes
  ghc-HDBC.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc-HDBC.spec ++++++
#
# spec file for package ghc-HDBC
#
# Copyright (c) 2016 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


%global pkg_name HDBC
Name:           ghc-%{pkg_name}
Version:        2.4.0.1
Release:        0
Summary:        Haskell Database Connectivity
License:        BSD-3-Clause
Group:          System/Libraries
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
BuildRequires:  ghc-Cabal-devel
# Begin cabal-rpm deps:
BuildRequires:  ghc-bytestring-devel
BuildRequires:  ghc-containers-devel
BuildRequires:  ghc-convertible-devel
BuildRequires:  ghc-mtl-devel
BuildRequires:  ghc-old-time-devel
BuildRequires:  ghc-rpm-macros
BuildRequires:  ghc-text-devel
BuildRequires:  ghc-time-devel
BuildRequires:  ghc-utf8-string-devel
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
# End cabal-rpm deps

%description
HDBC provides an abstraction layer between Haskell programs and SQL relational
databases. This lets you write database code once, in Haskell, and have it work
with any number of backend SQL databases (MySQL, Oracle, PostgreSQL,
ODBC-compliant databases, etc.).

%package devel
Summary:        Haskell %{pkg_name} library development files
Group:          Development/Libraries/Other
Requires:       %{name} = %{version}-%{release}
Requires:       ghc-compiler = %{ghc_version}
Requires(post): ghc-compiler = %{ghc_version}
Requires(postun): ghc-compiler = %{ghc_version}

%description devel
This package provides the Haskell %{pkg_name} library development files.

%prep
%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

%postun devel
%ghc_pkg_recache

%files -f %{name}.files
%defattr(-,root,root,-)
%doc LICENSE

%files devel -f %{name}-devel.files
%defattr(-,root,root,-)
%doc CHANGELOG.md README.md

%changelog
++++++ 1.cabal ++++++
Name: HDBC
Version: 2.4.0.1
x-revision: 1
License: BSD3
Maintainer: Nicolas Wu <nicolas...@gmail.com>
Author: John Goerzen, Nicolas Wu
homepage: https://github.com/hdbc/hdbc
Copyright: Copyright (c) 2005-2011 John Goerzen
license-file: LICENSE
extra-source-files: LICENSE, Makefile, README.md, CHANGELOG.md
Category: Database
synopsis: Haskell Database Connectivity
Description: HDBC provides an abstraction layer between Haskell programs and SQL
 relational databases. This lets you write database code once, in
 Haskell, and have it work with any number of backend SQL databases
 (MySQL, Oracle, PostgreSQL, ODBC-compliant databases, etc.)
Stability: Stable
Build-Type: Simple

Cabal-Version: >=1.8

source-repository head
  type:            git
  location:        https://github.com/hdbc/hdbc.git

flag splitBase
  description: Choose the new smaller, split-up base package.
flag buildtests
  description: Build the executable to run unit tests
  default: False
flag minTime15
  description: Use time 1.5 or higher.
  default: True

library
  if flag(splitBase)
    Build-Depends: base>=3 && <5, old-time, bytestring, containers
    if flag(minTime15)
      Build-Depends: time >= 1.5 && < 1.7
      CPP-Options: -DMIN_TIME_15
    else
      Build-Depends: time < 1.5, old-locale
  else
    Build-Depends: base<3
  Build-Depends: mtl, convertible >= 1.1.0.0, text, utf8-string

  -- Hack for cabal-install weirdness.  cabal-install forces base 3,
  -- though it works fine for Setup.lhs manually.  Fix.
  if impl(ghc >= 6.9)
     build-depends: base >= 4

  GHC-Options: -O2 -Wall -fno-warn-orphans

  Exposed-Modules: Database.HDBC, Database.HDBC.Types, 
Database.HDBC.DriverUtils,
    Database.HDBC.ColTypes, Database.HDBC.Statement, Database.HDBC.SqlValue,
    Database.HDBC.Locale
  Other-Modules: Database.HDBC.Utils
  Extensions: ExistentialQuantification, CPP, MultiParamTypeClasses,
    FlexibleContexts, TypeSynonymInstances, TypeOperators, RankNTypes,
    FlexibleInstances, DeriveDataTypeable
    
Executable runtests
   if flag(buildtests)
      Buildable: True
      Build-Depends: HUnit, QuickCheck (>= 2.0), testpack (>= 2.0)

      if flag(splitBase)
        Build-Depends: base>=3 && <5, old-time, bytestring, containers
        if flag(minTime15)
          Build-Depends: time >= 1.5 && < 1.7
        else
          Build-Depends: time < 1.5, old-locale
      else
        Build-Depends: base<3
      Build-Depends: mtl, convertible >= 1.1.0.0, utf8-string, text

      -- Hack for cabal-install weirdness.  cabal-install forces base 3,
      -- though it works fine for Setup.lhs manually.  Fix.
      if impl(ghc >= 6.9)
         build-depends: base >= 4
   else
      Buildable: False
   Main-Is: runtests.hs
   Other-Modules: TestSqlValue
                  TestInfrastructure
   Hs-Source-Dirs: ., testsrc
   GHC-Options: -O2
   Extensions: ExistentialQuantification, CPP, MultiParamTypeClasses,
     FlexibleContexts, TypeSynonymInstances, TypeOperators,
     RankNTypes, FlexibleInstances
   

Reply via email to