Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Tomcat42
perl-CPANPLUS-Dist-RPM
CPANPLUS-Dist-RPM-locale.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File CPANPLUS-Dist-RPM-locale.patch of Package perl-CPANPLUS-Dist-RPM
diff -ruN CPANPLUS-Dist-RPM-0.0.8-orig/lib/CPANPLUS/Dist/RPM.pm CPANPLUS-Dist-RPM-0.0.8/lib/CPANPLUS/Dist/RPM.pm --- CPANPLUS-Dist-RPM-0.0.8-orig/lib/CPANPLUS/Dist/RPM.pm 2009-01-17 21:19:29.000000000 +0100 +++ CPANPLUS-Dist-RPM-0.0.8/lib/CPANPLUS/Dist/RPM.pm 2010-08-08 16:53:35.000000000 +0200 @@ -28,12 +28,17 @@ use Path::Class; use Pod::POM; use Pod::POM::View::Text; -use POSIX qw{ strftime }; +use POSIX qw{ strftime locale_h}; use Readonly; use Software::LicenseUtils; use Text::Autoformat; use Template; +# Set locale to en_US.UTF8 so that dates in changelog will be correct +# if using another locale. Also ensures writing out UTF8. (Thanks to +# Roy-Magne Mo for pointing out the problem and providing a solution.) +setlocale(LC_ALL, "en_US.UTF-8"); + our $VERSION = '0.0.8'; # debugging
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor