globbing w %files (perl.spec)

Jakub Bogusz qboosh w prioris.mini.pw.edu.pl
Czw, 10 Maj 2001, 18:25:58 CEST


Myślałem, że w sekcji %files globbing jest robiony jak dla LC_COLLATE=C
i tak to chyba kiedyś działało... a tu wywaliło mi się budowanie perla z:

RPM build errors:
    File listed twice: /usr/share/man/man3/CGI.3pm.gz
    File listed twice: /usr/share/man/man3/CGI::Apache.3pm.gz
    File listed twice: /usr/share/man/man3/CGI::Carp.3pm.gz
    File listed twice: /usr/share/man/man3/CGI::Cookie.3pm.gz
    File listed twice: /usr/share/man/man3/CGI::Fast.3pm.gz
    File listed twice: /usr/share/man/man3/CGI::Pretty.3pm.gz
    File listed twice: /usr/share/man/man3/CGI::Push.3pm.gz
    File listed twice: /usr/share/man/man3/CGI::Switch.3pm.gz
    File listed twice: /usr/share/man/man3/CGI::Util.3pm.gz
    File listed twice: /usr/share/man/man3/CPAN.3pm.gz
    File listed twice: /usr/share/man/man3/CPAN.3pm.gz
    File listed twice: /usr/share/man/man3/CPAN::FirstTime.3pm.gz
    File listed twice: /usr/share/man/man3/CPAN::FirstTime.3pm.gz
    File listed twice: /usr/share/man/man3/CPAN::Nox.3pm.gz
    File listed twice: /usr/share/man/man3/CPAN::Nox.3pm.gz
    File listed twice: /usr/share/man/man3/Carp.3pm.gz
    File listed twice: /usr/share/man/man3/Carp::Heavy.3pm.gz
    File listed twice: /usr/share/man/man3/Class::Struct.3pm.gz
    File listed twice: /usr/share/man/man3/Config.3pm.gz
    File listed twice: /usr/share/man/man3/Cwd.3pm.gz

Wzięło się to z linii:
%{_mandir}/man3/[A-BD-Za-z]*
%{_mandir}/man3/CPAN*
%{_mandir}/man3/C[a-z]*

(u mnie LANG=pl_PL i LC_MESSAGES=C)
Widać, że globy zostały rozwinięte z LC_COLLATE=pl_PL

I co z tym? Poprawka do rpm żeby robił globbing dla LC_COLLATE=C, czy
nie używać w specach globów typu [a-z] ?


-- 
Jakub Bogusz
http://prioris.mini.pw.edu.pl/~qboosh/



Więcej informacji o liście dyskusyjnej pld-devel-pl