Fedora Account System
Red Hat Associate
Red Hat Customer
Spec URL: https://download.copr.fedorainfracloud.org/results/luhaoran/taskhealth/fedora-rawhide-x86_64/11168091-taskhealth/taskhealth.spec SRPM URL: https://download.copr.fedorainfracloud.org/results/luhaoran/taskhealth/fedora-rawhide-x86_64/11168091-taskhealth/taskhealth-0.2.1-1.fc46.src.rpm Description: TaskHealth is a client-daemon thread health monitor for Linux user-space, inspired by QNX HAM. The daemon (taskhealthd) accepts registrations from multiple processes via Unix domain socket and performs cross-process heartbeat monitoring, /proc probes, and alerting. Detects unexpected thread exits, futex deadlocks, and lock-wait timeouts. Fedora Account System Username: luhaoran Reproducible: Always
> 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?