Hello community, here is the log from the commit of package ghc-RSA for openSUSE:Factory checked in at 2016-07-27 16:09:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-RSA (Old) and /work/SRC/openSUSE:Factory/.ghc-RSA.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-RSA" Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-RSA/ghc-RSA.changes 2016-01-08 15:22:46.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-RSA.new/ghc-RSA.changes 2016-07-27 16:09:24.000000000 +0200 @@ -1,0 +2,5 @@ +Sun Jul 10 17:14:02 UTC 2016 - [email protected] + +- Update to version 2.2.0 revision 0 with cabal2obs. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-RSA.spec ++++++ --- /var/tmp/diff_new_pack.FYufG3/_old 2016-07-27 16:09:25.000000000 +0200 +++ /var/tmp/diff_new_pack.FYufG3/_new 2016-07-27 16:09:25.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-RSA # -# 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 @@ -17,22 +17,16 @@ %global pkg_name RSA - %bcond_with tests - -Name: ghc-RSA +Name: ghc-%{pkg_name} Version: 2.2.0 Release: 0 Summary: Implementation of RSA, using the padding schemes of PKCS#1 v2.1 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 - BuildRequires: ghc-Cabal-devel -BuildRequires: ghc-rpm-macros # Begin cabal-rpm deps: BuildRequires: ghc-SHA-devel BuildRequires: ghc-binary-devel @@ -40,6 +34,8 @@ BuildRequires: ghc-crypto-api-devel BuildRequires: ghc-crypto-pubkey-types-devel BuildRequires: ghc-pureMD5-devel +BuildRequires: ghc-rpm-macros +BuildRoot: %{_tmppath}/%{name}-%{version}-build %if %{with tests} BuildRequires: ghc-DRBG-devel BuildRequires: ghc-QuickCheck-devel @@ -56,33 +52,35 @@ The algorithms included are based of RFC 3447, or the Public-Key Cryptography Standard for RSA, version 2.1 (a.k.a, PKCS#1 v2.1). - %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} + %build %ghc_lib_build + %install %ghc_lib_install + %check %if %{with tests} -%cabal test +%{cabal} test %endif + %post devel %ghc_pkg_recache
