[packages/greetd] include explicit target during install on x32

Elan Ruusamäe glen at pld-linux.org
Tue Jan 4 09:35:54 CET 2022


On 04.01.2022 01:28, atler wrote:
> commit fdd1f34fd3fc3d656d911259d6bf45d156673813
> Author: Jan Palus <atler at pld-linux.org>
> Date:   Tue Jan 4 00:27:35 2022 +0100
>
>      include explicit target during install on x32
>
>   greetd.spec | 8 +++++++-
>   1 file changed, 7 insertions(+), 1 deletion(-)
> ---
> diff --git a/greetd.spec b/greetd.spec
> index 50b039e..e214165 100644
> --- a/greetd.spec
> +++ b/greetd.spec
> @@ -29,6 +29,12 @@ Requires:	greetd(greeter)
>   Provides:	user(greetd-greeter)
>   BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
>   
> +%ifarch x32
> +%define		cargo_outdir	target/x86_64-unknown-linux-gnux32
> +%else
> +%define		cargo_outdir	target
> +%endif


maybe instead update macros to have symmetric output dir for all targets?



         --target <TRIPLE>...         Build for the target triple
         --target-dir <DIRECTORY>     Directory for all generated artifacts





More information about the pld-devel-en mailing list