Rekans,
Saya ingin membuat file paket rpm menggunakan rpmbuild. Isi file tes.spec
nya adalah sebagai berikut :

Summary: tes
Name: tes
Version: 2.0
Release: 1
Group: Applications/System
Source: /home/tes/tes-2.0.tar.gz
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot

%description

%prep
%setup -q

%build
make

%install
rm -rf $RPM_BUILD_ROOT

mkdir -p $RPM_BUILD_ROOT/bin

install -m 755 tessetup $RPM_BUILD_ROOT/bin/tessetup.sh
install -m 755 runtes $RPM_BUILD_ROOT/bin/runtes.bat

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(755,root,root)
%doc README
/bin/tessetup
/bin/runtes

%changelog
* Tue Jul 15 2003 by Packager
- (release 1)

File source tarball sudah saya copy kan ke /usr/src/redhat/SOURCE

ketika saya jalankan command :
# rpmbuild -ba tes.spec

muncul hasilnya spt ini :
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd /usr/src/redhat/BUILD
+ rm -rf tes-2.0
+ /bin/gzip -dc /usr/src/redhat/SOURCES/tes-2.0.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd tes-2.0
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+

/var/tmp/rpm-tmp.50951:
: command not found
error: Bad exit status from /var/tmp/rpm-tmp.50951 (%prep)
    Bad exit status from /var/tmp/rpm-tmp.50951 (%prep)

Hasilnya error...apa yang salah ya

Tks

Deded



-- 
Unsubscribe: kirim email kosong ke [EMAIL PROTECTED]
Arsip, FAQ, dan info milis di http://linux.or.id/milis.php
Tidak bisa posting? Baca:
http://linux.or.id/wiki/index.php?pagename=ProblemMilisDanSolusi
http://linux.or.id/wiki/index.php?pagename=TataTertibMilis

Kirim email ke