https://bugzilla.redhat.com/show_bug.cgi?id=1655421
Bug ID: 1655421 Summary: Review Request: hw-probe - A tool to check operability of computer hardware Product: Fedora Version: rawhide Component: Package Review Severity: medium Assignee: nobody@fedoraproject.org Reporter: andrei.moscow@mail.ru QA Contact: extras-qa@fedoraproject.org CC: package-review@lists.fedoraproject.org
Spec URL: https://github.com/linuxhw/build-stuff/releases/download/1.4-Fedora/hw-probe... SRPM URL: https://github.com/linuxhw/build-stuff/releases/download/1.4-Fedora/hw-probe... Description: A tool to check operability of computer hardware and upload result to the Linux hardware database.
Probe — is a snapshot of your computer's hardware state and system logs. The tool returns a permanent URL to view the probe of the computer.
The tool is intended to simplify collecting of logs necessary for investigating hardware related problems. Just ask a user to run one simple command to collect all the system logs at once:
sudo hw-probe -all -upload
By creating probes you contribute to the HDD/SSD Real-Life Reliability Test study: https://github.com/linuxhw/SMART
Fedora Account System Username: andrewponomarenko
https://bugzilla.redhat.com/show_bug.cgi?id=1655421
Andrey Ponomarenko andrei.moscow@mail.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |177841 (FE-NEEDSPONSOR)
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=177841 [Bug 177841] Tracker: Review requests from new Fedora packagers who need a sponsor
https://bugzilla.redhat.com/show_bug.cgi?id=1655421
Vasiliy Glazov vascom2@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |vascom2@gmail.com
--- Comment #1 from Vasiliy Glazov vascom2@gmail.com --- 1. Remove Group: Development/Other 2. Source0: must be URL to download sources. 3. Are you sure this need? %define debug_package %{nil} Also use %global instead of %define. 4. Instead %setup -q -n hw-probe-%{version} use new macro %autosetup -n hw-probe-%{version} 5. Bugreport this to upstream chmod 0644 README.md 6. Instead make install prefix=%{_prefix} DESTDIR=%{buildroot} use new macro %make_install prefix=%{_prefix} 7. Remove clean section. 8. Remove %defattr(-,root,root,-) from %file section. 9. Add changelog section.
https://bugzilla.redhat.com/show_bug.cgi?id=1655421
--- Comment #2 from Andrey Ponomarenko andrei.moscow@mail.ru --- Fixed.
Thank you!
https://bugzilla.redhat.com/show_bug.cgi?id=1655421
--- Comment #3 from Vasiliy Glazov vascom2@gmail.com --- Also change release to Release: 1%{?dist}
Add license file to %files section.
Add new SRPM URL: in this bugreport.
But I can't be sponsor for you :(
https://bugzilla.redhat.com/show_bug.cgi?id=1655421
--- Comment #4 from Andrey Ponomarenko andrei.moscow@mail.ru --- Fixed.
SRPM URL: https://github.com/linuxhw/build-stuff/releases/download/1.4-Fedora/hw-probe...
https://bugzilla.redhat.com/show_bug.cgi?id=1655421
--- Comment #5 from Vasiliy Glazov vascom2@gmail.com --- Move license file from %doc README.md LICENSE to %license LICENSE
https://bugzilla.redhat.com/show_bug.cgi?id=1655421
Neal Gompa ngompa13@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ngompa13@gmail.com
--- Comment #6 from Neal Gompa ngompa13@gmail.com --- Remove %ifarch in here, since you shouldn't use it with noarch packages.
Use "Recommends: mcelog" instead so that it tolerates it not being available.
https://bugzilla.redhat.com/show_bug.cgi?id=1655421
--- Comment #7 from Dominik 'Rathann' Mierzejewski dominik@greysector.net --- 1. Use:
Source0: https://github.com/linuxhw/hw-probe/archive/%%7Bversion%7D/%%7Bname%7D-%%7Bv...
or even:
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
2.
%autosetup -n hw-probe-%{version}
You can drop the -n hw-probe-%{version}, it's the default.
chmod 0644 README.md LICENSE
Why do you need chmod?
https://bugzilla.redhat.com/show_bug.cgi?id=1655421
--- Comment #8 from Andrey Ponomarenko andrei.moscow@mail.ru --- Fixed. Thank you!
https://bugzilla.redhat.com/show_bug.cgi?id=1655421
--- Comment #9 from Vasiliy Glazov vascom2@gmail.com --- Change License tag to LGPLv2+. Available name for licenses here https://fedoraproject.org/wiki/Licensing:Main?rd=Licensing#SoftwareLicenses
https://bugzilla.redhat.com/show_bug.cgi?id=1655421
Igor Gnatenko i.gnatenko.brain@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |i.gnatenko.brain@gmail.com Blocks|177841 (FE-NEEDSPONSOR) | Assignee|nobody@fedoraproject.org |i.gnatenko.brain@gmail.com
--- Comment #10 from Igor Gnatenko i.gnatenko.brain@gmail.com --- I'm going to sponsor you and review this package.
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=177841 [Bug 177841] Tracker: Review requests from new Fedora packagers who need a sponsor
https://bugzilla.redhat.com/show_bug.cgi?id=1655421
Igor Gnatenko i.gnatenko.brain@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags| |fedora-review?
--- Comment #11 from Igor Gnatenko i.gnatenko.brain@gmail.com --- So it seems that Vasily and Dominik made your specfile look almost good.
* Correct License tag as described above. * Add BuildRequires: perl-generators, so `use …` are converted to dependencies.
Requires: perl Requires: perl-libwww-perl
You don't need these two.
https://bugzilla.redhat.com/show_bug.cgi?id=1655421
Miroslav Suchý msuchy@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |msuchy@redhat.com
--- Comment #12 from Miroslav Suchý msuchy@redhat.com --- You need to add
BuildRequires: perl
so you have perl available in build time.
https://bugzilla.redhat.com/show_bug.cgi?id=1655421
--- Comment #13 from Miroslav Suchý msuchy@redhat.com --- It is missing a man page.
https://bugzilla.redhat.com/show_bug.cgi?id=1655421
--- Comment #14 from Andrey Ponomarenko andrei.moscow@mail.ru --- (In reply to Igor Gnatenko from comment #10)
I'm going to sponsor you and review this package.
Thank you!
https://bugzilla.redhat.com/show_bug.cgi?id=1655421
--- Comment #15 from Andrey Ponomarenko andrei.moscow@mail.ru --- (In reply to Igor Gnatenko from comment #11)
- Add BuildRequires: perl-generators, so `use …` are converted to
dependencies.
Requires: perl Requires: perl-libwww-perl
You don't need these two.
Most of the modules (including perl-libwww-perl) are imported by `require ...`, not `use ...`. Is it OK to remove perl-libwww-perl from deps in this case?
https://bugzilla.redhat.com/show_bug.cgi?id=1655421
--- Comment #16 from Andrey Ponomarenko andrei.moscow@mail.ru --- (In reply to Igor Gnatenko from comment #10)
I'm going to sponsor you and review this package.
Tried to continue at https://fedoraproject.org/wiki/PackageMaintainers/Join#Add_Package_to_Source..., but got an error:
]$ fedpkg request-repo hw-probe 1655421 Could not execute request_repo: The Bugzilla bug is not approved yet
https://bugzilla.redhat.com/show_bug.cgi?id=1655421
Michal Schorm mschorm@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mschorm@redhat.com Flags| |needinfo?(i.gnatenko.brain@ | |gmail.com)
https://bugzilla.redhat.com/show_bug.cgi?id=1655421
--- Comment #17 from Jason Tibbitts tibbs@math.uh.edu --- Well, he said that he would review it, not that he had approved it.
package-review@lists.fedoraproject.org