In building an RPM for trousers 0.3.10, I noticed that there appear to
be some extraneous requirements in the SPEC file for building the
system.

 

1)      At line 23 there is a line Prereq: xxxxxxxxx.

a.       Prereq is dreprecated - this should be Requires:

2)      Line 25 has a build requires that includes a large series of
packages to be used only if it is a 64 bit build. The definitions of
these packages is at Line 8, but the names of the packages don't
actually match any package names that the system might have, i.e.
cairo-devel-64bit is not a valid package - cairo-devel is. The same is
true for the rest of the packages listed.

3)      There is a dependency on /opt/gnome/lib64/pkgconfig (again only
for 64 bits systems). My 64 bit system did not have this file, so the
build continued to fall over.

 

I was able to get the system to build by removing lines 6-11,  and
changing line 26 to read:

BuildRequires: libtool, gtk+ >= 2.0, openssl-devel 

 

The package build properly, and installs properly, and appears to work
properly, so the question is "Why are these other requirements present -
and only for a 64 bit system?

 

Charles

------------------------------------------------------------------------------
The Windows 8 Center - In partnership with Sourceforge
Your idea - your app - 30 days.
Get started!
http://windows8center.sourceforge.net/
what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/
_______________________________________________
TrouSerS-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/trousers-tech

Reply via email to