Hello community, here is the log from the commit of package ghc-cprng-aes for openSUSE:Factory checked in at 2016-07-21 08:03:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-cprng-aes (Old) and /work/SRC/openSUSE:Factory/.ghc-cprng-aes.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-cprng-aes" Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-cprng-aes/ghc-cprng-aes.changes 2016-05-03 09:34:47.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-cprng-aes.new/ghc-cprng-aes.changes 2016-07-21 08:03:44.000000000 +0200 @@ -1,0 +2,5 @@ +Sun Jul 10 17:28:36 UTC 2016 - [email protected] + +- Update to version 0.6.1 revision 0 with cabal2obs. + +------------------------------------------------------------------- Old: ---- _service ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-cprng-aes.spec ++++++ --- /var/tmp/diff_new_pack.IPZSfH/_old 2016-07-21 08:03:45.000000000 +0200 +++ /var/tmp/diff_new_pack.IPZSfH/_new 2016-07-21 08:03:45.000000000 +0200 @@ -17,26 +17,22 @@ %global pkg_name cprng-aes - -Name: ghc-cprng-aes +Name: ghc-%{pkg_name} Version: 0.6.1 Release: 0 Summary: Crypto Pseudo Random Number Generator using AES in counter mode License: BSD-3-Clause Group: System/Libraries - -Url: http://hackage.haskell.org/package/%{pkg_name} -Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build - +Url: https://hackage.haskell.org/package/%{pkg_name} +Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz BuildRequires: ghc-Cabal-devel -BuildRequires: ghc-rpm-macros # Begin cabal-rpm deps: BuildRequires: ghc-byteable-devel BuildRequires: ghc-bytestring-devel BuildRequires: ghc-cipher-aes-devel BuildRequires: ghc-crypto-random-devel -BuildRequires: ghc-random-devel +BuildRequires: ghc-rpm-macros +BuildRoot: %{_tmppath}/%{name}-%{version}-build # End cabal-rpm deps %description @@ -55,27 +51,28 @@ value of data bytes is 127.6347 (127.5 = random). Monte Carlo value for Pi is 3.132465868 (error 0.29 percent). - %package devel Summary: Haskell %{pkg_name} library development files Group: Development/Libraries/Other -Provides: %{name}-static = %{version}-%{release} 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} + %build %ghc_lib_build + %install %ghc_lib_install -rm %{buildroot}/%{_datadir}/%{pkg_name}-%{version}/README.md + %post devel %ghc_pkg_recache @@ -86,9 +83,10 @@ %files -f %{name}.files %defattr(-,root,root,-) %doc LICENSE +%dir %{_datadir}/%{pkg_name}-%{version} +%{_datadir}/%{pkg_name}-%{version}/README.md %files devel -f %{name}-devel.files %defattr(-,root,root,-) -%doc README.md %changelog
