Help building rpm, works with f8 fails in f9

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

 



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

 

%description

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 ...

 

%prep

%setup -q

 

%build

./configure

make

 

%install

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                  \

        ${RPM_SOURCE_DIR}/CRRCsim.desktop

 

%clean

rm -rf %{buildroot}

 

%files

%defattr(-,root,root)

/usr/local/share/games/crrcsim

/usr/local/bin/crrcsim

/usr/share/applications/CRRCsim.desktop

 

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

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux