diff --git a/XML-LibXML-PrettyPrint-0.006-Normalize-shell-bang.patch b/XML-LibXML-PrettyPrint-0.006-Normalize-shell-bang.patch deleted file mode 100644 index f98e552..0000000 --- a/XML-LibXML-PrettyPrint-0.006-Normalize-shell-bang.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 01a2555beff4303908b4f940a2054b1938b32fb1 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= -Date: Wed, 12 Jul 2017 08:42:26 +0200 -Subject: [PATCH] Normalize shell bang -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Signed-off-by: Petr Písař ---- - bin/xml-pretty | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/bin/xml-pretty b/bin/xml-pretty -index a9fd406..d647105 100644 ---- a/bin/xml-pretty -+++ b/bin/xml-pretty -@@ -1,4 +1,4 @@ --#!/usr/bin/env perl -+#!perl - - use XML::LibXML::PrettyPrint qw(print_xml); - print_xml <>; --- -2.9.4 - diff --git a/perl-XML-LibXML-PrettyPrint.spec b/perl-XML-LibXML-PrettyPrint.spec index 8933b50..8477099 100644 --- a/perl-XML-LibXML-PrettyPrint.spec +++ b/perl-XML-LibXML-PrettyPrint.spec @@ -1,13 +1,12 @@ %global _empty_manifest_terminate_build 0 Name: perl-XML-LibXML-PrettyPrint Version: 0.006 -Release: 5 +Release: 1 Summary: Add pleasant whitespace to a DOM tree License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/XML-LibXML-PrettyPrint/ Source0: http://www.cpan.org/authors/id/T/TO/TOBYINK/XML-LibXML-PrettyPrint-%{version}.tar.gz -Patch0: XML-LibXML-PrettyPrint-0.006-Normalize-shell-bang.patch BuildArch: noarch BuildRequires: perl >= 0:5.008001 BuildRequires: perl-generators @@ -36,7 +35,6 @@ application stores its configuration in XML, or you need to dump some XML to STDOUT for debugging purposes. %prep %setup -q -n XML-LibXML-PrettyPrint-%{version} -%patch0 -p1 %build export PERL_MM_OPT="" %{__perl} Makefile.PL INSTALLDIRS=vendor @@ -83,5 +81,5 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/* %changelog -* Wed Aug 12 2020 weidong 0.006-5 +* Wed Aug 12 2020 weidong 0.006-1 - Initial release for OpenEuler