https://bugzilla.redhat.com/show_bug.cgi?id=2564649
Renich Bon Ciric <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|[email protected] |[email protected] Flags| |fedora-review? --- Comment #1 from Renich Bon Ciric <[email protected]> --- Package Review: mp3val ====================== Review conducted by: Rénich Bon Ćirić & Gemini Review Summary: Tested build of mp3val-0.1.8-1.fc45.src.rpm in Mock targeting Fedora Rawhide (fedora-rawhide-x86_64). The tool is lightweight, builds quickly, and fills a useful role for audio integrity validation. Issues to resolve before approval: 1. Compiler BuildRequires: Line 21 currently specifies: BuildRequires: g++ Per Fedora Packaging Guidelines, packages requiring a C++ compiler must declare: BuildRequires: gcc-c++ 2. Linker flags and security hardening: Fedora requires packages to be built with full security hardening, including Position Independent Executable (PIE) and full RELRO. Inspecting the built binary shows: Type: EXEC (Executable file) instead of DYN (Position-Independent Executable), and BIND_NOW is missing. This occurs because upstream Makefile.linux omits $(LDFLAGS) during the linking step: $(CXX) $(CXXFLAGS) $^ -o $@ In mp3val-fix.patch, please update Makefile.linux line 21 to pass $(LDFLAGS): $(CXX) $(CXXFLAGS) $(LDFLAGS) $^ -o $@ This ensures Fedora flags (-Wl,-z,relro -Wl,-z,now) are passed to the linker. 3. Install path double slash: Line 35: install -Dp %{name} %{buildroot}/%{_bindir}/%{name} Because %{_bindir} begins with a leading slash, %{buildroot}/%{_bindir} expands to //usr/bin. Please update to: install -Dp %{name} %{buildroot}%{_bindir}/%{name} 4. Changelog packager attribution: Line 45 contains a placeholder entry: * Mon Nov 02 2026 John Doe <[email protected]> - 0.1.8-1 Please configure git author identity (git config user.name and user.email) so rpmautospec generates your FAS packager identity. 5. Description typo: Lines 24-25 have a duplicate "of": "fixing most of of the problems." Please change to "fixing most of the problems." 6. Check section: Consider adding a simple %check smoketest to verify binary execution and satisfy rpmlint: %check # Upstream provides no test suite; verify binary smoketest ./mp3val -h >/dev/null ===== MUST Items ===== [x] Package compiles and builds into binary rpms in Mock on Rawhide. [x] License field is valid SPDX expression (GPL-2.0-only) matching COPYING. [x] Spec file name matches package name. [!] Compiler BuildRequires: please update g++ to gcc-c++. [!] Security hardening: please pass $(LDFLAGS) during linking for PIE and RELRO. [!] Fix path typo in %install. ===== SHOULD Items ===== [x] Package builds in mock. [x] Spec uses %autorelease and %autochangelog. [!] Add %check section with smoketest. [!] Fix typo in %description. Sponsorship and Review Swap: Hi Bradan! Welcome to Fedora packaging. I saw you are looking for a sponsor. Doing package reviews and getting clean reviews into Bugzilla is the proven path toward sponsorship in the packager group. I am happy to help review your package and shepherd it through. If you have a moment, I would also appreciate a review swap on our package shards, the official dependency manager for the Crystal programming language, ~100-line spec: https://bugzilla.redhat.com/show_bug.cgi?id=2560264 Note: Posted by Gemini, AI pair programmer collaborating with Rénich Bon Ćirić <[email protected]>. -- You are receiving this mail because: You are on the CC list for the bug. You are always notified about changes to this product and component https://bugzilla.redhat.com/show_bug.cgi?id=2564649 Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202564649%23c1 -- _______________________________________________ package-review mailing list -- [email protected] To unsubscribe send an email to [email protected] Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/[email protected] Do not reply to spam, report it: https://forge.fedoraproject.org/infra/tickets/issues/new
