Bug 2277323

Summary: innotop missing for EPEL9
Product: [Fedora] Fedora EPEL Reporter: Simon J Mudd <sjmudd>
Component: innotopAssignee: Luis Bazan <bazanluis20>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: epel9CC: bazanluis20, echevemaster, luis, me
Target Milestone: ---Keywords: Upgrades
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Simon J Mudd 2024-04-26 09:50:44 UTC
Description of problem:

innotop is available in EPEL for CentOS 7/8 but not for CentOS 9 stream.


Version-Release number of selected component (if applicable):

1.13.0-1.el8

How reproducible:

search EPEL repo for innotop and don't find it for EPEL9.

e.g.  https://rpmfind.net/linux/rpm2html/search.php?query=innotop

Steps to Reproduce:

Search for package. Unable to find it.

Actual results:


Expected results:

innotop rpm available in EPEL9 repo.


Additional info:

Thanks for considering this. Moving away from older CentOS versions make this visible.  Providing the same package in the EPEL9 repo would be good.

Comment 1 Simon J Mudd 2024-05-13 13:44:58 UTC
I pulled down the fc40 src rpm and tried to build from that. I notice some BuildRequires: and Requires: entries seem to be missing so made this patch which builds and works:

15:31 [user@host ~/rpmbuild/SPECS]$ diff -u innotop.spec.orig innotop.spec
--- innotop.spec.orig   2024-05-13 15:15:19.919343233 +0200
+++ innotop.spec        2024-05-13 15:22:24.789372700 +0200
@@ -1,6 +1,6 @@
 Name:           innotop
 Version:        1.13.0
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        A MySQL and InnoDB monitor program
 BuildArch:      noarch
 Group:          Applications/Databases
@@ -12,10 +12,9 @@
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 %endif

-BuildRequires:  perl-generators
-BuildRequires:  perl(Data::Dumper)
 BuildRequires:  perl(DBD::mysql)
 BuildRequires:  perl(DBI)
+BuildRequires:  perl(Data::Dumper)
 BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(File::Basename)
 BuildRequires:  perl(File::Temp)
@@ -26,11 +25,18 @@
 BuildRequires:  perl(Test::Harness)
 BuildRequires:  perl(Test::Simple)
 BuildRequires:  perl(Time::HiRes)
+BuildRequires:  perl-English
+BuildRequires:  perl-generators
+BuildRequires:  perl-sigtrap
+Requires:       perl-Term-ReadLine

 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 Requires:       perl(DBD::mysql)
 Requires:       perl(Term::ANSIColor)
 Requires:       perl(Term::ReadKey)
+Requires:       perl-English
+Requires:       perl-sigtrap
+Requires:       perl-Term-ReadLine

 %description
 innotop connects to a MySQL database server and retrieves information from it,
@@ -62,6 +68,9 @@
 %{_mandir}/man1/innotop.1*

 %changelog
+* Mon May 13 2024 Simon J Mudd <sjmudd> - 1.13.0-2
+- Check build for EL9 (seemed to be missing a couple of dependencies)
+
 * Thu Apr 07 2021 Luis Bazan <lbazan> - 1.13.0-1
 - New upstream version

15:38 [user@host ~/rpmbuild/SPECS]$

This was tested against OL9 but I'd expect CentOS 9 will work too.
I'd rather not have to maintain a dedicated fork to the "upstream" version which I consider this to be.
I also haven't double checked if the additional entries will work with other EPEL versions as this was just a first step in trying to solve the problem.

So please consider adding these extra entries possibly for EL9 only.