From d324bfca9a382476788e49a27fb6875b74cf1acac3becaefeefc40a84641c8b3 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Mon, 3 Jun 2019 07:44:15 +0000 Subject: [PATCH] Accepting request 706560 from X11:Deepin - Fix Summary tag. - Add Requires tag for perl(XML::Simple) - Fix env-script-interpreter badness OBS-URL: https://build.opensuse.org/request/show/706560 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-LibXML-PrettyPrint?expand=0&rev=3 --- perl-XML-LibXML-PrettyPrint.changes | 7 +++++++ perl-XML-LibXML-PrettyPrint.spec | 14 +++++++++----- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/perl-XML-LibXML-PrettyPrint.changes b/perl-XML-LibXML-PrettyPrint.changes index c313d83..c661967 100644 --- a/perl-XML-LibXML-PrettyPrint.changes +++ b/perl-XML-LibXML-PrettyPrint.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri May 31 05:38:13 UTC 2019 - Hillwood Yang + +- Fix Summary tag. +- Add Requires tag for perl(XML::Simple) +- Fix env-script-interpreter badness + ------------------------------------------------------------------- Tue Apr 14 20:03:03 UTC 2015 - coolo@suse.com diff --git a/perl-XML-LibXML-PrettyPrint.spec b/perl-XML-LibXML-PrettyPrint.spec index 96ee704..ea6bed4 100644 --- a/perl-XML-LibXML-PrettyPrint.spec +++ b/perl-XML-LibXML-PrettyPrint.spec @@ -1,7 +1,7 @@ # # spec file for package perl-XML-LibXML-PrettyPrint # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -20,8 +20,8 @@ Name: perl-XML-LibXML-PrettyPrint Version: 0.006 Release: 0 %define cpan_name XML-LibXML-PrettyPrint -Summary: add pleasant whitespace to a DOM tree -License: Artistic-1.0 or GPL-1.0+ +Summary: Add pleasant whitespace to a DOM tree +License: Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/XML-LibXML-PrettyPrint/ Source: http://www.cpan.org/authors/id/T/TO/TOBYINK/%{cpan_name}-%{version}.tar.gz @@ -35,6 +35,7 @@ BuildRequires: perl(Test::Warnings) BuildRequires: perl(XML::LibXML) >= 1.62 Requires: perl(Exporter::Tiny) Requires: perl(XML::LibXML) >= 1.62 +Requires: perl(XML::Simple) %{perl_requires} %description @@ -57,6 +58,8 @@ your XML, you should probably not use this module. %setup -q -n %{cpan_name}-%{version} %build +# Fix env-script-interpreter badness +sed -i 's|/usr/bin/env perl|/usr/bin/perl|g' bin/xml-pretty %{__perl} Makefile.PL INSTALLDIRS=vendor %{__make} %{?_smp_mflags} @@ -70,6 +73,7 @@ your XML, you should probably not use this module. %files -f %{name}.files %defattr(-,root,root,755) -%doc Changes CONTRIBUTING COPYRIGHT CREDITS doap.ttl LICENSE README +%doc Changes CONTRIBUTING COPYRIGHT CREDITS doap.ttl README +%license LICENSE %changelog