Re: [OS-BUILD PATCH] Fix "multiple %files for package kernel-tools"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 04, 2020 at 03:40:30PM -0000, Gitlab Bridge on behalf of psgreco wrote:
> From: Pablo Greco <pgreco@xxxxxxxxxxxxxxxxx>
> 
> ---
>  redhat/kernel.spec.template | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/redhat/kernel.spec.template b/redhat/kernel.spec.template
> index 579344b69485..82de29d30e27 100644
> --- a/redhat/kernel.spec.template
> +++ b/redhat/kernel.spec.template
> @@ -2429,8 +2429,9 @@ fi
>  %endif
>  
>  %if %{with_tools}
> +%ifnarch %{cpupowerarchs}
>  %files -n kernel-tools
> -%ifarch %{cpupowerarchs}
> +%else
>  %files -n kernel-tools -f cpupower.lang
>  %{_bindir}/cpupower
>  %{_datadir}/bash-completion/completions/cpupower

Acked-by: Brian Masney <bmasney@xxxxxxxxxx>

Minor nit: It would be nice to have a commit description for next time
but probably not worth posting v2.

Brian
_______________________________________________
kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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/kernel@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux