Bug 2346266 - Review Request: libsecp256k1-abc - Optimized C library for EC operations on curve secp256k1
Summary: Review Request: libsecp256k1-abc - Optimized C library for EC operations on c...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Peter Lemenkov
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-02-18 14:55 UTC by Jonny Heggheim
Modified: 2025-03-15 00:34 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-03-07 02:23:16 UTC
Type: ---
Embargoed:
lemenkov: fedora-review+


Attachments (Terms of Use)

Description Jonny Heggheim 2025-02-18 14:55:03 UTC
Spec URL: https://jonny.fedorapeople.org/libsecp256k1-abc.spec
SRPM URL: https://jonny.fedorapeople.org/libsecp256k1-abc-0.27.1-2.fc41.src.rpm

Description:
Optimized C library for EC operations on curve secp256k1.

Includes support for Schnorr signature.

Uses the implementation maintained by Bitcoin-ABC.

Fedora Account System Username: jonny

Comment 1 Jonny Heggheim 2025-02-18 14:55:06 UTC
This package built on koji:  https://koji.fedoraproject.org/koji/taskinfo?taskID=129377235

Comment 2 Peter Lemenkov 2025-02-27 13:40:49 UTC
I'll review it.

Comment 3 Peter Lemenkov 2025-02-27 15:18:43 UTC
LGTM. Here is my formal 

Package Review
==============

