Re: rpmbuild oddity on F21 (but not F20)

2015-04-16 Thread Michael Schwendt
On Wed, 15 Apr 2015 21:18:07 -0500, Ranjan Maitra wrote:

> It appears that i may have accidentally (and completely) messed up my spec 
> file. Without the original spec file, the problem is no longer reproducible. 
> Though the two rpms were successfully created and had the oddity with the 
> spec file (that worked).
> 
> I will have to work on recreating a spec file.

The archive wbar-2.3.5.tar.bz2 you use includes precompiled files
(object files and executables). If you created it yourself, try again
after "make clean". If you didn't create it, run "make clean" or something
equivalent in %prep or %build.

That will fix your 32-bit/64-bit build issue. It doesn't fix the other
mistakes in the spec file.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: rpmbuild oddity on F21 (but not F20)

2015-04-15 Thread Ranjan Maitra
Thank, Mike!



On Wed, 15 Apr 2015 23:34:06 +0200 Michael Schwendt  wrote:

> On Wed, 15 Apr 2015 07:57:55 -0800, Ranjan Maitra wrote:
> 
> > Sorry, my mistake: I have a newer version of wbar (which I modified, so I 
> > called it as version 2.3.5). Is there a place I can upload this bz2? fpaste 
> > does not like binaries.
>
> dropbox e.g.

Thanks! I was wondering if fedora has a site, I guess not. I will post there 
and invite you over.

> Usually I spot lots of mistakes just by skimming over a spec file
> (and there are several in your package), but I would like to focus on
> your particular build problem instead. Without the used source archive,
> I can't comment on your build problem.
> 
> That's all you get? It looks like empty %prep, empty %build and %empty
> install sections -> a completely broken spec file.

It appears that i may have accidentally (and completely) messed up my spec 
file. Without the original spec file, the problem is no longer reproducible. 
Though the two rpms were successfully created and had the oddity with the spec 
file (that worked).

I will have to work on recreating a spec file.

Thanks again!
Best wishes,
Ranjan


FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!
Check it out at http://www.inbox.com/earth


-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: rpmbuild oddity on F21 (but not F20)

2015-04-15 Thread Suvayu Ali
On Wed, Apr 15, 2015 at 02:54:05PM -0500, Ranjan Maitra wrote:
> On Wed, 15 Apr 2015 21:24:22 +0200 Suvayu Ali  
> wrote:
> 
> > On Wed, Apr 15, 2015 at 01:08:25PM -0500, Ranjan Maitra wrote:
> > > On Wed, 15 Apr 2015 18:56:29 +0100 James Hogarth 
> > >  wrote:
> > > 
> > > > What is the behaviour using mock instead so that you have a nice clean
> > > > build environment?
> > > 
> > > I am sorry but how does one use mock? I have never used it before, sorry.
> > 
> > You can start by adapting the attached script.  I used this to maintain
> > a local yum repo before Fedora copr came along.
> > 
> 
> Thanks, Suvayu! Do I need any additional packages to get started? 

# yum install mock

should do it.

-- 
Suvayu

Open source is the future. It sets us free.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: rpmbuild oddity on F21 (but not F20)

2015-04-15 Thread Michael Schwendt
On Wed, 15 Apr 2015 07:57:55 -0800, Ranjan Maitra wrote:

> Sorry, my mistake: I have a newer version of wbar (which I modified, so I 
> called it as version 2.3.5). Is there a place I can upload this bz2? fpaste 
> does not like binaries.
>

dropbox e.g.

> I have uploaded a new spec file to fpaste (to correct for this change):
> 
> fpaste wbar.spec
> Uploading (1.8KiB)...
> http://ur1.ca/k6knt -> http://paste.fedoraproject.org/211298/13313142

Usually I spot lots of mistakes just by skimming over a spec file
(and there are several in your package), but I would like to focus on
your particular build problem instead. Without the used source archive,
I can't comment on your build problem.

> > Can you upload your full rpmbuild output to some place?
> 
> My rpmbuild on this machine is giving me problems now (sorry!). I can't tell 
> what the problems are because it seems to add a release number to the 
> directory name upon unpacking.
> 
> $ rpmbuild -ba  wbar.spec 
> Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.cYwV45
> Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ehsq8s
> Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.0FuscQ

