Bug 2022555 - Review Request: lv2-eq10q - LV2 audio plugin suite
Summary: Review Request: lv2-eq10q - LV2 audio plugin suite
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Ben Beasley
QA Contact: Fedora Extras Quality Assurance
URL: https://eq10q.sourceforge.net/
Whiteboard:
Depends On: 2022554
Blocks: FE-DEADREVIEW
TreeView+ depends on / blocked
 
Reported: 2021-11-12 00:14 UTC by Nils Philippsen
Modified: 2023-11-12 11:29 UTC (History)
4 users (show)

Fixed In Version: lv2-eq10q-2.2-1.fc40
Clone Of:
Environment:
Last Closed: 2023-11-12 11:29:48 UTC
Type: ---
Embargoed:
code: fedora-review+


Attachments (Terms of Use)
The .spec file difference from Copr build 5795842 to 6540702 (4.10 KB, patch)
2023-10-17 23:31 UTC, Fedora Review Service
no flags Details | Diff

Description Nils Philippsen 2021-11-12 00:14:33 UTC
Spec URL: https://nphilipp.fedorapeople.org/review/lv2-eq10q/lv2-eq10q.spec
SRPM URL: https://nphilipp.fedorapeople.org/review/lv2-eq10q/lv2-eq10q-2.2-1.fc35.src.rpm
Description: EQ10Q is an audio plugin bundle using the LV2 standard which implements
powerful and flexible parametric equalizers, compressors, a harmonic enhancer
for bass frequencies and mid/side encoders/decoders.
Fedora Account System Username: nphilipp

Comment 1 Nils Philippsen 2021-11-12 00:16:03 UTC
This resurrects lv2-EQ10Q-plugins, but the name is changed to better conform to naming guidelines.

Needs plotmm, review here: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=2022554

Comment 2 Nils Philippsen 2022-06-07 09:27:10 UTC
@code Now that plotmm is through, are you still interested in reviewing this package?

Comment 3 Ben Beasley 2022-06-08 12:00:29 UTC
It looks like it has a missing dependency PStreams[1]:

> No matching package to install: 'pstreams-devel'

This was in Fedora[2] but was orphaned and retired. It would need to be unretired[3]. It’s a simple enough package, but it would need a few changes, such as, at a quick skim of the spec file:

- It should have been packaged like other header-only libraries[4], in that the source package should have been called pstreams, with a binary package called pstreams-devel, rather than calling the source package pstreams-devel. This means it would actually be a combined unretirement and renaming, and the original dist-git repository wouldn’t be unretired.
- The spec file should use %make_build/%make_install macros and should run the tests.
- The Source0 URL can/should be HTTPS
- The Doxygen-generated HTML documentation shouldn’t be packaged, or should be generated as a PDF, due to guidelines issues with bundled and pre-compiled JS/CSS[5].

I can help or answer questions on any of this.

[1] http://pstreams.sourceforge.net/
[2] https://src.fedoraproject.org/rpms/pstreams-devel/
[3] https://docs.fedoraproject.org/en-US/package-maintainers/Package_Retirement_Process/#claiming
[4] https://docs.fedoraproject.org/en-US/packaging-guidelines/#_packaging_header_only_libraries
[5] https://bugzilla.redhat.com/show_bug.cgi?id=2006555

Comment 4 Nils Philippsen 2023-04-17 10:13:09 UTC
Hmm looks like I dropped the ball on this, but meanwhile @jwakely resurrected the pstreams-devel package – thanks!

I've kicked off a scratch build to verify it still builds here: https://koji.fedoraproject.org/koji/taskinfo?taskID=100054933

I changed `%patchN` for `%patch N` in the spec file, too:

Spec URL: https://nphilipp.fedorapeople.org/review/lv2-eq10q/lv2-eq10q.spec
SRPM URL: https://nphilipp.fedorapeople.org/review/lv2-eq10q/lv2-eq10q-2.2-1.fc38.src.rpm

