Re: Hilferuf

"Sascha 'saigkill' Manns" <[email protected]>
Newsgroups gmane.linux.suse.programming
Organization openSUSE Marketing Team
Message-ID <[email protected]>
Am Freitag 03 Juli 2009 01:19:07 wrote Philipp Thomas:
> On Thu, 2 Jul 2009 23:48:39 +0200, you wrote:
> >+ install -D -m644 yahtzee.png /var/tmp/yahqzee-2009.27-
> >build/usr/share/pixmaps/yahtzee.png
> >install: cannot stat `yahtzee.png': No such file or directory
> >error: Bad exit status from /var/tmp/rpm-tmp.64358 (%install)
>
> yahtzee.png liegt ja auch im Verzeichnis mit den Quellen, daher muss
> install das gesagt werden. Mein zweiter sr behebt den Fehler.
>
> >Spec und Source sind im saigkill Repository.
> >Hat jemand Lust sich das mal anzusehen?
>
> Ich habe keine Ahnung von qmake, also weiss ich nicht, wie man qmake
> dazu bringt, Regeln fürs Installieren zu genrieren. Daher installiere
> ich halt yahtzee mit dem ersten sr "zu Fuss".  Da ich auf der
> Maschine keine Root-Rechte habe,  konnte ich das lokale Bauen nicht
> ausprobieren, das musst Du jetzt tun :)
Habs mal probiert...

Hab jetzt:
%prep
%setup -q -n yahqzee

%build
export CFLAGS="%{optflags}" CXXFLAGS="%optflags"
qmake yahtzee.pro
make CFLAGS="%{optflags} -W -pipe -D_REENTRANT" CXXFLAGS="%{optflags} -W 
-pipe -D_REENTRANT"

%install
install -d %{buildroot}/%{_bindir}
install -d %{buildroot}/%{_datadir}
install -d %{_datadir}/applications
install -d %{_datadir}/pixmaps
install -o games -g games yahtzee %{buildroot}/%{_bindir}
install -D -m644 %{S:2} $RPM_BUILD_ROOT%{_datadir}/pixmaps/yahtzee.png
%suse_update_desktop_file -i yahtzee BoardGames

%clean
rm -rf %buildroot

%files
%defattr(-,root,root)
%{_bindir}/yahtzee
%{_datadir}/applications/yahtzee.desktop
%{_datadir}/pixmaps/yahtzee.png

Jetzt kriege ich als Meldung:
+ install -o games -g games yahtzee /var/tmp/yahqzee-2009.27-
build//usr/bin
install: cannot change ownership of `/var/tmp/yahqzee-2009.27-
build//usr/bin/yahtzee': Operation not permitted
error: Bad exit status from /var/tmp/rpm-tmp.15147 (%install)

Hat das mal jemand gehabt?
P.S. Falls ich nerve einfach bescheid sagen :-) Aber es war eh nix los 
auf der Liste hier...
-- 
Sincerely yours

Sascha Manns
openSUSE Ambassador
openSUSE Marketing Team
openSUSE Build Service
Web: http://saschamanns.gulli.to
Project-Blog: http://lizards.opensuse.org/author/saigkill
Private-Blog: http://saschasbacktrace.blogspot.com
signature.asc (application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEABECAAYFAkpN4aEACgkQvBb8uodyeZRzogCbBQruka5b0hUap1hhXjm3SsVR
ZfwAn0HNWeCtQClUFvfQgrPNtyPf2UP/
=raH9
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.