Bug 2184414 - Review Request: miniaudio - Audio playback and capture library
Summary: Review Request: miniaudio - Audio playback and capture library
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Steve Traylen
QA Contact: Fedora Extras Quality Assurance
URL: https://miniaud.io/
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-04-04 15:21 UTC by Jonathan Wright
Modified: 2023-04-20 06:14 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2023-04-20 02:54:11 UTC
Type: ---
Embargoed:
steve.traylen: fedora-review+


Attachments (Terms of Use)
The .spec file difference from Copr build 5742630 to 5772571 (398 bytes, patch)
2023-04-11 12:41 UTC, Jakub Kadlčík
no flags Details | Diff

Description Jonathan Wright 2023-04-04 15:21:03 UTC
Spec URL: https://jonathanspw.fedorapeople.org/miniaudio.spec
SRPM URL: https://jonathanspw.fedorapeople.org/miniaudio-0.11.14-1.fc39.src.rpm
Description: Audio playback and capture library
Fedora Account System Username: jonathanspw

Comment 1 Jakub Kadlčík 2023-04-04 15:25:31 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/5742630
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2184414-miniaudio/fedora-rawhide-x86_64/05742630-miniaudio/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 Steve Traylen 2023-04-05 09:25:10 UTC
Hi,

https://fedoraproject.org/wiki/Licensing:Main#Software_License_List

* License is MIT-0 or Public Domain which seems to be permissible (non) license according to
* MIT-0 is distinct to MIT. This is the former.

https://docs.fedoraproject.org/en-US/packaging-guidelines/#_use_noarch_only_in_subpackages
* Seems noarch is wrong for this strange package:
  


Suggestion only:
* Could use the %forgeurl macro https://docs.fedoraproject.org/en-US/packaging-guidelines/SourceURL/#_using_forges_hosted_revision_control
* Could use %autochanglog

Steve.

Comment 3 Jonathan Wright 2023-04-11 12:37:28 UTC
> MIT-0 is distinct to MIT. This is the former

Wow I'd never seen MIT-0 before.  Thanks for that catch.

> Seems noarch is wrong for this strange package

Only the sub-package is noarch so this is in accordance with my understanding of the guidelines.  Specifically this is exactly what I'm doing:

> When the contents of subpackages, including the -devel package, are actually architecture-independent, they may still be marked noarch. Since the base package for a header library typically has no %files list, this may result in an arched package that builds only noarch rpms.


> * Could use the %forgeurl macro https://docs.fedoraproject.org/en-US/packaging-guidelines/SourceURL/#_using_forges_hosted_revision_control
> * Could use %autochanglog

Not really a fan of these two things so I generally don't use them.

Spec URL: https://jonathanspw.fedorapeople.org/miniaudio.spec
SRPM URL: https://jonathanspw.fedorapeople.org/miniaudio-0.11.14-1.fc39.src.rpm

Comment 4 Jakub Kadlčík 2023-04-11 12:41:35 UTC
Created attachment 1956838 [details]
The .spec file difference from Copr build 5742630 to 5772571

Comment 5 Jakub Kadlčík 2023-04-11 12:41:38 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/5772571
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2184414-miniaudio/fedora-rawhide-x86_64/05772571-miniaudio/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 6 Steve Traylen 2023-04-11 14:35:25 UTC
This is a review *template*. Besides handling the [ ]-marked tests you are
also supposed to fix the template before pasting into bugzilla:
- Add issues you find to the list of issues on top. If there isn't such
  a list, create one.
- Add your own remarks to the template checks.
- Add new lines marked [!] or [?] when you discover new things not
  listed by fedora-review.
- Change or remove any text in the template which is plain wrong. In this
  case you could also file a bug against fedora-review
- Remove the "[ ] Manual check required", you will not have any such lines
  in what you paste.
- Remove attachments which you deem not really useful (the rpmlint
  ones are mandatory, though)
- Remove this text



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

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


Issues:
=======
- If your application is a C or C++ application you must list a
  BuildRequires against gcc, gcc-c++ or clang.
  Note: No gcc, gcc-c++ or clang found in BuildRequires
  See: https://docs.fedoraproject.org/en-US/packaging-guidelines/C_and_C++/


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

C/C++:
[X]: Package does not contain kernel modules.
[X]: Package contains no static executables.
[x]: Header files in -devel subpackage, if present.
[x]: Package does not contain any libtool archives (.la)
[x]: Rpath absent or only used for internal libs.

Generic:
[X]: Package successfully compiles and builds into binary rpms on at least
     one supported primary architecture.
     Note: Using prebuilt packages
[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.
     Note: Checking patched sources after %prep for licenses. Licenses
     found: "Unknown or generated", "The Unlicense MIT No Attribution",
     "The Unlicense MIT License". 124 files have unknown license. Detailed
     output of licensecheck in /var/lib/copr-
     rpmbuild/results/miniaudio/licensecheck.txt
[-]: %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 contains desktop file if it is a GUI application.
[X]: Development files must be 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.
[X]: Package does not generate any conflict.
[X]: Package obeys FHS, except libexecdir and /usr/target.
[-]: If the package is a rename of another package, proper Obsoletes and
     Provides are present.
[X]: Requires correct, justified where necessary.
[X]: Spec file is legible and written in American English.
[-]: Package contains systemd file(s) if in need.
[X]: Package is not known to require an ExcludeArch tag.
[-]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 20480 bytes in 1 files.
[X]: Package complies to the Packaging Guidelines
[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]: 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:
[X]: Reviewer should test that the package builds in mock.
[-]: 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).
[X]: Package functions as described.
[X]: Latest version is packaged.
[X]: Package does not include license text files separate from upstream.
[-]: Sources are verified with gpgverify first in %prep if upstream
     publishes signatures.
     Note: gpgverify is not used.