Comment 5 Jonathan Wakely 2023-04-18 09:04:08 UTC
Yes, pstreams-devel is unretired and available in all of f36/f37/f38/rawhide.

Is that all you're asking from me as needinfo?

Comment 6 Nils Philippsen 2023-04-18 12:56:57 UTC
(In reply to Jonathan Wakely from comment #5)
> Is that all you're asking from me as needinfo?

Sorry, the needinfo was unintentional (happened because I (at)-tagged you).

Comment 7 Nils Philippsen 2023-04-18 12:59:45 UTC
That said, @code, still interested? 😀

Comment 8 Ben Beasley 2023-04-23 12:35:21 UTC
Package Review
==============

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

===== Issues =====

- New packages must use SPDX license expressions.

  https://docs.fedoraproject.org/en-US/packaging-guidelines/LicensingGuidelines/#_license_field

  Furthermore, this does not appear to be correct:

    # The vuwidget class is under GPLv3+.  The rest is under GPLv2+.  The GPLv3+ is
    # only included in the parameq_gui.so library.  The other library, paramEQ.so,
    # contains only GPLv2+ code.

  …since the headers of gui/widgets/vuwidget.{cpp,h} indicate GPL-2.0-or-later.
  In fact, all of the source file headers indicate GPL-2.0-or-later, but
  COPYING is the GPLv3 text.

  I have asked upstream for clarification:

    Please clarify the license
    https://sourceforge.net/p/eq10q/bugs/24/

  Consider something like this:

    # All source file headers indicate GPL-2.0-or-later, but the COPYING file #
    # contains the GPLv3 license text. Since there are no source files without
    # license statements in their headers, we assume this is an error, but we
    # have asked upstream to clarify:
    #
    #   Please clarify the license
    #   https://sourceforge.net/p/eq10q/bugs/24/
    License:        GPL-2.0-or-later

- The distro compiler flags come later in the line than the hard-coded ones in
  CMakeLists.txt, so -O2 overrides -O3. This is good
  (https://docs.fedoraproject.org/en-US/packaging-guidelines/#_compiler_flags),
  but it would be less confusing if you patched out the -O3.

  You are patching out -msse -mfpmath=sse on non-x86 platforms, but I think you
  should do this unconditionally; these are useless on x86_64 and i686 (already
  covered by the defaults).

  Maybe something like this?

    # https://docs.fedoraproject.org/en-US/packaging-guidelines/#_compiler_flags
    sed -i -e 's|-msse -mfpmath=sse||g' -e 's|-O3||g' CMakeLists.txt

- All the fiddling with %{_target_platform} is unnecessary; so is the ..
  argument to %cmake. Change all of this:

    %build
    mkdir -p %{_target_platform}
    pushd %{_target_platform}
    %cmake -DCMAKE_INSTALL_PREFIX="%{_libdir}/lv2" ..
    %cmake_build
    popd

    %install
    pushd %{_target_platform}
    %cmake_install
    popd

  to this:

    %build
    %cmake -DCMAKE_INSTALL_PREFIX="%{_libdir}/lv2" 
    %cmake_build

    %install
    %cmake_install

- It’s no longer necessary to number patches. Instead of

    Patch0:         lv2-eq10q-2.2-path-and-flags.patch
    Patch1:         lv2-eq10q-2.2-exp10.patch
    Patch2:         lv2-eq10q-2.2-cmake-2.8.12.patch
    Patch3:         lv2-eq10q-2.2-typefix.patch

    […]

    %setup -q -n eq10q-%{version}
    %patch 0 -p1 -b .path-and-flags
    %patch 1 -p1 -b .exp10
    %patch 2 -p1 -b .cmake-2.8.12
    %patch 3 -p1 -b .typefix

  it is simpler to write:

    Patch:          lv2-eq10q-2.2-path-and-flags.patch
    Patch:          lv2-eq10q-2.2-exp10.patch
    Patch:          lv2-eq10q-2.2-cmake-2.8.12.patch
    Patch:          lv2-eq10q-2.2-typefix.patch

    […]

    %autosetup -n eq10q-%{version} -p1

- It’s good that each patch has an explanatory comment, but there should also
  be a comment about upstream status. See:

    https://docs.fedoraproject.org/en-US/packaging-guidelines/#_all_patches_should_have_an_upstream_bug_link_or_comment

- An easier and more thorough way to write this:

    chmod -x gui/widgets/templatewidget.cpp gui/widgets/templatewidget.h *.c *.h */*.c */*.h

  might be something like:

    find . -type f -perm /0111 -exec chmod -v a-x '{}' '+'

- It seems like it would be better to Provide the old package name. See:

    https://docs.fedoraproject.org/en-US/packaging-guidelines/#renaming-or-replacing-existing-packages

  Instead of:

    Obsoletes:      lv2-EQ10Q-plugins < 2.2-8
    Conflicts:      lv2-EQ10Q-plugins < 2.2-8

  Consider:

    Obsoletes:      lv2-EQ10Q-plugins < 2.2-8
    Provides:       lv2-EQ10Q-plugins < %{version}-%{release}

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

C/C++:
[x]: Package does not contain kernel modules.
[x]: Package contains no static executables.
[-]: Development (unversioned) .so files in -devel subpackage, if present.
     Note: Unversioned so-files in private %_libdir subdirectory (see
     attachment). Verify they are not in ld path.

     Unversioned .so files are plugins located in an appropriate subdirectory:

       As an additional complication, some software generates unversioned
       shared objects which are not intended to be used as system libraries.
       These files are usually plugins or modular functionality specific to an
       application, and are not located in the ld library paths or cache. This
       means that they are not located directly in /usr/lib or /usr/lib64, or
       in a directory listed as a library path in /etc/ld.so.conf (or an
       /etc/ld.so.conf.d/config file). Usually, these unversioned shared
       objects can be found in a dedicated subdirectory under /usr/lib or
       /usr/lib64 (e.g. /usr/lib/purple-2/ is the plugin directory used for
       libpurple applications). In these cases, the unversioned shared objects
       do not need to be placed in a -devel package.

     https://docs.fedoraproject.org/en-US/packaging-guidelines/#_devel_packages

     These are packaged correctly, and no change is required.

[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]: Package does not contain any libtool archives (.la)
[x]: Rpath absent or only used for internal libs.

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.
[!]: License field in the package spec file matches the actual license.
     Note: Checking patched sources after %prep for licenses. Licenses
     found: "Unknown or generated", "GNU General Public License v2.0 or
     later". 51 files have unknown license. Detailed output of licensecheck
     in /home/reviewer/2022555-lv2-eq10q/licensecheck.txt

     New packages must use SPDX license expressions.

     https://docs.fedoraproject.org/en-US/packaging-guidelines/LicensingGuidelines/#_license_field

[x]: License file installed when any subpackage combination is installed.
[x]: If the package is under multiple licenses, the licensing breakdown
     must be documented in the spec.
[!]: %build honors applicable compiler flags or justifies otherwise.

     Should patch out -msse etc. unconditionally.

[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.
[-]: 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.
[!]: Requires correct, justified where necessary.
[x]: Spec file is legible and written in American English.
[-]: Package contains systemd file(s) if in need.
[x]: Useful -debuginfo package or justification otherwise.
[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 10240 bytes in 1 files.
[x]: Package complies to the Packaging Guidelines

     (except as mentioned)

[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]: 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:
[-]: 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).
[?]: Package functions as described.
[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[!]: Patches link to upstream bugs/comments/lists or are otherwise
     justified.
[-]: 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.

     Upstream supplies no tests.

[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]: 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:
[!]: Spec file according to URL is the same as in SRPM.
     Note: Spec file as given by url is not the same as in SRPM (see
     attached diff).
     See: (this test has no URL)

     OK: this is due solely to rpmautospec

[x]: Rpmlint is run on debuginfo package(s).
     Note: No rpmlint messages.
[x]: Rpmlint is run on all installed packages.
     Note: There are rpmlint messages (see attachment).
[x]: Large data in /usr/share should live in a noarch subpackage if package
     is arched.


Rpmlint
-------
Checking: lv2-eq10q-2.2-1.fc39.x86_64.rpm
          lv2-eq10q-debuginfo-2.2-1.fc39.x86_64.rpm
          lv2-eq10q-debugsource-2.2-1.fc39.x86_64.rpm
          lv2-eq10q-2.2-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/tmpna9ev_my')]
checks: 31, packages: 4

lv2-eq10q.src: W: strange-permission lv2-eq10q.spec 600
lv2-eq10q.spec: W: patch-not-applied Patch1: lv2-eq10q-2.2-exp10.patch
lv2-eq10q.spec: W: patch-not-applied Patch2: lv2-eq10q-2.2-cmake-2.8.12.patch
lv2-eq10q.spec: W: patch-not-applied Patch3: lv2-eq10q-2.2-typefix.patch
lv2-eq10q.x86_64: W: obsolete-not-provided lv2-EQ10Q-plugins
================ 4 packages and 0 specfiles checked; 0 errors, 5 warnings, 0 badness; has taken 2.5 s ================




Rpmlint (debuginfo)
-------------------
Checking: lv2-eq10q-debuginfo-2.2-1.fc39.x86_64.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/tmpe2tm_n39')]
checks: 31, packages: 1

================ 1 packages and 0 specfiles checked; 0 errors, 0 warnings, 0 badness; has taken 0.9 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: 3

lv2-eq10q.x86_64: W: obsolete-not-provided lv2-EQ10Q-plugins
 3 packages and 0 specfiles checked; 0 errors, 1 warnings, 0 badness; has taken 5.7 s 



Unversioned so-files
--------------------
lv2-eq10q: /usr/lib64/lv2/sapistaEQv2.lv2/bassup.so
lv2-eq10q: /usr/lib64/lv2/sapistaEQv2.lv2/compressor.so
lv2-eq10q: /usr/lib64/lv2/sapistaEQv2.lv2/compressor_sc.so
lv2-eq10q: /usr/lib64/lv2/sapistaEQv2.lv2/compressor_stereo.so
lv2-eq10q: /usr/lib64/lv2/sapistaEQv2.lv2/compressor_stereo_sc.so
lv2-eq10q: /usr/lib64/lv2/sapistaEQv2.lv2/eq10qm.so
lv2-eq10q: /usr/lib64/lv2/sapistaEQv2.lv2/eq10qs.so
lv2-eq10q: /usr/lib64/lv2/sapistaEQv2.lv2/eq1qm.so
lv2-eq10q: /usr/lib64/lv2/sapistaEQv2.lv2/eq1qs.so
lv2-eq10q: /usr/lib64/lv2/sapistaEQv2.lv2/eq4qm.so
lv2-eq10q: /usr/lib64/lv2/sapistaEQv2.lv2/eq4qs.so
lv2-eq10q: /usr/lib64/lv2/sapistaEQv2.lv2/eq6qm.so
lv2-eq10q: /usr/lib64/lv2/sapistaEQv2.lv2/eq6qs.so
lv2-eq10q: /usr/lib64/lv2/sapistaEQv2.lv2/gate.so
lv2-eq10q: /usr/lib64/lv2/sapistaEQv2.lv2/gate_stereo.so
lv2-eq10q: /usr/lib64/lv2/sapistaEQv2.lv2/gui/bassup_gui.so
lv2-eq10q: /usr/lib64/lv2/sapistaEQv2.lv2/gui/dynamics_gui.so
lv2-eq10q: /usr/lib64/lv2/sapistaEQv2.lv2/gui/eq10q_gui.so
lv2-eq10q: /usr/lib64/lv2/sapistaEQv2.lv2/gui/matrix_ms_gui.so
lv2-eq10q: /usr/lib64/lv2/sapistaEQv2.lv2/matrix_lr2ms.so
lv2-eq10q: /usr/lib64/lv2/sapistaEQv2.lv2/matrix_ms2lr.so

Source checksums
----------------
http://downloads.sourceforge.net/project/eq10q/eq10q-2.2.tar.gz :
  CHECKSUM(SHA256) this package     : 337f4c703ba31902565faad1cd450cf0312ad5a48dc499661277f287b662b09a
  CHECKSUM(SHA256) upstream package : 337f4c703ba31902565faad1cd450cf0312ad5a48dc499661277f287b662b09a


Requires
--------
lv2-eq10q (rpmlib, GLIBC filtered):
    libatkmm-1.6.so.1()(64bit)
    libc.so.6()(64bit)
    libcairomm-1.0.so.1()(64bit)
    libfftw3.so.3()(64bit)
    libgcc_s.so.1()(64bit)
    libgcc_s.so.1(GCC_3.0)(64bit)
    libgcc_s.so.1(GCC_3.3.1)(64bit)
    libgdkmm-2.4.so.1()(64bit)
    libglibmm-2.4.so.1()(64bit)
    libgtkmm-2.4.so.1()(64bit)
    libm.so.6()(64bit)
    libpangomm-1.4.so.1()(64bit)
    libsigc-2.0.so.0()(64bit)
    libstdc++.so.6()(64bit)
    libstdc++.so.6(CXXABI_1.3)(64bit)
    libstdc++.so.6(CXXABI_1.3.8)(64bit)
    lv2(x86-64)
    rtld(GNU_HASH)

lv2-eq10q-debuginfo (rpmlib, GLIBC filtered):

lv2-eq10q-debugsource (rpmlib, GLIBC filtered):



Provides
--------
lv2-eq10q:
    lv2-eq10q
    lv2-eq10q(x86-64)

lv2-eq10q-debuginfo:
    debuginfo(build-id)
    lv2-eq10q-debuginfo
    lv2-eq10q-debuginfo(x86-64)

lv2-eq10q-debugsource:
    lv2-eq10q-debugsource
    lv2-eq10q-debugsource(x86-64)



Diff spec file in url and in SRPM
---------------------------------
--- /home/reviewer/2022555-lv2-eq10q/srpm/lv2-eq10q.spec	2023-04-20 09:54:17.043236297 -0400
+++ /home/reviewer/2022555-lv2-eq10q/srpm-unpacked/lv2-eq10q.spec	2023-04-16 20:00:00.000000000 -0400
@@ -1,2 +1,12 @@
+## START: Set by rpmautospec
+## (rpmautospec version 0.3.5)
+## RPMAUTOSPEC: autorelease, autochangelog
+%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
+    release_number = 1;
+    base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
+    print(release_number + base_release_number - 1);
+}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
+## END: Set by rpmautospec
+
 Name:           lv2-eq10q
 Version:        2.2
@@ -74,3 +84,4 @@
 
 %changelog
-%autochangelog
+* Mon Apr 17 2023 Nils Philippsen <nils> - 2.2-1
+- Uncommitted changes


Generated by fedora-review 0.9.0 (6761b6c) last change: 2022-08-23
Command line :/usr/bin/fedora-review -b 2022555
Buildroot used: fedora-rawhide-x86_64
Active plugins: C/C++, Generic, Shell-api
Disabled plugins: R, Java, PHP, fonts, Haskell, Python, Perl, SugarActivity, Ocaml
Disabled flags: EPEL6, EPEL7, DISTTAG, BATCH, EXARCH

Comment 9 Ben Beasley 2023-04-23 13:10:36 UTC
Oh, a couple more things I missed the first time around.

----

  BuildRequires:  gtkmm24-devel

would be better written

  BuildRequires:  pkgconfig(gtkmm-2.4)

and then you can omit

  BuildRequires:  pkgconfig

See: https://docs.fedoraproject.org/en-US/packaging-guidelines/PkgConfigBuildRequires/

----

Both of these are actually unused, and they should be removed:

  BuildRequires:  plotmm-devel
  BuildRequires:  pstreams-devel

This header-only library does not appear to be needed either:

  BuildRequires:  lv2-c++-tools-static

Comment 10 Package Review 2023-06-07 00:45:25 UTC
This is an automatic action taken by review-stats script.

The ticket submitter failed to clear the NEEDINFO flag in a month.
As per https://fedoraproject.org/wiki/Policy_for_stalled_package_reviews
we consider this ticket as DEADREVIEW and proceed to close it.

Comment 11 Nils Philippsen 2023-10-17 23:21:30 UTC
@code, sorry for dropping the ball again, I hope you’re still interested…

I’ve applied the changes you requested, find the updated files here:

Spec URL: https://nphilipp.fedorapeople.org/review/lv2-eq10q/1/lv2-eq10q.spec
SRPM URL: https://nphilipp.fedorapeople.org/review/lv2-eq10q/1/lv2-eq10q-2.2-1.fc40.src.rpm

NB: The flags have been reset and I’ll change the status to NEW.

Comment 12 Fedora Review Service 2023-10-17 23:31:18 UTC
Created attachment 1994348 [details]
The .spec file difference from Copr build 5795842 to 6540702

Comment 13 Fedora Review Service 2023-10-17 23:31:20 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/6540702
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2022555-lv2-eq10q/fedora-rawhide-x86_64/06540702-lv2-eq10q/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 14 Ben Beasley 2023-10-20 20:05:43 UTC
I would like to revisit this. It will be at least a few days before I have a chance, though.

Comment 15 Ben Beasley 2023-11-03 11:28:55 UTC
This looks good to me. The current submission incorporates all of the feedback from the previous review. Just make sure that you check the release number upon import so that the package doesn’t Obsolete itself. Approved!

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

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

===== Notes =====

- Make sure you check the release number on import so that the package does not
  obsolete itself with

    Obsoletes:      lv2-EQ10Q-plugins < 2.2-8


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

C/C++:
[-]: Provides: bundled(gnulib) in place as required.
     Note: Sources not installed
[x]: Package does not contain kernel modules.
[-]: Development (unversioned) .so files in -devel subpackage, if present.
     Note: Unversioned so-files in private %_libdir subdirectory (see
     attachment). Verify they are not in ld path.

     Unversioned .so files are plugins located in an appropriate subdirectory:

       As an additional complication, some software generates unversioned
       shared objects which are not intended to be used as system libraries.
       These files are usually plugins or modular functionality specific to an
       application, and are not located in the ld library paths or cache. This
       means that they are not located directly in /usr/lib or /usr/lib64, or
       in a directory listed as a library path in /etc/ld.so.conf (or an
       /etc/ld.so.conf.d/config file). Usually, these unversioned shared
       objects can be found in a dedicated subdirectory under /usr/lib or
       /usr/lib64 (e.g. /usr/lib/purple-2/ is the plugin directory used for
       libpurple applications). In these cases, the unversioned shared objects
       do not need to be placed in a -devel package.

     https://docs.fedoraproject.org/en-US/packaging-guidelines/#_devel_packages

     These are packaged correctly, and no change is required.

[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]: Package does not contain any libtool archives (.la)
[x]: Package contains no static executables.
[x]: Rpath absent or only used for internal libs.

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.
     Note: Checking patched sources after %prep for licenses. Licenses
     found: "Unknown or generated", "GNU General Public License v2.0 or
     later". 49 files have unknown license. Detailed output of licensecheck
     in /home/ben/Downloads/review/2022555-lv2-eq10q/licensecheck.txt
[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 contains desktop file if it is a GUI application.
[-]: 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.
[x]: 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]: Useful -debuginfo package or justification otherwise.
[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]: 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]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 2541 bytes in 1 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.
[x]: Final provides and requires are sane (see attachments).
[?]: Package functions as described.
[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[x]: Patches link to upstream bugs/comments/lists or are otherwise
     justified.
[-]: 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.

     Upstream supplies no tests.

[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]: 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:
[!]: Spec file according to URL is the same as in SRPM.
     Note: Spec file as given by url is not the same as in SRPM (see
     attached diff).
     See: (this test has no URL)

     OK: rpmautospec expansion

[x]: Rpmlint is run on debuginfo package(s).
     Note: No rpmlint messages.
[x]: Rpmlint is run on all installed packages.
     Note: There are rpmlint messages (see attachment).
[x]: Large data in /usr/share should live in a noarch subpackage if package
     is arched.


Rpmlint
-------
Checking: lv2-eq10q-2.2-1.fc40.x86_64.rpm
          lv2-eq10q-debuginfo-2.2-1.fc40.x86_64.rpm
          lv2-eq10q-debugsource-2.2-1.fc40.x86_64.rpm
          lv2-eq10q-2.2-1.fc40.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/tmp91awpldr')]
checks: 31, packages: 4

lv2-eq10q.src: W: strange-permission lv2-eq10q.spec 600
lv2-eq10q.x86_64: W: self-obsoletion lv2-EQ10Q-plugins < 2.2-8 obsoletes lv2-EQ10Q-plugins = 2.2-1.fc40
================ 4 packages and 0 specfiles checked; 0 errors, 2 warnings, 0 badness; has taken 1.8 s ================




Rpmlint (debuginfo)
-------------------
Checking: lv2-eq10q-debuginfo-2.2-1.fc40.x86_64.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/tmp_tpw_2nx')]
checks: 31, packages: 1

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





Rpmlint (installed packages)
----------------------------
============================ 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: 3

lv2-eq10q.x86_64: W: self-obsoletion lv2-EQ10Q-plugins < 2.2-8 obsoletes lv2-EQ10Q-plugins = 2.2-1.fc40
 3 packages and 0 specfiles checked; 0 errors, 1 warnings, 0 badness; has taken 7.2 s 



Unversioned so-files
--------------------
lv2-eq10q: /usr/lib64/lv2/sapistaEQv2.lv2/bassup.so
lv2-eq10q: /usr/lib64/lv2/sapistaEQv2.lv2/compressor.so
lv2-eq10q: /usr/lib64/lv2/sapistaEQv2.lv2/compressor_sc.so
lv2-eq10q: /usr/lib64/lv2/sapistaEQv2.lv2/compressor_stereo.so
lv2-eq10q: /usr/lib64/lv2/sapistaEQv2.lv2/compressor_stereo_sc.so
lv2-eq10q: /usr/lib64/lv2/sapistaEQv2.lv2/eq10qm.so
lv2-eq10q: /usr/lib64/lv2/sapistaEQv2.lv2/eq10qs.so
lv2-eq10q: /usr/lib64/lv2/sapistaEQv2.lv2/eq1qm.so
lv2-eq10q: /usr/lib64/lv2/sapistaEQv2.lv2/eq1qs.so
lv2-eq10q: /usr/lib64/lv2/sapistaEQv2.lv2/eq4qm.so
lv2-eq10q: /usr/lib64/lv2/sapistaEQv2.lv2/eq4qs.so
lv2-eq10q: /usr/lib64/lv2/sapistaEQv2.lv2/eq6qm.so
lv2-eq10q: /usr/lib64/lv2/sapistaEQv2.lv2/eq6qs.so
lv2-eq10q: /usr/lib64/lv2/sapistaEQv2.lv2/gate.so
lv2-eq10q: /usr/lib64/lv2/sapistaEQv2.lv2/gate_stereo.so
lv2-eq10q: /usr/lib64/lv2/sapistaEQv2.lv2/gui/bassup_gui.so
lv2-eq10q: /usr/lib64/lv2/sapistaEQv2.lv2/gui/dynamics_gui.so
lv2-eq10q: /usr/lib64/lv2/sapistaEQv2.lv2/gui/eq10q_gui.so
lv2-eq10q: /usr/lib64/lv2/sapistaEQv2.lv2/gui/matrix_ms_gui.so
lv2-eq10q: /usr/lib64/lv2/sapistaEQv2.lv2/matrix_lr2ms.so
lv2-eq10q: /usr/lib64/lv2/sapistaEQv2.lv2/matrix_ms2lr.so

Source checksums
----------------
https://downloads.sourceforge.net/project/eq10q/eq10q-2.2.tar.gz :
  CHECKSUM(SHA256) this package     : 337f4c703ba31902565faad1cd450cf0312ad5a48dc499661277f287b662b09a
  CHECKSUM(SHA256) upstream package : 337f4c703ba31902565faad1cd450cf0312ad5a48dc499661277f287b662b09a


Requires
--------
lv2-eq10q (rpmlib, GLIBC filtered):
    libatkmm-1.6.so.1()(64bit)
    libc.so.6()(64bit)
    libcairomm-1.0.so.1()(64bit)
    libfftw3.so.3()(64bit)
    libgcc_s.so.1()(64bit)
    libgcc_s.so.1(GCC_3.0)(64bit)
    libgcc_s.so.1(GCC_3.3.1)(64bit)
    libgdkmm-2.4.so.1()(64bit)
    libglibmm-2.4.so.1()(64bit)
    libgtkmm-2.4.so.1()(64bit)
    libm.so.6()(64bit)
    libpangomm-1.4.so.1()(64bit)
    libsigc-2.0.so.0()(64bit)
    libstdc++.so.6()(64bit)
    libstdc++.so.6(CXXABI_1.3)(64bit)
    libstdc++.so.6(CXXABI_1.3.8)(64bit)
    lv2(x86-64)
    rtld(GNU_HASH)

lv2-eq10q-debuginfo (rpmlib, GLIBC filtered):

lv2-eq10q-debugsource (rpmlib, GLIBC filtered):



Provides
--------
lv2-eq10q:
    lv2-EQ10Q-plugins
    lv2-eq10q
    lv2-eq10q(x86-64)

lv2-eq10q-debuginfo:
    debuginfo(build-id)
    lv2-eq10q-debuginfo
    lv2-eq10q-debuginfo(x86-64)

lv2-eq10q-debugsource:
    lv2-eq10q-debugsource
    lv2-eq10q-debugsource(x86-64)



Diff spec file in url and in SRPM
---------------------------------
--- /home/ben/Downloads/review/2022555-lv2-eq10q/srpm/lv2-eq10q.spec	2023-10-22 19:11:28.177668688 -0400
+++ /home/ben/Downloads/review/2022555-lv2-eq10q/srpm-unpacked/lv2-eq10q.spec	2023-10-16 20:00:00.000000000 -0400
@@ -1,2 +1,12 @@
+## START: Set by rpmautospec
+## (rpmautospec version 0.3.5)
+## RPMAUTOSPEC: autorelease, autochangelog
+%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
+    release_number = 1;
+    base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
+    print(release_number + base_release_number - 1);
+}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
+## END: Set by rpmautospec
+
 Name:           lv2-eq10q
 Version:        2.2
@@ -71,3 +81,4 @@
 
 %changelog
-%autochangelog
+* Tue Oct 17 2023 Nils Philippsen <nils> - 2.2-1
+- Uncommitted changes


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

Comment 16 Nils Philippsen 2023-11-12 10:01:43 UTC
Thanks for the review!

Comment 17 Fedora Admin user for bugzilla script actions 2023-11-12 10:18:30 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/lv2-eq10q


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