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

Help building rpm, works with f8 fails in f9

I could use some help trying to figure out why a package builds just fine on Fedora 8 but fails on Fedora 9


Fedora 8 build output looks like:

make[1]: Leaving directory `/usr/src/redhat/BUILD/crrcsim-0.9.9'

+ desktop-file-install --vendor= --dir=/usr/share/applications --add-category X-Red-Hat-Extra /usr/src/redhat/SOURCES/CRRCsim.desktop

+ /usr/lib/rpm/find-debuginfo.sh /usr/src/redhat/BUILD/crrcsim-0.9.9

extracting debug info from ./crrcsim

2702 blocks


Fedora 9 looks like:

make[1]: Leaving directory `/usr/src/redhat/BUILD/crrcsim-0.9.9'

+ desktop-file-install --vendor= --dir=/usr/share/applications --add-category X-

Red-Hat-Extra /usr/src/redhat/SOURCES/CRRCsim.desktop

+ /usr/lib/rpm/find-debuginfo.sh /usr/src/redhat/BUILD/crrcsim-0.9.9

find: invalid predicate `'

error: Bad exit status from /var/tmp/rpm-tmp.13280 (%install)


SPEC file looks like:

# cat crrcsim.spec

Summary: A Model-Airplane Flight Simulation Program

Name: crrcsim

Version: 0.9.9

Release: 1.fc8

License: GPL

Group: Amusements/Games

URL: http://crrcsim.sourceforge.net/

Source0: %{name}-%{version}.tar.gz

Source1: CRRCsim.desktop


Requires: plib

Requires: portaudio

Requires: SDL


BuildPrereq: SDL-devel

BuildPrereq: portaudio-devel

BuildPrereq: freeglut-devel

BuildPrereq: plib-devel

BuildPrereq: libXi-devel

BuildPrereq: libXt-devel

BuildPrereq: libXmu-devel

BuildRequires: desktop-file-utils



Crrcsim is a model-airplane flight simulation program. Using it, you can learn

how to fly model aircraft, test new aircraft designs, and improve your

skills by practicing on your computer.


It rules! The flight model is very realistic. The flight model parameters are

calculated based on a 3D representation of the aircraft. Stalls are properly

modelled as well. Model control is possible with your own rc transmitter, or

any input device such as joystick, mouse, keyboard ...



%setup -q







rm -rf %{buildroot}


#make DESTDIR=%{buildroot} install

make  install

desktop-file-install --vendor=""                        \

        --dir=${RPM_BUILD_ROOT}%{_datadir}/applications \

        --add-category X-Red-Hat-Extra                  \




rm -rf %{buildroot}








I am not sure if this is the best place to post this message, if there is a better list, please let me know.

Thanks is advance for any help!

Jerry Williams

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