That's all you get? It looks like empty %prep, empty %build and %empty
install sections -> a completely broken spec file.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: rpmbuild oddity on F21 (but not F20)

2015-04-15 Thread Ranjan Maitra
On Wed, 15 Apr 2015 21:24:22 +0200 Suvayu Ali  
wrote:

> On Wed, Apr 15, 2015 at 01:08:25PM -0500, Ranjan Maitra wrote:
> > On Wed, 15 Apr 2015 18:56:29 +0100 James Hogarth  
> > wrote:
> > 
> > > What is the behaviour using mock instead so that you have a nice clean
> > > build environment?
> > 
> > I am sorry but how does one use mock? I have never used it before, sorry.
> 
> You can start by adapting the attached script.  I used this to maintain
> a local yum repo before Fedora copr came along.
> 

Thanks, Suvayu! Do I need any additional packages to get started? 

Best wishes,
Ranjan


FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!
Check it out at http://www.inbox.com/earth


-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: rpmbuild oddity on F21 (but not F20)

2015-04-15 Thread Suvayu Ali
On Wed, Apr 15, 2015 at 01:08:25PM -0500, Ranjan Maitra wrote:
> On Wed, 15 Apr 2015 18:56:29 +0100 James Hogarth  
> wrote:
> 
> > What is the behaviour using mock instead so that you have a nice clean
> > build environment?
> 
> I am sorry but how does one use mock? I have never used it before, sorry.

You can start by adapting the attached script.  I used this to maintain
a local yum repo before Fedora copr came along.

Hope this helps,

-- 
Suvayu

Open source is the future. It sets us free.
#!/bin/bash

# set -o xtrace

