Hello community, here is the log from the commit of package ghc-ed25519 for openSUSE:Factory checked in at 2016-07-21 08:07:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-ed25519 (Old) and /work/SRC/openSUSE:Factory/.ghc-ed25519.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-ed25519" Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-ed25519/ghc-ed25519.changes 2016-06-07 23:47:22.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-ed25519.new/ghc-ed25519.changes 2016-07-21 08:07:57.000000000 +0200 @@ -1,0 +2,5 @@ +Sun Jul 10 17:04:45 UTC 2016 - [email protected] + +- Update to version 0.0.5.0 revision 2 with cabal2obs. + +------------------------------------------------------------------- New: ---- 2.cabal ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-ed25519.spec ++++++ --- /var/tmp/diff_new_pack.eyqdrO/_old 2016-07-21 08:07:58.000000000 +0200 +++ /var/tmp/diff_new_pack.eyqdrO/_new 2016-07-21 08:07:58.000000000 +0200 @@ -15,25 +15,23 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -%global pkg_name ed25519 +%global pkg_name ed25519 %bcond_with tests - Name: ghc-%{pkg_name} Version: 0.0.5.0 Release: 0 Summary: Ed25519 cryptographic signatures -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 - +Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/2.cabal BuildRequires: ghc-Cabal-devel -BuildRequires: ghc-rpm-macros # Begin cabal-rpm deps: BuildRequires: ghc-bytestring-devel +BuildRequires: ghc-rpm-macros +BuildRoot: %{_tmppath}/%{name}-%{version}-build %if %{with tests} BuildRequires: ghc-QuickCheck-devel BuildRequires: ghc-directory-devel @@ -49,22 +47,21 @@ for detached signatures, and thorough documentation on the design and implementation, including usage guidelines. - %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} -cabal-tweak-dep-ver ghc-prim '< 0.5' '< 0.6' +cp -p %{SOURCE1} %{pkg_name}.cabal + %build %ghc_lib_build @@ -76,26 +73,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.txt - %files devel -f %{name}-devel.files %defattr(-,root,root,-) -%doc AUTHORS.txt README.md - +%doc AUTHORS.txt CHANGELOG.md README.md %changelog ++++++ 2.cabal ++++++ name: ed25519 version: 0.0.5.0 x-revision: 2 category: Cryptography license: MIT synopsis: Ed25519 cryptographic signatures homepage: http://thoughtpolice.github.com/hs-ed25519 bug-reports: http://github.com/thoughtpolice/hs-ed25519/issues license-file: LICENSE.txt copyright: Copyright (c) Austin Seipp 2013-2015 author: Austin Seipp maintainer: Austin Seipp <[email protected]> build-type: Simple cabal-version: >=1.10 tested-with: GHC == 7.0.1, GHC == 7.0.2, GHC == 7.0.3, GHC == 7.0.4, GHC == 7.2.1, GHC == 7.2.2, GHC == 7.4.1, GHC == 7.4.2, GHC == 7.6.1, GHC == 7.6.2, GHC == 7.6.3, GHC == 7.8.2, GHC == 7.8.3, GHC == 7.8.4, GHC == 7.10.1, GHC == 7.10.2 description: This package provides a simple, fast, self-contained copy of the Ed25519 public-key signature system with a clean interface. It also includes support for detached signatures, and thorough documentation on the design and implementation, including usage guidelines. extra-source-files: .travis.yml AUTHORS.txt README.md CONTRIBUTING.md CHANGELOG.md src/cbits/ref10/*.c src/cbits/ref10/include/*.h source-repository head type: git location: https://github.com/thoughtpolice/hs-ed25519.git ------------------------------------------------------------------------------- -- Flags flag test-properties default: True manual: True flag test-hlint default: True manual: True flag test-doctests default: True manual: True flag no-donna default: True manual: True ------------------------------------------------------------------------------- -- Build pt 1: main project library build-depends: ghc-prim >= 0.1 && < 0.6, base >= 4 && < 5, bytestring >= 0.9 && < 0.11 exposed-modules: Crypto.Sign.Ed25519 ghc-options: -Wall -fwarn-tabs default-language: Haskell2010 hs-source-dirs: src -- Choose the underlying C implementation if flag(no-donna) -- ref10 implementation from SUPERCOP, about 2x slower than the AMD64 -- SUPERCOP implementations, 15x faster than ronald3072 for signing. c-sources: src/cbits/ref10/ed25519.c include-dirs: src/cbits/ref10 src/cbits/ref10/include else -- TODO(aseipp): ed25519-donna import buildable: False ------------------------------------------------------------------------------- -- Build pt 2: Tests test-suite properties type: exitcode-stdio-1.0 main-is: properties.hs ghc-options: -w hs-source-dirs: tests default-language: Haskell2010 if !flag(test-properties) buildable: False else build-depends: base >= 4 && < 5, bytestring >= 0.9 && < 0.11, QuickCheck >= 2.4 && < 2.9, ed25519 -- -- Style/doc tests below -- test-suite hlint type: exitcode-stdio-1.0 main-is: hlint.hs hs-source-dirs: tests default-language: Haskell2010 if !flag(test-hlint) buildable: False else build-depends: base >= 4 && < 5, hlint >= 1.7 && < 1.10 test-suite doctests type: exitcode-stdio-1.0 main-is: doctests.hs hs-source-dirs: tests default-language: Haskell2010 if !flag(test-doctests) buildable: False else build-depends: base >= 4 && < 5, filepath >= 1.0 && < 1.5, directory >= 1.0 && < 1.3, doctest >= 0.10 && < 0.12 ------------------------------------------------------------------------------- -- Build pt 3: benchmarks benchmark bench type: exitcode-stdio-1.0 build-depends: base >= 4 && < 5, bytestring >= 0.9 && < 0.11, criterion >= 0.8 && < 1.2, deepseq >= 1.3 && < 1.5, ed25519 default-language: Haskell2010 hs-source-dirs: benchmarks main-is: bench.hs
