Remove using of iconv

This commit is contained in:
Jitka Plesnikova 2016-08-18 17:07:32 +02:00
parent d67f20babf
commit 323b2a6db5

View File

@ -1,6 +1,6 @@
Name: perl-DBD-MySQL Name: perl-DBD-MySQL
Version: 4.035 Version: 4.035
Release: 2%{?dist} Release: 3%{?dist}
Summary: A MySQL interface for Perl Summary: A MySQL interface for Perl
Group: Development/Libraries Group: Development/Libraries
License: GPL+ or Artistic License: GPL+ or Artistic
@ -46,12 +46,6 @@ management system.
# Correct file permissions # Correct file permissions
find . -type f | xargs chmod -x find . -type f | xargs chmod -x
for file in lib/DBD/mysql.pm Changes; do
iconv -f iso-8859-1 -t utf-8 <$file >${file}_
touch -r ${file}{,_}
mv -f ${file}{_,}
done
%build %build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags} make %{?_smp_mflags}
@ -75,6 +69,9 @@ find %{buildroot} -type f -name '*.bs' -empty -exec rm -f {} ';'
%{_mandir}/man3/*.3* %{_mandir}/man3/*.3*
%changelog %changelog
* Thu Aug 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 4.035-3
- Remove using of iconv, because it is not needed (bug #1368046)
* Tue Aug 16 2016 Jitka Plesnikova <jplesnik@redhat.com> - 4.035-2 * Tue Aug 16 2016 Jitka Plesnikova <jplesnik@redhat.com> - 4.035-2
- Fix default value for nossl option (bug #1366773) - Fix default value for nossl option (bug #1366773)