Drop erroneous UTF-8 encoding conversion of Changes file (#1869049)
This commit is contained in:
parent
7a82deeb9c
commit
efaa5bcbf1
@ -1,6 +1,6 @@
|
|||||||
Name: perl-Net-DNS
|
Name: perl-Net-DNS
|
||||||
Version: 1.27
|
Version: 1.27
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: DNS resolver modules for Perl
|
Summary: DNS resolver modules for Perl
|
||||||
# Other files: MIT
|
# Other files: MIT
|
||||||
# demo/mresolv: GPL+ or Artistic
|
# demo/mresolv: GPL+ or Artistic
|
||||||
@ -14,7 +14,6 @@ BuildArch: noarch
|
|||||||
# Build
|
# Build
|
||||||
BuildRequires: coreutils
|
BuildRequires: coreutils
|
||||||
BuildRequires: findutils
|
BuildRequires: findutils
|
||||||
BuildRequires: glibc-common
|
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
BuildRequires: perl-generators
|
BuildRequires: perl-generators
|
||||||
BuildRequires: perl-interpreter
|
BuildRequires: perl-interpreter
|
||||||
@ -125,11 +124,6 @@ Instances of the "Net::DNS::Nameserver" class represent DNS server objects.
|
|||||||
%setup -q -n Net-DNS-%{version}
|
%setup -q -n Net-DNS-%{version}
|
||||||
chmod -x demo/*
|
chmod -x demo/*
|
||||||
perl -MConfig -i -pe 's{^#!/usr/local/bin/perl}{$Config{startperl}}' 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
|
%build
|
||||||
export PERL_MM_USE_DEFAULT=yes
|
export PERL_MM_USE_DEFAULT=yes
|
||||||
@ -161,6 +155,9 @@ make test
|
|||||||
%{_mandir}/man3/Net::DNS::Nameserver*
|
%{_mandir}/man3/Net::DNS::Nameserver*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Sep 14 2020 Petr Pisar <ppisar@redhat.com> - 1.27-1
|
||||||
- 1.27 bump
|
- 1.27 bump
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user