[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Dvdrtools-users] Building 0.1.3 from source rpm: a problem w ith in
From: |
A E Lawrence |
Subject: |
Re: [Dvdrtools-users] Building 0.1.3 from source rpm: a problem w ith install |
Date: |
Sat, 01 Feb 2003 14:48:31 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003 |
Villalovos, John L wrote:
I had this problem also when building on Red Hat 8.0.
I just deleted that whole part of the spec file. All the stuff where it is
trying to find files with *-*-*-*. In Red Hat 8.0 they don't exist. Maybe
because the version of automake is working better. Since there is a comment
about FIXME for the section of the spec file.
[..snip..]
In fact I found that it had already been fixed in
dvdrtools-0.1.2-4.src.rpm by Karsten Hopp. The relevant section is
# FIXME: remove once automake works correctly and doesn't mess with
# filenames
# KH: fixed it. Should work now in both cases
files=`/bin/ls -1 $RPM_BUILD_ROOT%{_bindir}/*-*-*-*` 2>/dev/null ||:
for i in $files; do
mv $i $RPM_BUILD_ROOT%{_bindir}/`echo $i |sed -e "s,.*-,,"`
done
files=`/bin/ls -1 $RPM_BUILD_ROOT%{_mandir}/man1/*-*-*-*` 2>/dev/null ||:
for i in $files; do
mv $i $RPM_BUILD_ROOT%{_mandir}/man1/`echo $i |sed -e "s,.*-,,"`
done
ln -s dvdrecord $RPM_BUILD_ROOT%{_bindir}/cdrecord
Plug that into the 0.1.3 spec file, and everything is fine.
Perhaps Bernard could fix the original with this or his own version?
ael
-------------------------------------------------------
From: A E Lawrence
Subject: [Dvdrtools-users] Building 0.1.3 from source rpm: a problem with
installin the specfile?
Date: 28 Jan 2003 15:35:06 +0000
Am I the only one who has trouble with the installation phase of
dvdrtools-0.1.3.spec? I used dvdrtools-0.1.3-1ark.src.rpm from savannah,
rpmbuild version 1.4, building on a Redhat 8.0 system.
After rpmbuild -v -bb --clean --target i686-redhat-linux dvdrtools.spec,
I get (notice that the mailer has line-wrapped the long mv command):
[..snip..]
make[1]: Leaving directory `/usr/src/redhat/BUILD/dvdrtools-0.1.3'
++ echo '/var/tmp/dvdrtools-0.1.3-root/usr/bin/*-*-*-*'
++ sed -e 's,.*-,,'
+ mv '/var/tmp/dvdrtools-0.1.3-root/usr/bin/*-*-*-*'
/var/tmp/dvdrtools-0.1.3-root/usr/bin/cdda2mp3
/var/tmp/dvdrtools-0.1.3-root/usr/bin/cdda2ogg
/var/tmp/dvdrtools-0.1.3-root/usr/bin/cdda2wav
/var/tmp/dvdrtools-0.1.3-root/usr/bin/devdump
/var/tmp/dvdrtools-0.1.3-root/usr/bin/dvdrecord
/var/tmp/dvdrtools-0.1.3-root/usr/bin/isodump
/var/tmp/dvdrtools-0.1.3-root/usr/bin/isoinfo
/var/tmp/dvdrtools-0.1.3-root/usr/bin/isovfy
/var/tmp/dvdrtools-0.1.3-root/usr/bin/mkisofs
/var/tmp/dvdrtools-0.1.3-root/usr/bin/readcd
mv: when moving multiple files, last argument must be a directory
Try `mv --help' for more information.
error: Bad exit status from /var/tmp/rpm-tmp.34762 (%install)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Dvdrtools-users] Building 0.1.3 from source rpm: a problem w ith install,
A E Lawrence <=