Am Sonntag 06 Dezember 2009 03:36:21 wrote shenxun521@gmail.com:
hi all, I. today i use rpmbuild to creat a rpm package,however i get an error :
RPM build errors: File not found: /usr/src/packages/BUILDROOT/showshenxun-1.0-1.i386/usr/local/bin/sho wshenxun.sh It looks. that the *.sh cant found. Try: Source1: showshenxun.sh
%install %__install -d %{_bindir} %__install -m 755 {S:1} %{_bindir}/showshenxun.sh %files % dir %{_bindir} %{_bindir}/showshenxun.sh For openSUSE the Target should not be /usr/local/bin. Better use /usr/bin. For that it exists the Macro %{_bindir}
how can i solve the problem?? can someone help me ???thanks For question like that, please use the opensuse-packaging List. Then you get faster Informations.
-- Sincerely yours Sascha Manns open-slx GmbH openSUSE Member openSUSE Community & Support Agent openSUSE Ambassador Web: http://www.open-slx.de openSUSE Marketing Team Web: http://www.open-slx.com openSUSE Build Service openSUSE Medical Team Web: http://saschamanns.gulli.to Blog: http://saigkill.wordpress.com ClaimID: http://claimid.com/saigkill -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org