Compare commits

..

No commits in common. "rawhide" and "f31" have entirely different histories.
rawhide ... f31

3 changed files with 182 additions and 226 deletions

View File

@ -1,62 +0,0 @@
* Thu Feb 16 2023 Jens Petersen <petersen@redhat.com> - 0.0.5.0-25
- refresh to cabal-rpm-2.1.0 with SPDX migration
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.5.0-24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Fri Jun 17 2022 Jens Petersen <petersen@redhat.com> - 0.0.5.0-23
- rebuild
* Thu Mar 10 2022 Jens Petersen <petersen@redhat.com> - 0.0.5.0-22
- rebuild
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.5.0-21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Aug 06 2021 Jens Petersen <petersen@redhat.com> - 0.0.5.0-20
- rebuild
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.5.0-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.5.0-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.5.0-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri Jul 17 2020 Jens Petersen <petersen@redhat.com> - 0.0.5.0-16
- refresh to cabal-rpm-2.0.6
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.5.0-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Aug 01 2019 Jens Petersen <petersen@redhat.com> - 0.0.5.0-14
- add doc and prof subpackages (cabal-rpm-1.0.0)
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.5.0-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 0.0.5.0-12
- refresh to cabal-rpm-0.13
* Sat Feb 16 2019 Jens Petersen <petersen@redhat.com> - 0.0.5.0-11
- use revised .cabal file
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.5.0-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.5.0-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.5.0-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Fri Jan 26 2018 Jens Petersen <petersen@redhat.com> - 0.0.5.0-7
- rebuild
* Fri Oct 6 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.0.5.0-6
- Bump release to be newer than existing bundled version.
* Thu Oct 5 2017 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 0.0.5.0-1
- spec file generated by cabal-rpm-0.11.2

View File

