*** cpan2rpm 2003-12-23 09:12:58.000000000 +0300 --- /usr/bin/cpan2rpm 2004-01-06 19:49:55.000000000 +0300 *************** *** 311,316 **** --- 311,317 ---- for my $k (keys %RPMDIR) { next if $k eq "ARCH"; local $_ = $RPMDIR{$k}; + s/\s+$//; # e.g. %_specdir = "%{name}-%{version}" s/%{?name?}/$info{name}/i if $info{name};