Bug 2555043
| Summary: | Review Request: taskhealth - Linux thread health monitoring (client-daemon) | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | luhaoran <37183985> |
| Component: | Package Review | Assignee: | Nobody's working on this, feel free to take it <nobody> |
| Status: | NEW --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | fedora, package-review |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | --- | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | --- | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 177841 | ||
|
Description
luhaoran
2026-10-18 15:45:51 UTC
> URL: https://github.com/LuHaoran1981/taskhealth > Source0: https://github.com/LuHaoran1981/taskhealth/releases/download/v%{version}/%{name}-%{version}.tar.gz You can use "Source0: %{URL}/releases/..." to avoid duplicating the repository address. > %build > %set_build_flags Calling %set_build_flags manually is not needed since Fedora 36. https://fedoraproject.org/wiki/Changes/SetBuildFlagsBuildCheck > %make_build all-full prefix=/usr libdir=%{_libdir} You can use %{_prefix} here. > make install DESTDIR=%{buildroot} prefix=/usr libdir=%{_libdir} sbindir=%{_sbindir} Using %make_install will automatically set DESTDIR for you. Also, same thing with %{_prefix} as above. > %files > %{_libdir}/libtaskhealth.a Packaging static libraries is discouraged. If you want to keep it, please add "Provides: libtaskhealth-static" to the devel subpackage. https://docs.fedoraproject.org/en-US/packaging-guidelines/#packaging-static-libraries Thanks for the review! All five points are fixed:
1. Source0 now uses %{URL} to avoid duplicating the repository address.
2. Removed the manual %set_build_flags call (not needed since F36).
3. Replaced /usr with %{_prefix} in %make_build.
4. Switched to %make_install, using %{_prefix} as well.
5. Added "Provides: libtaskhealth-static" to the devel subpackage.
Updated:
Spec URL: https://download.copr.fedorainfracloud.org/results/luhaoran/taskhealth/srpm-builds/11173453/taskhealth.spec
SRPM URL: https://download.copr.fedorainfracloud.org/results/luhaoran/taskhealth/srpm-builds/11173453/taskhealth-0.2.1-1.src.rpm
Copr build: https://copr.fedorainfracloud.org/coprs/luhaoran/taskhealth/build/11173453/
Updated to 0.2.2 (build succeeded on fedora-rawhide-x86_64): Spec URL: https://download.copr.fedorainfracloud.org/results/luhaoran/taskhealth/srpm-builds/11240158/taskhealth.spec SRPM URL: https://download.copr.fedorainfracloud.org/results/luhaoran/taskhealth/srpm-builds/11240158/taskhealth-0.2.2-1.src.rpm Copr build: https://copr.fedorainfracloud.org/coprs/build/11240158 Changes since 0.2.1: - Allow non-root clients to connect to the daemon socket (socket mode 0666 + SO_PEERCRED anti-spoofing) - Add %check running the daemon and integration test suites - Harden the taskhealthd systemd unit - Man pages for taskhealth(7), taskhealthd(8), taskhealth-demo(1) I'd also like to request sponsorship - this is my first Fedora package and I need a sponsor (FE-NEEDSPONSOR). Would you be willing to sponsor me, or point me to someone who can? |