Hello community, here is the log from the commit of package ghc-persistent-sqlite for openSUSE:Factory checked in at 2016-07-21 08:16:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-persistent-sqlite (Old) and /work/SRC/openSUSE:Factory/.ghc-persistent-sqlite.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-persistent-sqlite" Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-persistent-sqlite/ghc-persistent-sqlite.changes 2016-03-29 09:56:17.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-persistent-sqlite.new/ghc-persistent-sqlite.changes 2016-07-21 08:16:07.000000000 +0200 @@ -1,0 +2,5 @@ +Sun Jul 10 17:31:09 UTC 2016 - psim...@suse.com + +- Update to version 2.2.1 revision 0 with cabal2obs. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-persistent-sqlite.spec ++++++ --- /var/tmp/diff_new_pack.HZOz1z/_old 2016-07-21 08:16:08.000000000 +0200 +++ /var/tmp/diff_new_pack.HZOz1z/_new 2016-07-21 08:16:08.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-persistent-sqlite # -# 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,18 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -%global pkg_name persistent-sqlite +%global pkg_name persistent-sqlite %bcond_with tests - -Name: ghc-persistent-sqlite +Name: ghc-%{pkg_name} Version: 2.2.1 Release: 0 Summary: Backend for the persistent library using sqlite3 -Group: System/Libraries - License: MIT +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 - BuildRequires: ghc-Cabal-devel -BuildRequires: ghc-rpm-macros # Begin cabal-rpm deps: BuildRequires: ghc-aeson-devel BuildRequires: ghc-bytestring-devel @@ -42,39 +37,39 @@ BuildRequires: ghc-old-locale-devel BuildRequires: ghc-persistent-devel BuildRequires: ghc-resourcet-devel +BuildRequires: ghc-rpm-macros BuildRequires: ghc-text-devel BuildRequires: ghc-time-devel BuildRequires: ghc-transformers-devel BuildRequires: glibc-devel -BuildRequires: sqlite3-devel +BuildRoot: %{_tmppath}/%{name}-%{version}-build %if %{with tests} BuildRequires: ghc-hspec-devel BuildRequires: ghc-persistent-template-devel %endif # End cabal-rpm deps +BuildRequires: sqlite3-devel %description This package includes a thin sqlite3 wrapper based on the direct-sqlite package, as well as the entire C library, so there are no system dependencies. - %package devel Summary: Haskell %{pkg_name} library development files Group: Development/Libraries/Other -Requires: ghc-compiler = %{ghc_version} -Requires(post): ghc-compiler = %{ghc_version} -Requires(postun): ghc-compiler = %{ghc_version} Requires: %{name} = %{version}-%{release} +Requires: ghc-compiler = %{ghc_version} # Begin cabal-rpm deps: Requires: glibc-devel -Requires: sqlite3-devel +Requires(post): ghc-compiler = %{ghc_version} +Requires(postun): ghc-compiler = %{ghc_version} # End cabal-rpm deps +Requires: sqlite3-devel %description devel This package provides the Haskell %{pkg_name} library development files. - %prep %setup -q -n %{pkg_name}-%{version} cabal-tweak-flag systemlib True @@ -89,25 +84,22 @@ %check %if %{with tests} -%cabal test +%{cabal} test %endif %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