Hey Tom,
Thanks for helping me out, I replaced all the hardcoded directories with macros and the build is now successful for all architectures .
Here is the successful koji build
 https://koji.fedoraproject.org/koji/taskinfo?taskID=41450255
Thanks again,
Harsh

On Mon, Feb 10, 2020 at 9:46 PM Tom Hughes <tom@compton.nu> wrote:
You have hard coded /usr/lib64 in your spec but that is not the path
on 32 bit systems - use %{_libdir} instead and it will work.

In general you should be using macros rather than hard coding paths
in fact - this is just one case where it goes very wrong if you don't.

Tom

On 10/02/2020 16:11, Harsh Jain wrote:
> but I still can't figure out where the errors are in the build logs
> .Sorry the message was broken into 2 .
> Thanks ,
> Harsh
>
> On Mon, Feb 10, 2020 at 9:40 PM Harsh Jain <harshjain075@gmail.com
> <mailto:harshjain075@gmail.com>> wrote:
>
>     Thanks for telling me, turns out it was missing a few more
>     dependencies, I rebuilt the package and it now seems to build on all
>     except arch armv7hl and i686
>     here is the new koji build
>     https://koji.fedoraproject.org/koji/taskinfo?taskID=41448837
>     , I've updated the spec file and rpm here
>     https://github.com/a-mere-peasant/elementary-tweaks-fedora
>
>     On Mon, Feb 10, 2020 at 7:15 PM Tom Hughes <tom@compton.nu
>     <mailto:tom@compton.nu>> wrote:
>
>         On 10/02/2020 13:31, Harsh Jain wrote:
>
>          > I am trying to package elementary-tweaks and am getting
>         failed build in
>          > koji
>          > I cannot find where the build is failing. This is my first time
>          > packaging something and have no idea where to look for errors
>         in the
>          > build logs . Any help is appreciated . Here is the build
>          > https://koji.fedoraproject.org/koji/taskinfo?taskID=41447194
>          > and here are the spec and rpm files
>          > https://github.com/a-mere-peasant/elementary-tweaks-fedora
>
>         You appear to be mussing a BuildRequire for switchboard-devel.
>
>         Tom
>
>         --
>         Tom Hughes (tom@compton.nu <mailto:tom@compton.nu>)
>         http://compton.nu/
>


--
Tom Hughes (tom@compton.nu)
http://compton.nu/