@ -1,150 +1,150 @@
name: ed25519 name: ed25519
version: 0.0.5.0 version: 0.0.5.0
x-revision: 6 x-revision: 2
category: Cryptography category: Cryptography
license: MIT license: MIT
synopsis: Ed25519 cryptographic signatures synopsis: Ed25519 cryptographic signatures
homepage: http://thoughtpolice.github.com/hs-ed25519 homepage: http://thoughtpolice.github.com/hs-ed25519
bug-reports: http://github.com/thoughtpolice/hs-ed25519/issues bug-reports: http://github.com/thoughtpolice/hs-ed25519/issues
license-file: LICENSE.txt license-file: LICENSE.txt
copyright: Copyright (c) Austin Seipp 2013-2015 copyright: Copyright (c) Austin Seipp 2013-2015
author: Austin Seipp author: Austin Seipp
maintainer: Austin Seipp <aseipp@pobox.com> maintainer: Austin Seipp <aseipp@pobox.com>
build-type: Simple build-type: Simple
cabal-version: >=1.10 cabal-version: >=1.10
tested-with: GHC == 7.0.1, GHC == 7.0.2, GHC == 7.0.3, GHC == 7.0.4, 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.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.6.1, GHC == 7.6.2, GHC == 7.6.3,
GHC == 7.8.2, GHC == 7.8.3, GHC == 7.8.4, GHC == 7.8.2, GHC == 7.8.3, GHC == 7.8.4,
GHC == 7.10.1, GHC == 7.10.2 GHC == 7.10.1, GHC == 7.10.2
description: description:
This package provides a simple, fast, self-contained copy of the This package provides a simple, fast, self-contained copy of the
Ed25519 public-key signature system with a clean interface. It also Ed25519 public-key signature system with a clean interface. It also
includes support for detached signatures, and thorough documentation includes support for detached signatures, and thorough documentation
on the design and implementation, including usage guidelines. on the design and implementation, including usage guidelines.
extra-source-files: extra-source-files:
.travis.yml .travis.yml
AUTHORS.txt AUTHORS.txt
README.md README.md
CONTRIBUTING.md CONTRIBUTING.md
CHANGELOG.md CHANGELOG.md
src/cbits/ref10/*.c src/cbits/ref10/*.c
src/cbits/ref10/include/*.h src/cbits/ref10/include/*.h
source-repository head source-repository head
type: git type: git
location: https://github.com/thoughtpolice/hs-ed25519.git location: https://github.com/thoughtpolice/hs-ed25519.git
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
-- Flags -- Flags
flag test-properties flag test-properties
default: True default: True
manual: True manual: True
flag test-hlint flag test-hlint
default: True default: True
manual: True manual: True
flag test-doctests flag test-doctests
default: True default: True
manual: True manual: True
flag no-donna flag no-donna
default: True default: True
manual: True manual: True
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
-- Build pt 1: main project -- Build pt 1: main project
library library
build-depends: build-depends:
ghc-prim >= 0.1 && < 0.10, ghc-prim >= 0.1 && < 0.6,
base >= 4 && < 5, base >= 4 && < 5,
bytestring >= 0.9 && < 0.12 bytestring >= 0.9 && < 0.11
exposed-modules: exposed-modules:
Crypto.Sign.Ed25519 Crypto.Sign.Ed25519
ghc-options: -Wall -fwarn-tabs ghc-options: -Wall -fwarn-tabs
default-language: Haskell2010 default-language: Haskell2010
hs-source-dirs: src hs-source-dirs: src
-- Choose the underlying C implementation -- Choose the underlying C implementation
if flag(no-donna) if flag(no-donna)
-- ref10 implementation from SUPERCOP, about 2x slower than the AMD64 -- ref10 implementation from SUPERCOP, about 2x slower than the AMD64
-- SUPERCOP implementations, 15x faster than ronald3072 for signing. -- SUPERCOP implementations, 15x faster than ronald3072 for signing.
c-sources: src/cbits/ref10/ed25519.c c-sources: src/cbits/ref10/ed25519.c
include-dirs: src/cbits/ref10 src/cbits/ref10/include include-dirs: src/cbits/ref10 src/cbits/ref10/include
else else
-- TODO(aseipp): ed25519-donna import -- TODO(aseipp): ed25519-donna import
buildable: False buildable: False
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
-- Build pt 2: Tests -- Build pt 2: Tests
test-suite properties test-suite properties
type: exitcode-stdio-1.0 type: exitcode-stdio-1.0
main-is: properties.hs main-is: properties.hs
ghc-options: -w ghc-options: -w
hs-source-dirs: tests hs-source-dirs: tests
default-language: Haskell2010 default-language: Haskell2010
if !flag(test-properties) if !flag(test-properties)
buildable: False buildable: False
else else
build-depends: build-depends:
base >= 4 && < 5, base >= 4 && < 5,
bytestring >= 0.9 && < 0.12, bytestring >= 0.9 && < 0.11,
QuickCheck >= 2.4 && < 2.9, QuickCheck >= 2.4 && < 2.9,
ed25519 ed25519
-- --
-- Style/doc tests below -- Style/doc tests below
-- --
test-suite hlint test-suite hlint
type: exitcode-stdio-1.0 type: exitcode-stdio-1.0
main-is: hlint.hs main-is: hlint.hs
hs-source-dirs: tests hs-source-dirs: tests
default-language: Haskell2010 default-language: Haskell2010
if !flag(test-hlint) if !flag(test-hlint)
buildable: False buildable: False
else else
build-depends: build-depends:
base >= 4 && < 5, base >= 4 && < 5,
hlint >= 1.7 && < 1.10 hlint >= 1.7 && < 1.10
test-suite doctests test-suite doctests
type: exitcode-stdio-1.0 type: exitcode-stdio-1.0
main-is: doctests.hs main-is: doctests.hs
hs-source-dirs: tests hs-source-dirs: tests
default-language: Haskell2010 default-language: Haskell2010
if !flag(test-doctests) if !flag(test-doctests)
buildable: False buildable: False
else else
build-depends: build-depends:
base >= 4 && < 5, base >= 4 && < 5,
filepath >= 1.0 && < 1.5, filepath >= 1.0 && < 1.5,
directory >= 1.0 && < 1.3, directory >= 1.0 && < 1.3,
doctest >= 0.10 && < 0.12 doctest >= 0.10 && < 0.12
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
-- Build pt 3: benchmarks -- Build pt 3: benchmarks
benchmark bench benchmark bench
type: exitcode-stdio-1.0 type: exitcode-stdio-1.0
build-depends: build-depends:
base >= 4 && < 5, base >= 4 && < 5,
bytestring >= 0.9 && < 0.12, bytestring >= 0.9 && < 0.11,
criterion >= 0.8 && < 1.2, criterion >= 0.8 && < 1.2,
deepseq >= 1.3 && < 1.5, deepseq >= 1.3 && < 1.5,
ed25519 ed25519
default-language: Haskell2010 default-language: Haskell2010
hs-source-dirs: benchmarks hs-source-dirs: benchmarks
main-is: bench.hs main-is: bench.hs

View File

@ -1,5 +1,5 @@
# generated by cabal-rpm-2.1.0 # generated by cabal-rpm-1.0.1
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ # https://fedoraproject.org/wiki/Packaging:Haskell
%global pkg_name ed25519 %global pkg_name ed25519
%global pkgver %{pkg_name}-%{version} %global pkgver %{pkg_name}-%{version}
@ -8,7 +8,7 @@
Name: ghc-%{pkg_name} Name: ghc-%{pkg_name}
Version: 0.0.5.0 Version: 0.0.5.0
Release: %autorelease Release: 14%{?dist}
Summary: Ed25519 cryptographic signatures Summary: Ed25519 cryptographic signatures
License: MIT License: MIT
@ -21,12 +21,8 @@ Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#
# Begin cabal-rpm deps: # Begin cabal-rpm deps:
BuildRequires: ghc-Cabal-devel BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros BuildRequires: ghc-rpm-macros
BuildRequires: ghc-base-devel
BuildRequires: ghc-bytestring-devel
%if %{with ghc_prof}
BuildRequires: ghc-base-prof BuildRequires: ghc-base-prof
BuildRequires: ghc-bytestring-prof BuildRequires: ghc-bytestring-prof
%endif
%if %{with tests} %if %{with tests}
BuildRequires: ghc-QuickCheck-devel BuildRequires: ghc-QuickCheck-devel
BuildRequires: ghc-directory-devel BuildRequires: ghc-directory-devel
@ -59,8 +55,6 @@ This package provides the Haskell %{pkg_name} library development files.
%if %{with haddock} %if %{with haddock}
%package doc %package doc
Summary: Haskell %{pkg_name} library documentation Summary: Haskell %{pkg_name} library documentation
BuildArch: noarch
Requires: ghc-filesystem
%description doc %description doc
This package provides the Haskell %{pkg_name} library documentation. This package provides the Haskell %{pkg_name} library documentation.
@ -71,7 +65,6 @@ This package provides the Haskell %{pkg_name} library documentation.
%package prof %package prof
Summary: Haskell %{pkg_name} profiling library Summary: Haskell %{pkg_name} profiling library
Requires: %{name}-devel%{?_isa} = %{version}-%{release} Requires: %{name}-devel%{?_isa} = %{version}-%{release}
Supplements: (%{name}-devel and ghc-prof)
%description prof %description prof
This package provides the Haskell %{pkg_name} profiling library. This package provides the Haskell %{pkg_name} profiling library.
@ -98,9 +91,7 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal
%check %check
%if %{with tests}
%cabal_test %cabal_test
%endif
%files -f %{name}.files %files -f %{name}.files
@ -115,7 +106,6 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal
%if %{with haddock} %if %{with haddock}
%files doc -f %{name}-doc.files %files doc -f %{name}-doc.files
%license LICENSE.txt
%endif %endif
@ -125,4 +115,32 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal
%changelog %changelog
%autochangelog * Thu Aug 01 2019 Jens Petersen <petersen@redhat.com> - 0.0.5.0-14
- add doc and prof subpackages (cabal-rpm-1.0.0)
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.5.0-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 0.0.5.0-12
- refresh to cabal-rpm-0.13
* Sat Feb 16 2019 Jens Petersen <petersen@redhat.com> - 0.0.5.0-11
- use revised .cabal file
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.5.0-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.5.0-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.5.0-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Fri Jan 26 2018 Jens Petersen <petersen@redhat.com> - 0.0.5.0-7
- rebuild
* Fri Oct 6 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.0.5.0-6
- Bump release to be newer than existing bundled version.
* Thu Oct 5 2017 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 0.0.5.0-1
- spec file generated by cabal-rpm-0.11.2