[4307] in RedHat Linux List
including config file / RPM build filed -- "File listed twice:"
daemon@ATHENA.MIT.EDU (Jan Vicherek)
Thu Nov 14 02:52:25 1996
Date: Thu, 14 Nov 1996 02:48:17 -0500 (EST)
From: Jan Vicherek <honza@ied.com>
To: RedHat mailing list <redhat-list@redhat.com>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
I've just tried to build a package with rpm-2.2.8 (and 2.2.7 before), but
it told me "File listed twice: /usr/lib/ZyXEL/protect.usr" and the .rpm
package didn't end up being built.
The reason is, probably, that I include whole directory tree
(/usr/lib/ZyXEL), and I also say "%config /usr/lib/ZyXEL/protect.usr" to
specify that one of the files is a config file.
What do I do ?!
(without having to specify each file one-by-one and for one say that
it is a config file)
Jan
_____________
.
.
.
+ rm -rf //usr/doc/ZyXEL-1.6-1
+ mkdir -p //usr/doc/ZyXEL-1.6-1
+ cp -ar usr/ZyXEL/README //usr/doc/ZyXEL-1.6-1
+ mkdir -p //usr/doc/ZyXEL-1.6-1
+ cp -ar usr/ZyXEL/ZyXEL.lsm //usr/doc/ZyXEL-1.6-1
+ exit 0
File listed twice: /usr/lib/ZyXEL/protect.usr
Build failed.
* Package: ZyXEL
Binary Packaging: ZyXEL-1.6-1
~~~~~~~~~~~~~~
here is the spec :
_____________
Description: control program for the ZyXEL U-1496 series MODEMs
Name: ZyXEL
Version: 1.6
Release: 1
Source0: jupiter.sparco.com:/pub/rob/ZyXEL-1.6-source.tar.gz
Source1:
svr-ftp.eng.cam.ac.uk:/pub/comp.speech/synthesis/rsynth-2.0.tar.gz
Source2: sunsite.unc.edu:/pub/linux/system/Serial/ZyXEL-1.6.tar.gz
Patch0: ZyXEL-1.6-1.patch
Group: Applications/Communications
Copyright: noncommercial use only
%prep
%setup -c -a 1
%setup -D -T -a 2
rm -rf sbin usr/ZyXEL/zsynth usr/ZyXEL/zplay usr/ZyXEL/mkdictdb
usr/ZyXEL/g3topbm
patch -p0 -s <rsynth-2.0-diffs
cat hplay.c >rsynth-2.0/config/linuxplay.c
%patch -p1
%build
(cd rsynth-2.0 ; ./configure)
make -f Makefile.linux
%install
make -f Makefile.linux install
%files
%doc usr/ZyXEL/README
%doc usr/ZyXEL/ZyXEL.lsm
%config /etc/ZyXEL.conf
%config /usr/lib/ZyXEL/protect.usr
%config /var/lib/ZyXEL/state._device_
%dir /var/spool/fax
%dir /var/spool/fax/poll
%dir /var/spool/fax/incoming
%dir /var/spool/fax/outgoing
%dir /var/spool/voice
%dir /var/spool/voice/recorded
%dir /var/spool/voice/saved
%dir /var/lib/ZyXEL
/usr/lib/ZyXEL
~~~~~~~~~~~~~~
-- Gospel of Jesus is the saving power of God for all who believe --
Jan Vicherek ## (PGP) finger honza@www.ied.com ## www.ied.com/~honza
Free Software Union President >> www.jagunet.com/~braddock/fslu/org
Interactive Electronic Design Inc.##"To some, nothing is impossible."
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
________________________________________________________________________
http://www.redhat.com/RedHat-FAQ http://www.redhat.com/RedHat-Errata
http://www.redhat.com/RedHat-Tips http://www.redhat.com/mailing-lists
------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null