Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
/ 2004-02-20 14:15:18 +0000 \ Tim Jackson: > Hi Lars, on Fri, 20 Feb 2004 13:14:15 +0100 you wrote: > > > > comment the find sbin/rcdrbd -printf "/%p\n" >> "$FILELIST" by placing > > > a# in front of it and save. > > Uh? Why this? > > If it is not found, it won't be in the FILELIST, > > so it cannot disturb the RPM built. Am I wrong? > > I think so - I'm having the same problem. The build fails like so on FC1: > > + find sbin/rcdrbd -printf '/%p\n' > find: sbin/rcdrbd: No such file or directory > error: Bad exit status from /var/tmp/rpm-tmp.34996 (%install) outch. ;) diff -u -p -r1.4 drbd.spec.in --- drbd.spec.in 10 Feb 2004 13:57:04 -0000 1.4 +++ drbd.spec.in 20 Feb 2004 14:29:32 -0000 @@ -98,7 +98,7 @@ cd %{buildroot} # find etc/ -name drbd -printf "/%p\n" > "$FILELIST" # on suse/united we have additionally: -find sbin/rcdrbd -printf "/%p\n" >> "$FILELIST" +test -e sbin/rcdrbd && echo "/sbin/rcdrbd" >> "$FILELIST" ## If I only wanted to include the module, not all the directories ## I'd then say %files -n kernel%{?ksmp}-module-drbd -f $FILELIST.mod below