Hi,

I'm getting the following error with this package while building
on alpha:

Relativisation of symlinks...done
Processing files: sndconfig-0.44-4mdk
File listed twice: /usr/man/man8/pnpprobe.8.bz2
Finding  Provides: (using /usr/lib/rpm/find-provides)...
Finding  Requires: (using /usr/lib/rpm/find-requires)...
Requires: isapnptools >= 1.16 sox awesfx playmidi kernel >= 2.2.0
ld-linux.so.2
libc.so.6.1 libdl.so.2.1 libm.so.6.1 libnewt.so.0.50 libslang.so.1
libc.so.6.1(GLIBC_2.0) libc.so.6.1(GLIBC_2.1)  

I think it's due to the %ifarch statement in the %files section of the
.spec
file.

%files
%defattr (-,root,root)
/usr/sbin/sndconfig
%ifarch i386 alpha
/usr/sbin/pnpprobe
/usr/man/man8/pnpprobe.*
%endif
/usr/share/sndconfig/sample.au
/usr/share/sndconfig/sample.midi
/usr/share/locale/*/*/sndconfig.mo
/usr/man/man8/*


Since there are only 2 manpages involved, can this be changed to:

%files
%defattr (-,root,root)
/usr/sbin/sndconfig
%ifarch i386 alpha
/usr/sbin/pnpprobe
/usr/man/man8/pnpprobe.*
%endif
/usr/share/sndconfig/sample.au
/usr/share/sndconfig/sample.midi
/usr/share/locale/*/*/sndconfig.mo
/usr/man/man8/sndconfig.*

(I'm not sure if the "ifarch i386" is going to work on i486, i586, 
i686, k6 & k7 arch's. Maybe some sort of generic x86 tag should be 
put there. (on my i686 sys the build went fine, but /usr/sbin/pnpprobe
was missing --> figures --> the ifarch statement didn't work correctly).

Greetz,

Stefan

Reply via email to