Bug 2336643 - Review Request: sgx-srpm-macros - Source RPM macros for working with the SGX SDK
Summary: Review Request: sgx-srpm-macros - Source RPM macros for working with the SGX SDK
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Peter Lemenkov
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-01-09 17:45 UTC by Daniel Berrangé
Modified: 2025-01-14 12:20 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-01-14 12:20:56 UTC
Type: ---
Embargoed:
lemenkov: fedora-review+


Attachments (Terms of Use)

Description Daniel Berrangé 2025-01-09 17:45:04 UTC
Spec URL: https://berrange.fedorapeople.org/review/sgx-srpm-macros/sgx-srpm-macros.spec
SRPM URL: https://berrange.fedorapeople.org/review/sgx-srpm-macros/sgx-srpm-macros-1-1.fc41.src.rpm
Description: Source RPM macros for working with the SGX SDK
Fedora Account System Username: berrange

Comment 1 Fedora Review Service 2025-01-09 17:48:25 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/8494912
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2336643-sgx-srpm-macros/fedora-rawhide-x86_64/08494912-sgx-srpm-macros/fedora-review/review.txt

Please take a look if any issues were found.


---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 2 Peter Lemenkov 2025-01-14 12:11:57 UTC
I'll review it.

Comment 3 Peter Lemenkov 2025-01-14 12:16:40 UTC
Please, consider adding licensing info in a separate file. Not a blocker though.
OK, I don't see any issues so here is my formal

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

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

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

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.
[-]: The source package does not include the text of the license(s) in its
     own file.
[x]: License field in the package spec file matches the actual license.
[x]: Package must own all directories that it creates.
[x]: Package contains no bundled libraries without FPC exception.
[x]: Changelog in prescribed format.
[x]: Sources contain only permissible code or content.
[-]: Package does not contain desktop file (not a GUI application).
[-]: No separate development files.
[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.
[x]: Package does not generate any conflict.
[x]: Package obeys FHS, except libexecdir and /usr/target.
[-]: 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]: Package is not known to require an ExcludeArch tag.
[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: There are rpmlint messages (see attachment).
[x]: The License field must be a valid SPDX expression.
[x]: Package requires other packages for directories it uses.
[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]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 0 bytes in 0 files.
[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.
     See my note above.
[x]: Final provides and requires are sane (see attachments).
[x]: Package functions as described.
[?]: I guess the latest version is packaged since you're upstream.
[x]: Package does not include license text files separate from upstream.
[-]: Sources weren't verified with gpgverify (upstream does not publish
     signatures).
[x]: Package should compile and build into binary rpms on all supported
     architectures.
[-]: %check is not necessary.
[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]: Packager, Vendor, PreReq, Copyright tags should not be in spec file
[x]: SourceX is a working URL.
[x]: Spec use %global instead of %define unless justified.

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

Generic:
[x]: Rpmlint is run on all installed packages.
     Note: There are rpmlint messages (see attachment).
[x]: Spec file according to URL is the same as in SRPM.

Rpmlint
-------
Checking: sgx-srpm-macros-1-1.fc42.noarch.rpm
          sgx-srpm-macros-1-1.fc42.src.rpm
============================ rpmlint session starts ============================
rpmlint: 2.5.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
rpmlintrc: [PosixPath('/tmp/tmp68b0_c5t')]
checks: 32, packages: 2

sgx-srpm-macros.noarch: W: only-non-binary-in-usr-lib
sgx-srpm-macros.noarch: W: no-url-tag
sgx-srpm-macros.src: W: no-url-tag
sgx-srpm-macros.noarch: W: no-documentation
sgx-srpm-macros.spec: W: no-%prep-section
sgx-srpm-macros.spec: W: no-%build-section
 2 packages and 0 specfiles checked; 0 errors, 6 warnings, 7 filtered, 0 badness; has taken 0.2 s 


^^^ These can be ignored.

Rpmlint (installed packages)
----------------------------
============================ rpmlint session starts ============================
rpmlint: 2.5.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: 1

sgx-srpm-macros.noarch: W: only-non-binary-in-usr-lib
sgx-srpm-macros.noarch: W: no-url-tag
sgx-srpm-macros.noarch: W: no-documentation
 1 packages and 0 specfiles checked; 0 errors, 3 warnings, 3 filtered, 0 badness; has taken 0.1 s 



Requires
--------
sgx-srpm-macros (rpmlib, GLIBC filtered):



Provides
--------
sgx-srpm-macros:
    rpm_macro(sgx_includedir)
    rpm_macro(sgx_libdir)
    rpm_macro(sgx_prefix)
    rpm_macro(sgx_triplet)
    sgx-srpm-macros



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


This package is

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

Comment 4 Daniel Berrangé 2025-01-14 12:20:56 UTC
Urgh, sorry for wasting your time here. I had tried to close this one in favour of bug 2337576, since sgx-rpm-macros is the better name, but a activity clash meant the comment never got submitted.


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