Hello community,

here is the log from the commit of package ghc-old-time for openSUSE:Factory 
checked in at 2016-07-20 09:28:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-old-time (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-old-time.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-old-time"

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-old-time/ghc-old-time.changes        
2015-08-23 17:39:03.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-old-time.new/ghc-old-time.changes   
2016-07-20 09:28:32.000000000 +0200
@@ -1,0 +2,5 @@
+Sun Jul 10 17:16:04 UTC 2016 - [email protected]
+
+- Update to version 1.1.0.3 revision 1 with cabal2obs.
+
+-------------------------------------------------------------------

New:
----
  1.cabal

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

Other differences:
------------------
++++++ ghc-old-time.spec ++++++
--- /var/tmp/diff_new_pack.3TjOpX/_old  2016-07-20 09:28:33.000000000 +0200
+++ /var/tmp/diff_new_pack.3TjOpX/_new  2016-07-20 09:28:33.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-old-time
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# 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
@@ -15,23 +15,22 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-%global pkg_name old-time
 
-Name:           ghc-old-time
+%global pkg_name old-time
+Name:           ghc-%{pkg_name}
 Version:        1.1.0.3
 Release:        0
 Summary:        Time library
-Group:          System/Libraries
-
 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
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-
+Source1:        
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal
 BuildRequires:  ghc-Cabal-devel
-BuildRequires:  ghc-rpm-macros
 # Begin cabal-rpm deps:
 BuildRequires:  ghc-old-locale-devel
+BuildRequires:  ghc-rpm-macros
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 # End cabal-rpm deps
 
 %description
@@ -40,21 +39,20 @@
 For new projects, the newer <http://hackage.haskell.org/package/time time
 library> is recommended.
 
-
 %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}
-Requires:       %{name} = %{version}-%{release}
 
 %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
@@ -68,18 +66,15 @@
 %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
 
 %changelog

++++++ 1.cabal ++++++
name:           old-time
version:        1.1.0.3
x-revision: 1
-- NOTE: Don't forget to update ./changelog.md
license:        BSD3
license-file:   LICENSE
maintainer:     [email protected]
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 && < 4.10,
        old-locale == 1.0.*

    ghc-options: -Wall

Reply via email to