if [[ $# -lt 1 ]]; then
echo "Insufficient arguments"
echo "Usage: $ ${0##*/}  [mock options]"
exit 1
fi

declare package="$1" rpmbuildroot=~/rpmbuild outdir
declare tmpdir=$(mktemp -d --tmpdir=/tmp mock_rpms_${UID}_)
declare mockargs="${@:2}"

# open log file
exec > >(tee $tmpdir/$package.log)
exec 2>&1

# Create directory tree
echo "Creating mock output dir tree"
declare outdir=/opt/local-repo
mkdir -p $outdir/{SRPMS,RPMS}
touch $tmpdir/timestamp

# SRPM
echo "Building SRPM"
mock -v $mockargs --resultdir=$outdir/SRPMS --buildsrpm \
--spec $rpmbuildroot/SPECS/$package.spec \
--source $rpmbuildroot/SOURCES

declare srpm=$(find $outdir -newer $tmpdir/timestamp -name "*\.src\.rpm")

# RPM
echo "Building RPM"
mock -v $mockargs --resultdir=$outdir/RPMS --rebuild $srpm

rm -vrf $outdir/RPMS/*src.rpm
echo "Done"

# --resultdir accepts python options from config
# e.g.: =~/mock/"%(dist)s"/"%(target_arch)s"/
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: rpmbuild oddity on F21 (but not F20)

2015-04-15 Thread Ranjan Maitra
On Wed, 15 Apr 2015 18:56:29 +0100 James Hogarth  
wrote:

> On 15 Apr 2015 16:58, "Ranjan Maitra"  wrote:
> >
> >
> > > -Original Message-
> > > From: mschwe...@gmail.com
> > > Sent: Wed, 15 Apr 2015 15:39:07 +0200
> > > To: users@lists.fedoraproject.org
> > > Subject: Re: rpmbuild oddity on F21 (but not F20)
> > >
> > > On Wed, 15 Apr 2015 08:03:58 -0500, Ranjan Maitra wrote:
> > >
> > >> So, I have the strangest of problems.
> > >>
> > >> I create an rpm of wbar available in the spec file uploaded here:
> > >>
> > >> $ fpaste wbar.spec
> > >> Uploading (1.7KiB)...
> > >> http://ur1.ca/k6jqw -> http://paste.fedoraproject.org/211235/29102744
> > >
> > > The Source0 in that spec file gives 404 not found.
> > > Which means I could not examine the source code you used. Perhaps it
> > > contains precompiled files?
> >
> > Sorry, my mistake: I have a newer version of wbar (which I modified, so I
> called it as version 2.3.5). Is there a place I can upload this bz2? fpaste
> does not like binaries.
> >
> > I have uploaded a new spec file to fpaste (to correct for this change):
> >
> > fpaste wbar.spec
> > Uploading (1.8KiB)...
> > http://ur1.ca/k6knt -> http://paste.fedoraproject.org/211298/13313142
> >
> >
> >
> > > Can you upload your full rpmbuild output to some place?
> >
> > My rpmbuild on this machine is giving me problems now (sorry!). I can't
> tell what the problems are because it seems to add a release number to the
> directory name upon unpacking.
> 
> What is the behaviour using mock instead so that you have a nice clean
> build environment?

I am sorry but how does one use mock? I have never used it before, sorry.

Best wishes,
Ranjan


FREE 3D MARINE AQUARIUM SCREENSAVER - Watch dolphins, sharks & orcas on your 
desktop!
Check it out at http://www.inbox.com/marineaquarium


-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: rpmbuild oddity on F21 (but not F20)

2015-04-15 Thread James Hogarth
On 15 Apr 2015 16:58, "Ranjan Maitra"  wrote:
>
>
> > -Original Message-
> > From: mschwe...@gmail.com
> > Sent: Wed, 15 Apr 2015 15:39:07 +0200
> > To: users@lists.fedoraproject.org
> > Subject: Re: rpmbuild oddity on F21 (but not F20)
> >
> > On Wed, 15 Apr 2015 08:03:58 -0500, Ranjan Maitra wrote:
> >
> >> So, I have the strangest of problems.
> >>
> >> I create an rpm of wbar available in the spec file uploaded here:
> >>
> >> $ fpaste wbar.spec
> >> Uploading (1.7KiB)...
> >> http://ur1.ca/k6jqw -> http://paste.fedoraproject.org/211235/29102744
> >
> > The Source0 in that spec file gives 404 not found.
> > Which means I could not examine the source code you used. Perhaps it
> > contains precompiled files?
>
> Sorry, my mistake: I have a newer version of wbar (which I modified, so I
called it as version 2.3.5). Is there a place I can upload this bz2? fpaste
does not like binaries.
>
> I have uploaded a new spec file to fpaste (to correct for this change):
>
> fpaste wbar.spec
> Uploading (1.8KiB)...
> http://ur1.ca/k6knt -> http://paste.fedoraproject.org/211298/13313142
>
>
>
> > Can you upload your full rpmbuild output to some place?
>
> My rpmbuild on this machine is giving me problems now (sorry!). I can't
tell what the problems are because it seems to add a release number to the
directory name upon unpacking.

What is the behaviour using mock instead so that you have a nice clean
build environment?
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: rpmbuild oddity on F21 (but not F20)

2015-04-15 Thread Ranjan Maitra

> -Original Message-
> From: mschwe...@gmail.com
> Sent: Wed, 15 Apr 2015 15:39:07 +0200
> To: users@lists.fedoraproject.org
> Subject: Re: rpmbuild oddity on F21 (but not F20)
> 
> On Wed, 15 Apr 2015 08:03:58 -0500, Ranjan Maitra wrote:
> 
>> So, I have the strangest of problems.
>> 
>> I create an rpm of wbar available in the spec file uploaded here:
>> 
>> $ fpaste wbar.spec
>> Uploading (1.7KiB)...
>> http://ur1.ca/k6jqw -> http://paste.fedoraproject.org/211235/29102744
> 
> The Source0 in that spec file gives 404 not found.
> Which means I could not examine the source code you used. Perhaps it
> contains precompiled files?

Sorry, my mistake: I have a newer version of wbar (which I modified, so I 
called it as version 2.3.5). Is there a place I can upload this bz2? fpaste 
does not like binaries.

I have uploaded a new spec file to fpaste (to correct for this change):

fpaste wbar.spec
Uploading (1.8KiB)...
http://ur1.ca/k6knt -> http://paste.fedoraproject.org/211298/13313142



> Can you upload your full rpmbuild output to some place?

My rpmbuild on this machine is giving me problems now (sorry!). I can't tell 
what the problems are because it seems to add a release number to the directory 
name upon unpacking.

$ rpmbuild -ba  wbar.spec 
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.cYwV45
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ehsq8s
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.0FuscQ
Processing files: wbar-2.3.5-1.fc21.x86_64
error: Directory not found: 
/home/maitra/rpmbuild/BUILDROOT/wbar-2.3.5-1.fc21.x86_64/etc/bash_completion.d
error: File not found: 
/home/maitra/rpmbuild/BUILDROOT/wbar-2.3.5-1.fc21.x86_64/etc/wbar.d
error: Directory not found: 
/home/maitra/rpmbuild/BUILDROOT/wbar-2.3.5-1.fc21.x86_64/usr/share/locale
error: Directory not found: 
/home/maitra/rpmbuild/BUILDROOT/wbar-2.3.5-1.fc21.x86_64/usr/share/man/es
error: File not found by glob: 
/home/maitra/rpmbuild/BUILDROOT/wbar-2.3.5-1.fc21.x86_64/usr/bin/*
error: Directory not found: 
/home/maitra/rpmbuild/BUILDROOT/wbar-2.3.5-1.fc21.x86_64/usr/share/wbar
error: File not found by glob: 
/home/maitra/rpmbuild/BUILDROOT/wbar-2.3.5-1.fc21.x86_64/usr/share/man/man1/*
error: File not found by glob: 
/home/maitra/rpmbuild/BUILDROOT/wbar-2.3.5-1.fc21.x86_64/usr/share/pixmaps/*
error: File not found: 
/home/maitra/rpmbuild/BUILDROOT/wbar-2.3.5-1.fc21.x86_64/usr/share/xsessions/wbar.desktop
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ydtKjd
error: File not found: 
/home/maitra/rpmbuild/BUILDROOT/wbar-2.3.5-1.fc21.x86_64/usr/share/doc/wbar


RPM build errors:
Directory not found: 
/home/maitra/rpmbuild/BUILDROOT/wbar-2.3.5-1.fc21.x86_64/etc/bash_completion.d
File not found: 
/home/maitra/rpmbuild/BUILDROOT/wbar-2.3.5-1.fc21.x86_64/etc/wbar.d
Directory not found: 
/home/maitra/rpmbuild/BUILDROOT/wbar-2.3.5-1.fc21.x86_64/usr/share/locale
Directory not found: 
/home/maitra/rpmbuild/BUILDROOT/wbar-2.3.5-1.fc21.x86_64/usr/share/man/es
File not found by glob: 
/home/maitra/rpmbuild/BUILDROOT/wbar-2.3.5-1.fc21.x86_64/usr/bin/*
Directory not found: 
/home/maitra/rpmbuild/BUILDROOT/wbar-2.3.5-1.fc21.x86_64/usr/share/wbar
File not found by glob: 
/home/maitra/rpmbuild/BUILDROOT/wbar-2.3.5-1.fc21.x86_64/usr/share/man/man1/*
File not found by glob: 
/home/maitra/rpmbuild/BUILDROOT/wbar-2.3.5-1.fc21.x86_64/usr/share/pixmaps/*
File not found: 
/home/maitra/rpmbuild/BUILDROOT/wbar-2.3.5-1.fc21.x86_64/usr/share/xsessions/wbar.desktop
File not found: 
/home/maitra/rpmbuild/BUILDROOT/wbar-2.3.5-1.fc21.x86_64/usr/share/doc/wbar

Many thanks,
Ranjan


FREE 3D MARINE AQUARIUM SCREENSAVER - Watch dolphins, sharks & orcas on your 
desktop!
Check it out at http://www.inbox.com/marineaquarium


-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: rpmbuild oddity on F21 (but not F20)

2015-04-15 Thread Ranjan Maitra
> -Original Message-
> From: j.p...@tesco.net
> Sent: Wed, 15 Apr 2015 14:12:36 +0100
> To: users@lists.fedoraproject.org
> Subject: Re: rpmbuild oddity on F21 (but not F20)
> 
> On 15/04/15 14:03, Ranjan Maitra wrote:
>> So, I have the strangest of problems.
>> 
>> I create an rpm of wbar available in the spec file uploaded here:
>> 
>> $ fpaste wbar.spec
>> Uploading (1.7KiB)...
>> http://ur1.ca/k6jqw -> http://paste.fedoraproject.org/211235/29102744
>> 
>> and have a strange problem on F21. The x86_64 rpm created on F20 has no
>> issues:
>> 
> 
>> 
>> 
>> But the same rpm using the same spec file created using the same command
>> (rpmbuild -bb wbar.spec) on F21, when installed wants to bring in all
>> these i686 rpms as dependencies. I was wondering what is causing these
>> issues and how to get around them?
>> 
> 
> Perhaps they're already installed in f20?

No, I am installing both rpms on F21 (and btw, the i686's were not pulled in on 
F20 either). 

Ranjan


Can't remember your password? Do you need a strong and secure password?
Use Password manager! It stores your passwords & protects your account.
Check it out at http://mysecurelogon.com/password-manager


-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: rpmbuild oddity on F21 (but not F20)

2015-04-15 Thread Michael Schwendt
On Wed, 15 Apr 2015 08:03:58 -0500, Ranjan Maitra wrote:

> So, I have the strangest of problems.
> 
> I create an rpm of wbar available in the spec file uploaded here:
> 
> $ fpaste wbar.spec 
> Uploading (1.7KiB)...
> http://ur1.ca/k6jqw -> http://paste.fedoraproject.org/211235/29102744

The Source0 in that spec file gives 404 not found.
Which means I could not examine the source code you used. Perhaps it
contains precompiled files?

Can you upload your full rpmbuild output to some place?
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: rpmbuild oddity on F21 (but not F20)

2015-04-15 Thread John Pilkington

On 15/04/15 14:03, Ranjan Maitra wrote:

So, I have the strangest of problems.

I create an rpm of wbar available in the spec file uploaded here:

$ fpaste wbar.spec
Uploading (1.7KiB)...
http://ur1.ca/k6jqw -> http://paste.fedoraproject.org/211235/29102744

and have a strange problem on F21. The x86_64 rpm created on F20 has no issues:






But the same rpm using the same spec file created using the same command 
(rpmbuild -bb wbar.spec) on F21, when installed wants to bring in all these 
i686 rpms as dependencies. I was wondering what is causing these issues and how 
to get around them?



Perhaps they're already installed in f20?

.. but I'm having rpmbuild problems in f21 too, trying to rebuild an 
srpm that worked in SL7


John P


--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


rpmbuild oddity on F21 (but not F20)

2015-04-15 Thread Ranjan Maitra
So, I have the strangest of problems.

I create an rpm of wbar available in the spec file uploaded here:

$ fpaste wbar.spec 
Uploading (1.7KiB)...
http://ur1.ca/k6jqw -> http://paste.fedoraproject.org/211235/29102744

and have a strange problem on F21. The x86_64 rpm created on F20 has no issues:


cd x86_64/
maitra@alakananda 08:00:41~$ sudo yum localinstall wbar-2.3.5-1.fc20.x86_64.rpm 
Loaded plugins: fastestmirror, langpacks
Examining wbar-2.3.5-1.fc20.x86_64.rpm: wbar-2.3.5-1.fc20.x86_64
Marking wbar-2.3.5-1.fc20.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package wbar.x86_64 0:2.3.5-1.fc20 will be installed
--> Finished Dependency Resolution

Dependencies Resolved


 Package   ArchVersion Repository  Size

Installing:
 wbar  x86_64  2.3.5-1.fc20/wbar-2.3.5-1.fc20.x86_64  298 k

Transaction Summary

Install  1 Package

Total size: 298 k
Installed size: 298 k
Is this ok [y/d/N]: 


But the same rpm using the same spec file created using the same command 
(rpmbuild -bb wbar.spec) on F21, when installed wants to bring in all these 
i686 rpms as dependencies. I was wondering what is causing these issues and how 
to get around them?

$ sudo yum localinstall wbar-2.3.5-1.fc21.x86_64.rpm  
Loaded plugins: fastestmirror, langpacks
Examining wbar-2.3.5-1.fc21.x86_64.rpm: wbar-2.3.5-1.fc21.x86_64
Marking wbar-2.3.5-1.fc21.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package wbar.x86_64 0:2.3.5-1.fc21 will be installed
--> Processing Dependency: libImlib2.so.1 for package: wbar-2.3.5-1.fc21.x86_64
Loading mirror speeds from cached hostfile
 * fedora: mirror.steadfast.net
 * rpmfusion-free: mirrors.tummy.com
 * rpmfusion-free-updates: mirrors.tummy.com
 * rpmfusion-nonfree: mirror.us.leaseweb.net
 * rpmfusion-nonfree-updates: mirror.us.leaseweb.net
 * updates: mirror.steadfast.net
http://download.opensuse.org/repositories/X11%3A/QtDesktop/Fedora_21/repodata/03b3f78fdf7fba85bf96c8ee7e37a233f315cec7f86b54aa23aa4277aaead949-primary.xml.gz:
 [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
--> Processing Dependency: libX11.so.6 for package: wbar-2.3.5-1.fc21.x86_64
--> Processing Dependency: libatk-1.0.so.0 for package: wbar-2.3.5-1.fc21.x86_64
--> Processing Dependency: libc.so.6 for package: wbar-2.3.5-1.fc21.x86_64
--> Processing Dependency: libc.so.6(GLIBC_2.0) for package: 
wbar-2.3.5-1.fc21.x86_64
--> Processing Dependency: libc.so.6(GLIBC_2.1) for package: 
wbar-2.3.5-1.fc21.x86_64
--> Processing Dependency: libc.so.6(GLIBC_2.1.3) for package: 
wbar-2.3.5-1.fc21.x86_64
--> Processing Dependency: libc.so.6(GLIBC_2.2) for package: 
wbar-2.3.5-1.fc21.x86_64
--> Processing Dependency: libc.so.6(GLIBC_2.3.4) for package: 
wbar-2.3.5-1.fc21.x86_64
--> Processing Dependency: libcairo.so.2 for package: wbar-2.3.5-1.fc21.x86_64
--> Processing Dependency: libfontconfig.so.1 for package: 
wbar-2.3.5-1.fc21.x86_64
--> Processing Dependency: libfreetype.so.6 for package: 
wbar-2.3.5-1.fc21.x86_64
--> Processing Dependency: libgcc_s.so.1 for package: wbar-2.3.5-1.fc21.x86_64
--> Processing Dependency: libgcc_s.so.1(GCC_3.0) for package: 
wbar-2.3.5-1.fc21.x86_64
--> Processing Dependency: libgdk-x11-2.0.so.0 for package: 
wbar-2.3.5-1.fc21.x86_64
--> Processing Dependency: libgdk_pixbuf-2.0.so.0 for package: 
wbar-2.3.5-1.fc21.x86_64
--> Processing Dependency: libgio-2.0.so.0 for package: wbar-2.3.5-1.fc21.x86_64
--> Processing Dependency: libglade-2.0.so.0 for package: 
wbar-2.3.5-1.fc21.x86_64
--> Processing Dependency: libglib-2.0.so.0 for package: 
wbar-2.3.5-1.fc21.x86_64
--> Processing Dependency: libgobject-2.0.so.0 for package: 
wbar-2.3.5-1.fc21.x86_64
--> Processing Dependency: libgtk-x11-2.0.so.0 for package: 
wbar-2.3.5-1.fc21.x86_64
--> Processing Dependency: libm.so.6 for package: wbar-2.3.5-1.fc21.x86_64
--> Processing Dependency: libm.so.6(GLIBC_2.0) for package: 
wbar-2.3.5-1.fc21.x86_64
--> Processing Dependency: libpango-1.0.so.0 for package: 
wbar-2.3.5-1.fc21.x86_64
--> Processing Dependency: libpangocairo-1.0.so.0 for package: 
wbar-2.3.5-1.fc21.x86_64
--> Processing Dependency: libpangoft2-1.0.so.0 for package: 
wbar-2.3.5-1.fc21.x86_64
--> Processing Dependency: libpthread.so.0 for package: wbar-2.3.5-1.fc21.x86_64
--> Processing Dependency: libpthread.so.0(GLIBC_2.0) for package: 
wbar-2.3.5-1.fc21.x86_64
--> Processing Dependency: libstdc++.so.6 for package: wbar-2.3.5-1.fc21.x86_64
--> Processing Dependency: libstdc++.so.6(CXXABI_1.3) for package: 
wbar-2.3.5-1.fc21.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4) for package: 
wbar-2.3.5-1.fc21.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCX