Bug 2179213

Summary: Review Request: pamixer - PulseAudio command line mixer
Product: [Fedora] Fedora Reporter: Aleksei Bavshin <alebastr89>
Component: Package ReviewAssignee: Petr Pisar <ppisar>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: package-review, ppisar
Target Milestone: ---Flags: ppisar: fedora-review+
Target Release: ---   
Hardware: All   
OS: Linux   
URL: https://github.com/cdemoulins/pamixer
Whiteboard:
Fixed In Version: pamixer-1.6-1.fc39 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-07-27 05:41:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
The .spec file difference from Copr build 5653305 to 6180800 none

Description Aleksei Bavshin 2023-03-17 03:57:22 UTC
Spec URL: https://download.copr.fedorainfracloud.org/results/alebastr/review/fedora-rawhide-x86_64/05653303-pamixer/pamixer.spec
SRPM URL: https://download.copr.fedorainfracloud.org/results/alebastr/review/fedora-rawhide-x86_64/05653303-pamixer/pamixer-1.6-1.fc39.src.rpm
Copr: https://copr.fedorainfracloud.org/coprs/build/5653303

Description:
Pamixer is like amixer but for pulseaudio. It can control the volume
levels of the sinks.

Fedora Account System Username: alebastr

Comment 1 Jakub Kadlčík 2023-03-17 04:06:19 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/5653305
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2179213-pamixer/fedora-rawhide-x86_64/05653305-pamixer/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 Petr Pisar 2023-07-11 12:16:16 UTC
Url and Source0 addresses are Ok.
Source0 (SHA-512: c01b7c4184901955bff82aaeef0cde7f0b613e6ebff1158b3603f2835e13590a9353920a430598a3cde5c305a7316a78e302186bf4d3bf458133262578b42eb3) is original. Ok.
Summary verified from README.rst. Ok.
Description verified from README.rst. Ok.
TODO: Spell "pulseaudio" as "PulseAudio". That's what the sound server is called like.
License verified from src/pulseaudio.hh, src/pulseaudio.cc, src/pamixer.cc, src/device.hh, src/device.cc, COPYING. Ok.

FIX: Build-require 'cxxopts-static' instead of (or in addition to) 'pkgconfig(cxxopts)'. cxxopts is a header-only library <https://docs.fedoraproject.org/en-US/packaging-guidelines/#_packaging_header_only_libraries>.

No tests, no %check phase. Ok.

$ rpmlint pamixer.spec ../SRPMS/pamixer-1.6-1.fc39.src.rpm ../RPMS/x86_64/pamixer-*
======================================== rpmlint session starts =======================================
rpmlint: 2.4.0
configuration:
    /usr/lib/python3.12/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: 5

========= 4 packages and 1 specfiles checked; 0 errors, 0 warnings, 0 badness; has taken 0.3 s ========
rpmlint output is Ok.

$ rpm -q -lv -p ../RPMS/x86_64/pamixer-1.6-1.fc39.x86_64.rpm 
-rwxr-xr-x    1 root     root                   276048 Jul 11 02:00 /usr/bin/pamixer
drwxr-xr-x    2 root     root                        0 Jul 11 02:00 /usr/lib/.build-id
drwxr-xr-x    2 root     root                        0 Jul 11 02:00 /usr/lib/.build-id/da
lrwxrwxrwx    1 root     root                       27 Jul 11 02:00 /usr/lib/.build-id/da/b15c9ffffaeff9718ba00bce19fde43a7b98a7 -> ../../../../usr/bin/pamixer
drwxr-xr-x    2 root     root                        0 Jul 11 02:00 /usr/share/doc/pamixer
-rw-r--r--    1 root     root                     2469 Jun 10  2022 /usr/share/doc/pamixer/README.rst
drwxr-xr-x    2 root     root                        0 Jul 11 02:00 /usr/share/licenses/pamixer
-rw-r--r--    1 root     root                    35147 Jun 10  2022 /usr/share/licenses/pamixer/COPYING
-rw-r--r--    1 root     root                      668 Jun 10  2022 /usr/share/man/man1/pamixer.1.gz
File layout and permissions are Ok.

