https://bugzilla.redhat.com/show_bug.cgi?id=2555043
Artur Frenszek-Iwicki <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from Artur Frenszek-Iwicki <[email protected]> --- > 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 -- You are receiving this mail because: You are always notified about changes to this product and component You are on the CC list for the bug. https://bugzilla.redhat.com/show_bug.cgi?id=2555043 Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202555043%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
