Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ghc-crypton for openSUSE:Factory 
checked in at 2026-11-24 12:27:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-crypton (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-crypton.new.1340718 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-crypton"

Tue Nov 24 12:27:36 2026 rev:10 rq:1399128 version:2.2.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-crypton/ghc-crypton.changes  2026-11-06 
19:54:48.935240759 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-crypton.new.1340718/ghc-crypton.changes     
2026-11-24 12:32:21.074496466 +0100
@@ -1,0 +2,730 @@
+Wed Nov 18 09:44:07 UTC 2026 - Peter Simons <[email protected]>
+
+- Update crypton to version 2.2.7 revision 1.
+  ## 2.2.7
+
+  Fixes from the 2026-11 review, backported from the 2.3 series.  Salsa now
+  refuses a 96-bit nonce (#379), and KeyedBlake2 uses a key longer than the
+  digest whole instead of truncating it, refusing one past the BLAKE2 maximum
+  (#382).
+
+  * fix(blake2): treat an empty MAC key as the unkeyed hash
+    [#371](https://github.com/kazu-yamamoto/crypton/pull/371)
+  * fix(whirlpool): count bits in 64 bits so 256 MiB updates are hashed
+    [#372](https://github.com/kazu-yamamoto/crypton/pull/372)
+  * fix(ocb): carry the block index across incremental calls
+    [#373](https://github.com/kazu-yamamoto/crypton/pull/373)
+  * fix: low-severity issues from the 2026-11 audit
+    [#374](https://github.com/kazu-yamamoto/crypton/pull/374)
+  * fix: check the IV length in AES CBC/XTS
+    [#375](https://github.com/kazu-yamamoto/crypton/pull/375)
+  * fix(entropy): refuse a negative length instead of writing past an empty 
buffer
+    [#376](https://github.com/kazu-yamamoto/crypton/pull/376)
+  * fix(chachapoly1305): stop incrementNonce's carry at the end of the nonce
+    [#377](https://github.com/kazu-yamamoto/crypton/pull/377)
+  * fix(cast5): refuse ECB input that is not whole blocks
+    [#378](https://github.com/kazu-yamamoto/crypton/pull/378)
+  * fix(salsa): refuse a 96-bit nonce
+    [#379](https://github.com/kazu-yamamoto/crypton/pull/379)
+  * fix(hash): keep hashFinalizePrefix's lengths inside 32 bits
+    [#380](https://github.com/kazu-yamamoto/crypton/pull/380)
+  * fix(ecc): hide the P-384/P-521 scalar in Show
+    [#381](https://github.com/kazu-yamamoto/crypton/pull/381)
+  * fix(keyed-blake2): take keys up to the BLAKE2 maximum, not the digest size
+    [#382](https://github.com/kazu-yamamoto/crypton/pull/382)
+  * fix(elgamal): refuse c1 of 1 or p-1 in decrypt
+    [#383](https://github.com/kazu-yamamoto/crypton/pull/383)
+  * fix(chachapoly1305): pad the AEAD header once, not after each piece
+    [#384](https://github.com/kazu-yamamoto/crypton/pull/384)
+  * fix(cabal): leave the extension paths out without use_target_attributes
+    [#385](https://github.com/kazu-yamamoto/crypton/pull/385)
+  * Require the bcrypt cost to be two digits
+    [#388](https://github.com/kazu-yamamoto/crypton/pull/388)
+
+  ## 2.2.6
+
+  **Fixes from a security review.**  Inputs that are invalid by the
+  specifications are now refused rather than accepted: an OCB IV longer than
+  15 bytes (#357), a P-384 or P-521 point whose coordinates are not of fixed
+  length (#362), and a CCM message given in pieces or with AAD twice (#356).
+
+  * perf(rsa): verification at 3072 and 4096 bits in C on x86-64
+    [#348](https://github.com/kazu-yamamoto/crypton/pull/348)
+  * Scrypt: refuse parameters that overrun the working memory
+    [#354](https://github.com/kazu-yamamoto/crypton/pull/354)
+  * AArch64 one-shot GCM: loops wrap near 4 GiB
+    [#355](https://github.com/kazu-yamamoto/crypton/pull/355)
+  * AES-CCM: fail the context on a length mismatch or repeated AAD
+    [#356](https://github.com/kazu-yamamoto/crypton/pull/356)
+  * AES-OCB: refuse an IV outside 1 to 15 bytes in aeadInit
+    [#357](https://github.com/kazu-yamamoto/crypton/pull/357)
+  * AES-GCM-SIV: give Nothing for a tag that is not 16 bytes
+    [#358](https://github.com/kazu-yamamoto/crypton/pull/358)
+  * Hash: feed every update through updateBlocks
+    [#359](https://github.com/kazu-yamamoto/crypton/pull/359)
+  * PBKDF2: refuse iteration counts the fast path cannot take
+    [#360](https://github.com/kazu-yamamoto/crypton/pull/360)
+  * ECC: decode P-384 and P-521 points only at their fixed length
+    [#362](https://github.com/kazu-yamamoto/crypton/pull/362)
+  * P-256: negating the point at infinity gives the point at infinity
+    [#363](https://github.com/kazu-yamamoto/crypton/pull/363)
+  * P-256: a zero scalar lifts to the point at infinity
+    [#364](https://github.com/kazu-yamamoto/crypton/pull/364)
+  * RSA: recompute without CRT even when the key carries no d
+    [#365](https://github.com/kazu-yamamoto/crypton/pull/365)
+  * fix: lengths of 4 GiB or more in ChaChaDRG and Argon2
+    [#366](https://github.com/kazu-yamamoto/crypton/pull/366)
+  * fix(rsa): IFMA table select reads every entry in full
+    [#367](https://github.com/kazu-yamamoto/crypton/pull/367)
+  * fix(gcm): refuse incremental input past 2^36 - 32 bytes
+    [#368](https://github.com/kazu-yamamoto/crypton/pull/368)
+  * fix: doubling in GF(2^n) without branching on secret bits
+    [#369](https://github.com/kazu-yamamoto/crypton/pull/369)
+
+  ## 2.2.5
+
+  **RSA private-key operations check their CRT result.**  A fault in one
+  half of the computation could hand out a signature that reveals a prime of
+  the key; the result is now raised back to the public exponent first, as
+  OpenSSL does, at a cost of two or three per cent on signing.
+
+  * perf(rsa): verification in C at every RSA size on Apple AArch64
+    [#340](https://github.com/kazu-yamamoto/crypton/pull/340)
+  * perf(rsa): a generated squaring at 48 limbs on AArch64
+    [#341](https://github.com/kazu-yamamoto/crypton/pull/341)
+  * perf(rsa): verification without lists or Integer round trips
+    [#342](https://github.com/kazu-yamamoto/crypton/pull/342)
+  * ci: time out instead of waiting on a stalled package mirror
+    [#343](https://github.com/kazu-yamamoto/crypton/pull/343)
+  * fix(rsa): check the CRT result before letting it out
+    [#344](https://github.com/kazu-yamamoto/crypton/pull/344)
+  * perf(hash): one context for a one-shot hash and for MGF1
+    [#345](https://github.com/kazu-yamamoto/crypton/pull/345)
+  * perf(rsa): RSA-3072's 24-limb square from 8-limb pieces on x86-64
+    [#346](https://github.com/kazu-yamamoto/crypton/pull/346)
+
+  ## 2.2.4
+
+  **New module `Crypto.PubKey.RSA.Blinded`.**  A `BlindedKey` carries RSA
+  blinding from one signature or decryption to the next.  The existing
+  `*Safer` functions use it through a small process-wide table, and
+  verification keeps R^2 per modulus in another.
+
+  * perf(rsa): keep the blinding between operations
+    [#335](https://github.com/kazu-yamamoto/crypton/pull/335)
+  * perf(rsa): a generated Montgomery multiplication for AArch64
+    [#336](https://github.com/kazu-yamamoto/crypton/pull/336)
+  * fix: the C warnings CI reports
+    [#337](https://github.com/kazu-yamamoto/crypton/pull/337)
+  * perf(rsa): both CRT halves at once with AVX-512 IFMA
+    [#338](https://github.com/kazu-yamamoto/crypton/pull/338)
+  * perf(rsa): keep R^2 per modulus for verification
+    [#339](https://github.com/kazu-yamamoto/crypton/pull/339)
+
+  ## 2.2.3
+
+  **crypton builds on Windows again.**  2.2.2's tarball lacked a header that
+  only Windows includes, so it built from git but not from Hackage.  With
+  2.2.2, `-f-support_s2n_bignum` works around it.
+
+  * bench: RSA-3072 in the tables
+    [#331](https://github.com/kazu-yamamoto/crypton/pull/331)
+  * perf(rsa): a generated Montgomery squaring for AArch64
+    [#333](https://github.com/kazu-yamamoto/crypton/pull/333)
+  * fix: ship the Windows wrapper for s2n-bignum
+    [#334](https://github.com/kazu-yamamoto/crypton/pull/334)
+
+  ## 2.2.2
+
+  **crypton builds on an Intel Mac again.**  From 2.1.2 onwards, Apple's
+  assembler rejected one of the vendored RSA assembly files, so the default
+  configuration did not build on x86-64 macOS.  With an older release,
+  `-f-support_s2n_bignum` works around it.
+
+  * doc: the Ed25519 verify step was the AVX2 flag, and the tables move to 
2.2.1
+    [#318](https://github.com/kazu-yamamoto/crypton/pull/318)
+  * test: the window the exponentiation walks in, and the macro that hid it
+    [#319](https://github.com/kazu-yamamoto/crypton/pull/319)
+  * perf: the Montgomery constant in assembly, on both architectures
+    [#320](https://github.com/kazu-yamamoto/crypton/pull/320)
+  * perf: verification need not hide an exponent that is public
+    [#321](https://github.com/kazu-yamamoto/crypton/pull/321)
+  * doc: the generic AArch64 routines, measured at last
+    [#322](https://github.com/kazu-yamamoto/crypton/pull/322)
+  * doc: a VM's CPUID is not the hardware: two descriptions that said otherwise
+    [#323](https://github.com/kazu-yamamoto/crypton/pull/323)
+  * test: switches to assume what CPUID hides, for testing only
+    [#324](https://github.com/kazu-yamamoto/crypton/pull/324)
+  * perf: RSA-3072's halves through s2n-bignum on x86-64
+    [#325](https://github.com/kazu-yamamoto/crypton/pull/325)
+  * perf: 3072- and 4096-bit secure exponentiation through s2n-bignum
+    [#326](https://github.com/kazu-yamamoto/crypton/pull/326)
+  * test: the two AES differential tests, in CI
+    [#327](https://github.com/kazu-yamamoto/crypton/pull/327)
+  * perf: s2n-bignum on x86-64 Windows
+    [#328](https://github.com/kazu-yamamoto/crypton/pull/328)
+  * fix: crypton builds on an Intel Mac again
+    [#329](https://github.com/kazu-yamamoto/crypton/pull/329)
+  * ci: link with the Command Line Tools on macOS
+    [#330](https://github.com/kazu-yamamoto/crypton/pull/330)
+
+  ## 2.2.1
+
+  **A binary built on one x86-64 machine runs on another again.**  Since
+  2.1.8 the `-mavx2 -mbmi2` written for the ML-KEM and ML-DSA backends have
+  been compiling every C file in the library -- `cc-options` in a conditional
+  block belong to the component, not to the block -- so the compiler put AVX2
+  and BMI2 into ordinary code that has no dispatch and asks nothing at
+  runtime: Ed25519, Argon2, Curve25519, P-256, Ed448, and the older hashes
+  among them.  A binary built where AVX2 exists then died with `SIGILL` where
+  it does not, in Ed25519 rather than in anything post-quantum.
+
+  The two backends also chose their implementation when the library was
+  compiled and called it unchecked.  They ask the processor now, as everything
+  else in crypton that uses an instruction beyond the baseline already did,
+  and fall back to the portable C where the answer is no.  AArch64 asks about
+  the ARMv8.4 Keccak instructions for the same reason.
+
+  Nothing in the API changes.
+
+  * fix: stop raising the x86-64 baseline for the whole library
+    [#317](https://github.com/kazu-yamamoto/crypton/pull/317)
+  * fix: ask the processor before using the ML-KEM and ML-DSA backends
+    [#317](https://github.com/kazu-yamamoto/crypton/pull/317)
+  * test(ct): link the processor check into the ML-KEM backend build
+    [#317](https://github.com/kazu-yamamoto/crypton/pull/317)
+
+  ## 2.2.0
+
+  `ProcessorOption` is no longer a sum of constructors.  It is a number with
+  pattern synonyms for the names it knows, so it has `Ord` now and has lost
+  `Enum` and `Data`, and a `case` over the names needs a catch-all.  `RDRAND`
+  is gone from it, and with it the `support_rdrand` flag.  An AArch64 machine
+  reports `ARMAES` and `ARMPMULL` where it used to report `AESNI` and `PCLMUL`.
+
+  Two more things change under a caller without the type checker saying so:
+  `MonadRandom IO` draws from a per-thread generator rather than reading the
+  system on every call, and a missing or failing entropy source raises
+  `EntropyError` rather than an `ErrorCall` or an `IOException`.
+
+  * feat: take entropy from the kernel without a file descriptor
+    [#300](https://github.com/kazu-yamamoto/crypton/pull/300)
+  * feat: a ChaCha20 generator per operating system thread
+    [#300](https://github.com/kazu-yamamoto/crypton/pull/300)
+  * feat: MonadRandom IO goes through the per-thread generator
+    [#300](https://github.com/kazu-yamamoto/crypton/pull/300)
+  * fix: say that the system gave no entropy, rather than error
+    [#300](https://github.com/kazu-yamamoto/crypton/pull/300)
+  * fix: stop using RDRAND at all, since it cannot add anything
+    [#300](https://github.com/kazu-yamamoto/crypton/pull/300)
+  * feat: name every processor feature crypton dispatches on, not three of them
+    [#302](https://github.com/kazu-yamamoto/crypton/pull/302)
+  * fix: an AArch64 machine no longer reports AESNI and PCLMUL
+    [#302](https://github.com/kazu-yamamoto/crypton/pull/302)
+  * chore(rsa): deprecate `sign`, `signSafer` and `verify` in favour of them
+    [#305](https://github.com/kazu-yamamoto/crypton/pull/305)
+  * fix: compute the portable AES and GHASH without a table
+    [#308](https://github.com/kazu-yamamoto/crypton/pull/308)
+  * feat: use the AES instructions on 32-bit ARM
+    [#309](https://github.com/kazu-yamamoto/crypton/pull/309)
+  * test: skip the accelerated constant-time driver where the processor has no 
instructions
+    [#310](https://github.com/kazu-yamamoto/crypton/pull/310)
+  * feat: use the POWER8 AES and GHASH instructions on ppc64le
+    [#311](https://github.com/kazu-yamamoto/crypton/pull/311)
+  * test: the big-endian harness now asks about AES
+    [#312](https://github.com/kazu-yamamoto/crypton/pull/312)
+  * doc(tutorial): compile the examples, and teach the things people come for
+    [#313](https://github.com/kazu-yamamoto/crypton/pull/313)
+
+  ## 2.1.10
+
+  * build: ask the processor for AES-NI on every x86 system, not four of them
+    [#307](https://github.com/kazu-yamamoto/crypton/pull/307)
+  * fix: ask one place which ARMv8 instruction sets the machine has
+    [#307](https://github.com/kazu-yamamoto/crypton/pull/307)
+
+  ## 2.1.9
+
+  * feat(rsa): PKCS#1 v1.5 operations that take a digest, and ones that take a 
DigestInfo
+    [#305](https://github.com/kazu-yamamoto/crypton/pull/305)
+  * feat(dsa): sign and verify over a digest
+    [#305](https://github.com/kazu-yamamoto/crypton/pull/305)
+  * feat(elgamal): sign and verify over a digest
+    [#305](https://github.com/kazu-yamamoto/crypton/pull/305)
+  * feat(rabin): Rabin-Williams and Modified Rabin sign and verify over a 
digest
+    [#305](https://github.com/kazu-yamamoto/crypton/pull/305)
+
+  ## 2.1.8
+
+  * chore: stop hiding foldl' from Prelude
+    [#294](https://github.com/kazu-yamamoto/crypton/pull/294)
+  * chore: ask for hidden visibility only where the format has it
+    [#295](https://github.com/kazu-yamamoto/crypton/pull/295)
+  * feat: ML-KEM and ML-DSA, through mlkem-native and mldsa-native
+    [#297](https://github.com/kazu-yamamoto/crypton/pull/297)
+
+  ## 2.1.7
+
+  RSA-PSS verification was accepting an encoding RFC 8017 says to refuse.  It
+  is a conformance fault rather than a forgery: producing such a signature 
takes
+  the private key, so a third party holding a valid signature cannot turn it
+  into one of these.
+
+  * chore(p256): drop two declarations nothing defines
+    [#292](https://github.com/kazu-yamamoto/crypton/pull/292)
+  * fix(pss): refuse an encoding with a bit set outside emBits
+    [#293](https://github.com/kazu-yamamoto/crypton/pull/293)
+
+  ## 2.1.6
+
+  The `license:` field now says what the tree holds -- `BSD-3-Clause AND MIT
+  AND ISC` -- and `license-files:` lists all five texts.  **Nothing is required
+  of a user that was not required before**; the field was simply incomplete.
+
+  * Carry the MIT notice for the parts that follow fusion, and say what the 
tree holds
+    [#267](https://github.com/kazu-yamamoto/crypton/pull/267)
+  * fix: two preconditions the Haskell layer did not enforce
+    [#288](https://github.com/kazu-yamamoto/crypton/pull/288)
+  * fix(x86): stop casting a packed block to __m128i *
+    [#289](https://github.com/kazu-yamamoto/crypton/pull/289)
+  * fix(c): say that the digest pointers are never null
+    [#290](https://github.com/kazu-yamamoto/crypton/pull/290)
+  * fix(pbkdf2): refuse a digest larger than its block at compile time
+    [#291](https://github.com/kazu-yamamoto/crypton/pull/291)
+
+  ## 2.1.5
+
+  2.1.3 and 2.1.4 cannot be built with GCC 14 or newer.  This release is
++++ 433 more lines (skipped)
++++ between /work/SRC/openSUSE:Factory/ghc-crypton/ghc-crypton.changes
++++ and /work/SRC/openSUSE:Factory/.ghc-crypton.new.1340718/ghc-crypton.changes

Old:
----
  crypton-1.1.5.tar.gz

New:
----
  crypton-2.2.7.tar.gz
  crypton.cabal

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc-crypton.spec ++++++
--- /var/tmp/diff_new_pack.2SzyEo/_old  2026-11-24 12:32:23.671606425 +0100
+++ /var/tmp/diff_new_pack.2SzyEo/_new  2026-11-24 12:32:23.677606679 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-crypton
 #
-# Copyright (c) 2026 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,71 +17,51 @@
 
 
 %global pkg_name crypton
-%global pkgver %{pkg_name}-%{version}
+%bcond_with ghc_prof
 %bcond_with tests
-Name:           ghc-%{pkg_name}
-Version:        1.1.5
+Name:           ghc-%pkg_name
+Version:        2.2.7
 Release:        0
-Summary:        Cryptography Primitives sink
-License:        BSD-3-Clause
-URL:            https://hackage.haskell.org/package/%{pkg_name}
-Source0:        
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
+%global pkgver %pkg_name-%{version}
+Summary:        Cryptography Primitives
+License:        BSD-3-Clause AND MIT AND ISC
+URL:            https://hackage.haskell.org/package/%pkg_name
+Source0:        
https://hackage.haskell.org/package/%pkg_name-%{version}/%pkg_name-%{version}.tar.gz
+Source1:        
https://hackage.haskell.org/package/%pkg_name-%{version}/revision/1.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-base-devel
-BuildRequires:  ghc-base-prof
 BuildRequires:  ghc-base16-devel
-BuildRequires:  ghc-base16-prof
 BuildRequires:  ghc-bytestring-devel
-BuildRequires:  ghc-bytestring-prof
 BuildRequires:  ghc-deepseq-devel
-BuildRequires:  ghc-deepseq-prof
 BuildRequires:  ghc-primitive-devel
-BuildRequires:  ghc-primitive-prof
 BuildRequires:  ghc-ram-devel
-BuildRequires:  ghc-ram-prof
-BuildRequires:  ghc-rpm-macros
+BuildRequires:  ghc-rpm-macros >= 2.9.2
 BuildRequires:  ghc-text-devel
-BuildRequires:  ghc-text-prof
 ExcludeArch:    %{ix86}
+%if %{with ghc_prof}
+BuildRequires:  ghc-base-prof
+BuildRequires:  ghc-base16-prof
+BuildRequires:  ghc-bytestring-prof
+BuildRequires:  ghc-deepseq-prof
+BuildRequires:  ghc-primitive-prof
+BuildRequires:  ghc-ram-prof
+BuildRequires:  ghc-text-prof
+%endif
 %if %{with tests}
-BuildRequires:  ghc-tasty-devel
-BuildRequires:  ghc-tasty-hunit-devel
-BuildRequires:  ghc-tasty-hunit-prof
-BuildRequires:  ghc-tasty-kat-devel
-BuildRequires:  ghc-tasty-kat-prof
-BuildRequires:  ghc-tasty-prof
-BuildRequires:  ghc-tasty-quickcheck-devel
-BuildRequires:  ghc-tasty-quickcheck-prof
+BuildRequires:  ghc-QuickCheck-devel
+BuildRequires:  ghc-hspec-devel
+BuildRequires:  ghc-unix-devel
+%if %{with ghc_prof}
+BuildRequires:  ghc-QuickCheck-prof
+BuildRequires:  ghc-hspec-prof
+BuildRequires:  ghc-unix-prof
+%endif
 %endif
 
 %description
-A repository of cryptographic primitives.
-
-* Symmetric ciphers: AES, DES, 3DES, CAST5, Blowfish, Twofish, Camellia, RC4,
-Salsa, XSalsa, ChaCha.
-
-* Hash: SHA1, SHA2, SHA3, SHAKE, MD2, MD4, MD5, Keccak, Skein, Ripemd, Tiger,
-Whirlpool, Blake2
-
-* MAC: HMAC, KMAC, Poly1305
-
-* Asymmetric crypto: DSA, RSA, DH, ECDH, ECDSA, ECC, Curve25519, Curve448,
-Ed25519, Ed448
-
-* Key Derivation Function: PBKDF2, Scrypt, HKDF, Argon2, BCrypt, BCryptPBKDF
-
-* Cryptographic Random generation: System Entropy, Deterministic Random
-Generator
-
-* Data related: Anti-Forensic Information Splitter (AFIS)
-
-If anything cryptographic related is missing from here, submit a pull request
-to have it added. This package strives to be a cryptographic kitchen sink that
-provides cryptography for everyone.
-
-Evaluate the security related to your requirements before using.
-
-Read "Crypto.Tutorial" for a quick start guide.
+`crypton` is a low-level cryptography library. To achieve high performance, it
+utilizes C and assembly language to define FFI bindings, structuring them in a
+way that makes them easy to use.
 
 %package devel
 Summary:        Haskell %{pkg_name} library development files
@@ -93,24 +73,28 @@
 %description devel
 This package provides the Haskell %{pkg_name} library development files.
 
-%package -n ghc-%{pkg_name}-doc
+%package -n ghc-%pkg_name-doc
 Summary:        Haskell %{pkg_name} library documentation
 Requires:       ghc-filesystem
 BuildArch:      noarch
 
-%description -n ghc-%{pkg_name}-doc
+%description -n ghc-%pkg_name-doc
 This package provides the Haskell %{pkg_name} library documentation.
 
-%package -n ghc-%{pkg_name}-prof
+%if %{with ghc_prof}
+%package -n ghc-%pkg_name-prof
 Summary:        Haskell %{pkg_name} profiling library
-Requires:       ghc-%{pkg_name}-devel = %{version}-%{release}
-Supplements:    (ghc-%{pkg_name}-devel and ghc-prof)
+Requires:       ghc-%pkg_name-devel = %{version}-%{release}
+Supplements:    (ghc-%pkg_name-devel and ghc-prof)
 
-%description -n ghc-%{pkg_name}-prof
+%description -n ghc-%pkg_name-prof
 This package provides the Haskell %{pkg_name} profiling library.
+%endif
+
 
 %prep
-%autosetup -n %{pkg_name}-%{version}
+%autosetup -p1 -n %pkg_name-%{version}
+cp -p %{SOURCE1} %pkg_name.cabal
 
 %build
 %ghc_lib_build
@@ -129,12 +113,28 @@
 
 %files -f %{name}.files
 %license LICENSE
+%license cbits/LICENSE.go
+%license cbits/aes/LICENSE.fusion
+%license cbits/asm/LICENSE.cryptogams
+%license cbits/s2n/LICENSE
+%license cbits/bearssl/LICENSE
+%license cbits/mlkem/LICENSE
+%license cbits/mldsa/LICENSE
 
 %files devel -f %{name}-devel.files
 %doc CHANGELOG.md README.md
 
-%files -n ghc-%{pkg_name}-doc -f ghc-%{pkg_name}-doc.files
+%files -n ghc-%pkg_name-doc -f ghc-%pkg_name-doc.files
 %license LICENSE
+%license cbits/LICENSE.go
+%license cbits/aes/LICENSE.fusion
+%license cbits/asm/LICENSE.cryptogams
+%license cbits/s2n/LICENSE
+%license cbits/bearssl/LICENSE
+%license cbits/mlkem/LICENSE
+%license cbits/mldsa/LICENSE
 
-%files -n ghc-%{pkg_name}-prof -f ghc-%{pkg_name}-prof.files
+%if %{with ghc_prof}
+%files -n ghc-%pkg_name-prof -f ghc-%pkg_name-prof.files
+%endif
 

++++++ crypton-1.1.5.tar.gz -> crypton-2.2.7.tar.gz ++++++
++++ 463147 lines of diff (skipped)

++++++ crypton.cabal ++++++
++++ 1153 lines (skipped)

Reply via email to