Drop erroneous UTF-8 encoding conversion of Changes file (#1869049)

This commit is contained in:
Paul Howarth 2020-11-04 12:55:10 +00:00
parent 7a82deeb9c
commit efaa5bcbf1

View File

@ -1,6 +1,6 @@
Name: perl-Net-DNS
Version: 1.27
Release: 1%{?dist}
Release: 2%{?dist}
Summary: DNS resolver modules for Perl
# Other files: MIT
# demo/mresolv: GPL+ or Artistic
@ -14,7 +14,6 @@ BuildArch: noarch
# Build
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: glibc-common
BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl-interpreter
@ -125,11 +124,6 @@ Instances of the "Net::DNS::Nameserver" class represent DNS server objects.
%setup -q -n Net-DNS-%{version}
chmod -x demo/*
perl -MConfig -i -pe 's{^#!/usr/local/bin/perl}{$Config{startperl}}' demo/*
for i in Changes; do
iconv -f iso8859-1 -t utf-8 "$i" > "${i}.conv"
touch -r "$i" "${i}.iconv"
mv -f "${i}.conv" "$i"
done
%build
export PERL_MM_USE_DEFAULT=yes
@ -161,6 +155,9 @@ make test
%{_mandir}/man3/Net::DNS::Nameserver*
%changelog
* Wed Nov 4 2020 Paul Howarth <paul@city-fan.org> - 1.27-2
- Drop erroneous UTF-8 encoding conversion of Changes file (#1869049)
* Mon Sep 14 2020 Petr Pisar <ppisar@redhat.com> - 1.27-1
- 1.27 bump