Hi, I've tried to make a nvu_41 rpm, but I can't make it work. When I do the "rpmbuild -ba nvu-1-spec", it answers:
Code:
................
drwxr-xr-x glazman/glazman 0 2004-08-06 10:18:36 composer/components/filepicker/res/content/
-rw-r--r-- glazman/glazman 25850 2004-06-10 12:19:46 composer/components/filepicker/res/content/filepicker.js
-rw-r--r-- glazman/glazman 938 2004-05-14 14:38:06 composer/components/Makefile.in
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd nvu-0_41
/var/tmp/rpm-tmp.60635: line 34: cd: nvu-0_41: No such file or directory
[root@thomas thomas]#
In /var/tmp/rpm-tmp.60635 is written:
Code:
...............
unset DISPLAY
mkdir /usr/src/redhat/BUILD/nvu-0_41
cd /usr/src/redhat/BUILD
rm -rf nvu-0_41
/bin/gzip -dc /usr/src/redhat/SOURCES/nvu-0.41-source.tar.gz | tar -xvvf -
STATUS=$?
if [ $STATUS -ne 0 ]; then
exit $STATUS
fi
cd nvu-0_41
[ `/usr/bin/id -u` = '0' ] && /bin/chown -Rhf root .
[ `/usr/bin/id -u` = '0' ] && /bin/chgrp -Rhf root .
/bin/chmod -Rf a+rX,u+w,g-w,o-w .
exit 0
Anyone got an idea about whats wrong? The spec file is very short. The %prep to %clean part only contains:
Code:
%prep
%setup
%build
%configure
make
%install
rm -rf $RPM_BUILD_ROOT
%makeinstall
%clean
rm -rf $RPM_BUILD_ROOT