$ rpm -q --requires -p ../RPMS/x86_64/pamixer-1.6-1.fc39.x86_64.rpm | sort -f | uniq -c
      1 libc.so.6()(64bit)
      1 libc.so.6(GLIBC_2.14)(64bit)
      1 libc.so.6(GLIBC_2.2.5)(64bit)
      1 libc.so.6(GLIBC_2.32)(64bit)
      1 libc.so.6(GLIBC_2.34)(64bit)
      1 libc.so.6(GLIBC_2.4)(64bit)
      1 libgcc_s.so.1()(64bit)
      1 libgcc_s.so.1(GCC_3.0)(64bit)
      1 libgcc_s.so.1(GCC_3.3.1)(64bit)
      1 libm.so.6()(64bit)
      1 libm.so.6(GLIBC_2.2.5)(64bit)
      1 libm.so.6(GLIBC_2.29)(64bit)
      1 libpulse.so.0()(64bit)
      1 libpulse.so.0(PULSE_0)(64bit)
      1 libstdc++.so.6()(64bit)
      1 libstdc++.so.6(CXXABI_1.3)(64bit)
      1 libstdc++.so.6(CXXABI_1.3.5)(64bit)
      1 libstdc++.so.6(GLIBCXX_3.4)(64bit)
      1 libstdc++.so.6(GLIBCXX_3.4.11)(64bit)
      1 libstdc++.so.6(GLIBCXX_3.4.14)(64bit)
      1 libstdc++.so.6(GLIBCXX_3.4.15)(64bit)
      1 libstdc++.so.6(GLIBCXX_3.4.18)(64bit)
      1 libstdc++.so.6(GLIBCXX_3.4.21)(64bit)
      1 libstdc++.so.6(GLIBCXX_3.4.29)(64bit)
      1 libstdc++.so.6(GLIBCXX_3.4.30)(64bit)
      1 libstdc++.so.6(GLIBCXX_3.4.32)(64bit)
      1 libstdc++.so.6(GLIBCXX_3.4.9)(64bit)
      1 rpmlib(CompressedFileNames) <= 3.0.4-1
      1 rpmlib(FileDigests) <= 4.6.0-1
      1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
      1 rpmlib(PayloadIsZstd) <= 5.4.18-1
      1 rtld(GNU_HASH)
Binary requires are Ok.

$ rpm -q --provides -p ../RPMS/x86_64/pamixer-1.6-1.fc39.x86_64.rpm | sort -f | uniq -c
      1 pamixer = 1.6-1.fc39
      1 pamixer(x86-64) = 1.6-1.fc39
Binary provides are Ok.

$ resolvedeps rawhide ../RPMS/x86_64/pamixer-1.6-1.fc39.x86_64.rpm 
Binary dependencies are resolvable. Ok.

The package builds in Fedora 39 (https://koji.fedoraproject.org/koji/taskinfo?taskID=103219128). Ok.

Otherwise the package is in line with Fedora, Meson, and C++ packaging guidelines.
Please correct the FIX item and provide an updated spec file.

Comment 4 Fedora Review Service 2023-07-18 04:22:33 UTC
Created attachment 1976293 [details]
The .spec file difference from Copr build 5653305 to 6180800

Comment 5 Fedora Review Service 2023-07-18 04:22:36 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/6180800
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2179213-pamixer/fedora-rawhide-x86_64/06180800-pamixer/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 Petr Pisar 2023-07-25 08:48:41 UTC
Thanks for correcting both issues.

$ rpmlint pamixer.spec ../SRPMS/pamixer-1.6-1.fc39.src.rpm ../RPMS/x86_64/pamixer-*
======================================== rpmlint session starts =======================================
rpmlint: 2.4.0
configuration:
    /usr/lib/python3.12/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: 5

========= 4 packages and 1 specfiles checked; 0 errors, 0 warnings, 0 badness; has taken 0.3 s ========
rpmlint is Ok.

The package builds in Fedora Rawhide <https://koji.fedoraproject.org/koji/taskinfo?taskID=103881610>. Ok.

The package is APPROVED.

Comment 7 Fedora Admin user for bugzilla script actions 2023-07-27 03:00:37 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/pamixer