Legend:
[x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated
[ ] = Manual review needed

===== MUST items =====

C/C++:
[x]: Package does not contain kernel modules.
[x]: If your application is a C or C++ application you must list a
     BuildRequires against gcc, gcc-c++ or clang.
[x]: Header files in -devel subpackage, if present.
[x]: ldconfig not called in %post and %postun for Fedora 28 and later.
[x]: Package does not contain any libtool archives (.la)
[x]: Package contains no static executables.
[x]: Rpath absent or only used for internal libs.
[x]: Development (unversioned) .so files in -devel subpackage, if present.

Generic:
[x]: Package is licensed with an open-source compatible license and meets
     other legal requirements as defined in the legal section of Packaging
     Guidelines.
[x]: License field in the package spec file matches the actual license (MIT).
[x]: License file installed when any subpackage combination is installed.
[x]: %build honors applicable compiler flags or justifies otherwise.
[x]: Package contains no bundled libraries without FPC exception.
[x]: Changelog in prescribed format.
[x]: Sources contain only permissible code or content.
[-]: Package does no contain desktop file (not a GUI application).
[x]: Development files stored in a -devel package
[x]: Package uses nothing in %doc for runtime.
[x]: Package consistently uses macros (instead of hard-coded directory
     names).
[x]: Package is named according to the Package Naming Guidelines.
[!]: Unfortunately the package conflicts with another one. That's intentional.
[x]: Package obeys FHS, except libexecdir and /usr/target.
[-]: If the package is not a rename of another package.
[x]: Requires correct, justified where necessary.
[x]: Spec file is legible and written in American English.
[-]: Package does not contain systemd file(s).
[x]: Useful -debuginfo package or justification otherwise.
[x]: Package is not known to require an ExcludeArch tag.
[-]: No extremely large documentation files.
[x]: Package complies to the Packaging Guidelines
[x]: Package successfully compiles and builds into binary rpms on at least
     one supported primary architecture.
[x]: Package installs properly.
[x]: Rpmlint is run on all rpms the build produces.
     Note: No rpmlint messages.
[x]: If (and only if) the source package includes the text of the
     license(s) in its own file, then that file, containing the text of the
     license(s) for the package is included in %license.
[x]: The License field must be a valid SPDX expression.
[x]: Package requires other packages for directories it uses.
[x]: Package must own all directories that it creates.
[x]: Package does not own files or directories owned by other packages.
[x]: Package uses either %{buildroot} or $RPM_BUILD_ROOT
[x]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
     beginning of %install.
[x]: Macros in Summary, %description expandable at SRPM build time.
[x]: Dist tag is present.
[x]: Package does not contain duplicates in %files.
[x]: Permissions on files are set properly.
[x]: Package must not depend on deprecated() packages.
[x]: Package use %makeinstall only when make install DESTDIR=... doesn't
     work.
[x]: Package is named using only allowed ASCII characters.
[x]: Package does not use a name that already exists.
[x]: Package is not relocatable.
[x]: Sources used to build the package match the upstream source, as
     provided in the spec URL.
[x]: Spec file name must match the spec package %{name}, in the format
     %{name}.spec.
[x]: File names are valid UTF-8.
[x]: Packages must not store files under /srv, /opt or /usr/local

===== SHOULD items =====

Generic:
[-]: If the source package does not include license text(s) as a separate
     file from upstream, the packager SHOULD query upstream to include it.
[x]: Final provides and requires are sane (see attachments).
[?]: I did not test if the package functions as described.
[x]: Latest version is packaged (0.27.1).
[x]: Package does not include license text files separate from upstream.
[-]: Sources weren't verified with gpgverify first.
[x]: Package compiles and builds into binary rpms on all supported
     architectures.
[x]: %check is present and all tests pass.
[x]: Packages should try to preserve timestamps of original installed
     files.
[x]: Reviewer should test that the package builds in mock.
[x]: Buildroot is not present
[x]: Package has no %clean section with rm -rf %{buildroot} (or
     $RPM_BUILD_ROOT)
[x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
[x]: Fully versioned dependency in subpackages if applicable.
[x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file
[x]: The placement of pkgconfig(.pc) files are correct.
[x]: Sources can be downloaded from URI in Source: tag
[x]: SourceX is a working URL.
[x]: Spec use %global instead of %define unless justified.

===== EXTRA items =====

Generic:
[x]: Rpmlint is run on debuginfo package(s).
     Note: No rpmlint messages.
[x]: Rpmlint is run on all installed packages.
     Note: No rpmlint messages.
[x]: Large data in /usr/share should live in a noarch subpackage if package
     is arched.
[x]: Package should not use obsolete m4 macros
[x]: Spec file according to URL is the same as in SRPM.


Rpmlint
-------
Checking: libsecp256k1-abc-0.27.1-2.fc43.x86_64.rpm
          libsecp256k1-abc-devel-0.27.1-2.fc43.x86_64.rpm
          libsecp256k1-abc-0.27.1-2.fc43.src.rpm
============================ rpmlint session starts ============================
rpmlint: 2.6.1
configuration:
    /usr/lib/python3.13/site-packages/rpmlint/configdefaults.toml
    /etc/xdg/rpmlint/fedora-spdx-licenses.toml
    /etc/xdg/rpmlint/fedora.toml
    /etc/xdg/rpmlint/scoring.toml
    /etc/xdg/rpmlint/users-groups.toml
    /etc/xdg/rpmlint/warn-on-functions.toml
rpmlintrc: [PosixPath('/tmp/tmp777pd59t')]
checks: 32, packages: 3

 3 packages and 0 specfiles checked; 0 errors, 0 warnings, 20 filtered, 0 badness; has taken 0.3 s 




Rpmlint (debuginfo)
-------------------
Checking: libsecp256k1-abc-debuginfo-0.27.1-2.fc43.x86_64.rpm
============================ rpmlint session starts ============================
rpmlint: 2.6.1
configuration:
    /usr/lib/python3.13/site-packages/rpmlint/configdefaults.toml
    /etc/xdg/rpmlint/fedora-spdx-licenses.toml
    /etc/xdg/rpmlint/fedora.toml
    /etc/xdg/rpmlint/scoring.toml
    /etc/xdg/rpmlint/users-groups.toml
    /etc/xdg/rpmlint/warn-on-functions.toml
rpmlintrc: [PosixPath('/tmp/tmpk3i95osv')]
checks: 32, packages: 1

 1 packages and 0 specfiles checked; 0 errors, 0 warnings, 4 filtered, 0 badness; has taken 0.1 s 





Rpmlint (installed packages)
----------------------------
============================ rpmlint session starts ============================
rpmlint: 2.7.0
configuration:
    /usr/lib/python3.13/site-packages/rpmlint/configdefaults.toml
    /etc/xdg/rpmlint/fedora-spdx-licenses.toml
    /etc/xdg/rpmlint/fedora.toml
    /etc/xdg/rpmlint/scoring.toml
    /etc/xdg/rpmlint/users-groups.toml
    /etc/xdg/rpmlint/warn-on-functions.toml
checks: 32, packages: 3

 3 packages and 0 specfiles checked; 0 errors, 0 warnings, 21 filtered, 0 badness; has taken 0.4 s 



Source checksums
----------------
https://github.com/Bitcoin-ABC/secp256k1/archive/v0.27.1/secp256k1-0.27.1.tar.gz :
  CHECKSUM(SHA256) this package     : 2426148e2bb0ddb19110a062561158eede3e4a0e4449ec38e8bcdc4b27af5161
  CHECKSUM(SHA256) upstream package : 2426148e2bb0ddb19110a062561158eede3e4a0e4449ec38e8bcdc4b27af5161


Requires
--------
libsecp256k1-abc (rpmlib, GLIBC filtered):
    libc.so.6()(64bit)
    rtld(GNU_HASH)

libsecp256k1-abc-devel (rpmlib, GLIBC filtered):
    /usr/bin/pkg-config
    libsecp256k1-abc(x86-64)
    libsecp256k1.so.0()(64bit)



Provides
--------
libsecp256k1-abc:
    libsecp256k1-abc
    libsecp256k1-abc(x86-64)
    libsecp256k1.so.0()(64bit)

libsecp256k1-abc-devel:
    libsecp256k1-abc-devel
    libsecp256k1-abc-devel(x86-64)
    pkgconfig(libsecp256k1)



Generated by fedora-review 0.10.0 (e79b66b) last change: 2023-07-24
Command line :/usr/bin/fedora-review -b 2346266
Buildroot used: fedora-rawhide-x86_64
Active plugins: C/C++, Generic, Shell-api
Disabled plugins: fonts, Haskell, SugarActivity, Perl, Python, PHP, Java, R, Ocaml
Disabled flags: EXARCH, EPEL6, EPEL7, DISTTAG, BATCH


This package is 

================
=== APPROVED ===
================

Comment 4 imaginary.username.btc 2025-02-27 17:46:24 UTC
Thanks for the detailed review, I'm part of the upstream team of another package (electron-cash) that depends on this for performance, and can confirm it's useful.

Comment 5 Fedora Admin user for bugzilla script actions 2025-02-27 22:33:54 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/libsecp256k1-abc

Comment 6 Jonny Heggheim 2025-02-27 22:36:21 UTC
(In reply to Peter Lemenkov from comment #3)
> LGTM. Here is my formal 

Thanks for the review!

Comment 7 Fedora Update System 2025-02-28 06:42:29 UTC
FEDORA-2025-1b5a5d421b (libsecp256k1-abc-0.27.1-1.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-1b5a5d421b

Comment 8 Fedora Update System 2025-02-28 06:42:29 UTC
FEDORA-2025-c3fa652e04 (libsecp256k1-abc-0.27.1-1.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-c3fa652e04

Comment 9 Fedora Update System 2025-02-28 06:42:30 UTC
FEDORA-2025-24ed20671c (libsecp256k1-abc-0.27.1-1.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-24ed20671c

Comment 10 Fedora Update System 2025-03-01 01:54:14 UTC
FEDORA-2025-c3fa652e04 has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-c3fa652e04 \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-c3fa652e04

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 11 Fedora Update System 2025-03-01 03:08:18 UTC
FEDORA-2025-1b5a5d421b has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-1b5a5d421b \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-1b5a5d421b

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 12 Fedora Update System 2025-03-01 03:11:53 UTC
FEDORA-2025-24ed20671c has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-24ed20671c \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-24ed20671c

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 13 Fedora Update System 2025-03-07 02:23:16 UTC
FEDORA-2025-24ed20671c (libsecp256k1-abc-0.27.1-1.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 14 Fedora Update System 2025-03-09 03:31:02 UTC
FEDORA-2025-1b5a5d421b (libsecp256k1-abc-0.27.1-1.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 15 Fedora Update System 2025-03-15 00:34:42 UTC
FEDORA-2025-c3fa652e04 (libsecp256k1-abc-0.27.1-1.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.