[X]: Package should compile and build into binary rpms on all supported
     architectures.
[-]: %check is present and all tests pass.
[X]: Packages should try to preserve timestamps of original installed
     files.
[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]: 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 all installed packages.
     Note: No rpmlint messages.


Rpmlint
-------
Checking: miniaudio-devel-0.11.14-1.fc39.noarch.rpm
          miniaudio-0.11.14-1.fc39.src.rpm
============================ rpmlint session starts ============================
rpmlint: 2.4.0
configuration:
    /usr/lib/python3.11/site-packages/rpmlint/configdefaults.toml
    /etc/xdg/rpmlint/fedora-legacy-licenses.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/tmp6knfvwu_')]
checks: 31, packages: 2

 2 packages and 0 specfiles checked; 0 errors, 0 warnings, 0 badness; has taken 0.1 s 




Rpmlint (installed packages)
----------------------------
============================ rpmlint session starts ============================
rpmlint: 2.4.0
configuration:
    /usr/lib/python3.11/site-packages/rpmlint/configdefaults.toml
    /etc/xdg/rpmlint/fedora-legacy-licenses.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: 31, packages: 1

 1 packages and 0 specfiles checked; 0 errors, 0 warnings, 0 badness; has taken 0.0 s 



Source checksums
----------------
https://github.com/mackron/miniaudio/archive/9a7663496fc06f7a9439c752fd7666ca93328c20/miniaudio-9a76634.tar.gz :
  CHECKSUM(SHA256) this package     : 5038d868a9defcb23a2a8573bfcf67037ecf9acae3d14548c6ffa658136b4bc5
  CHECKSUM(SHA256) upstream package : 5038d868a9defcb23a2a8573bfcf67037ecf9acae3d14548c6ffa658136b4bc5


Requires
--------
miniaudio-devel (rpmlib, GLIBC filtered):



Provides
--------
miniaudio-devel:
    miniaudio-devel
    miniaudio-static



Generated by fedora-review 0.9.0 (6761b6c) last change: 2022-08-23
Command line :/usr/bin/fedora-review --no-colors --prebuilt --rpm-spec --name miniaudio --mock-config /var/lib/copr-rpmbuild/results/configs/child.cfg
Buildroot used: fedora-rawhide-x86_64
Active plugins: Shell-api, C/C++, Generic
Disabled plugins: Perl, R, Haskell, SugarActivity, PHP, fonts, Ocaml, Python, Java
Disabled flags: EPEL6, EPEL7, DISTTAG, BATCH, EXARCH


APPROVED.

Comment 7 Fedora Admin user for bugzilla script actions 2023-04-11 23:31:37 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/miniaudio

Comment 8 Fedora Update System 2023-04-11 23:45:52 UTC
FEDORA-2023-44f7637a3b has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-44f7637a3b

Comment 9 Fedora Update System 2023-04-11 23:45:52 UTC
FEDORA-EPEL-2023-68f2f05a35 has been submitted as an update to Fedora EPEL 9. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-68f2f05a35

Comment 10 Fedora Update System 2023-04-11 23:45:53 UTC
FEDORA-EPEL-2023-b5d99c35bb has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-b5d99c35bb

Comment 11 Fedora Update System 2023-04-11 23:45:54 UTC
FEDORA-2023-5e8dffe6b4 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-5e8dffe6b4

Comment 12 Fedora Update System 2023-04-12 02:43:28 UTC
FEDORA-2023-44f7637a3b has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-44f7637a3b`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-44f7637a3b

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

Comment 13 Fedora Update System 2023-04-12 02:46:32 UTC
FEDORA-2023-3bc3170701 has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-3bc3170701`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-3bc3170701

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

Comment 14 Fedora Update System 2023-04-12 02:59:01 UTC
FEDORA-EPEL-2023-68f2f05a35 has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-68f2f05a35

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

Comment 15 Fedora Update System 2023-04-12 03:00:29 UTC
FEDORA-2023-5e8dffe6b4 has been pushed to the Fedora 38 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-5e8dffe6b4

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

Comment 16 Fedora Update System 2023-04-12 03:05:31 UTC
FEDORA-EPEL-2023-b5d99c35bb has been pushed to the Fedora EPEL 7 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-b5d99c35bb

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

Comment 17 Fedora Update System 2023-04-20 02:54:11 UTC
FEDORA-2023-44f7637a3b has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 18 Fedora Update System 2023-04-20 02:57:17 UTC
FEDORA-EPEL-2023-68f2f05a35 has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 19 Fedora Update System 2023-04-20 04:41:20 UTC
FEDORA-2023-5e8dffe6b4 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 20 Fedora Update System 2023-04-20 05:24:16 UTC
FEDORA-2023-3bc3170701 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 21 Fedora Update System 2023-04-20 06:14:55 UTC
FEDORA-EPEL-2023-b5d99c35bb has been pushed to the Fedora EPEL 7 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.