forked from pool/perl-XML-LibXML-PrettyPrint
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
This commit is contained in:
committed by
Git OBS Bridge
parent
82766744cf
commit
d324bfca9a
@@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 31 05:38:13 UTC 2019 - Hillwood Yang <hillwood@opensuse.org>
|
||||||
|
|
||||||
|
- 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
|
Tue Apr 14 20:03:03 UTC 2015 - coolo@suse.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-XML-LibXML-PrettyPrint
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# 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)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# 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
|
Version: 0.006
|
||||||
Release: 0
|
Release: 0
|
||||||
%define cpan_name XML-LibXML-PrettyPrint
|
%define cpan_name XML-LibXML-PrettyPrint
|
||||||
Summary: add pleasant whitespace to a DOM tree
|
Summary: Add pleasant whitespace to a DOM tree
|
||||||
License: Artistic-1.0 or GPL-1.0+
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
Url: http://search.cpan.org/dist/XML-LibXML-PrettyPrint/
|
Url: http://search.cpan.org/dist/XML-LibXML-PrettyPrint/
|
||||||
Source: http://www.cpan.org/authors/id/T/TO/TOBYINK/%{cpan_name}-%{version}.tar.gz
|
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
|
BuildRequires: perl(XML::LibXML) >= 1.62
|
||||||
Requires: perl(Exporter::Tiny)
|
Requires: perl(Exporter::Tiny)
|
||||||
Requires: perl(XML::LibXML) >= 1.62
|
Requires: perl(XML::LibXML) >= 1.62
|
||||||
|
Requires: perl(XML::Simple)
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -57,6 +58,8 @@ your XML, you should probably not use this module.
|
|||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
|
||||||
%build
|
%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
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
%{__make} %{?_smp_mflags}
|
%{__make} %{?_smp_mflags}
|
||||||
|
|
||||||
@@ -70,6 +73,7 @@ your XML, you should probably not use this module.
|
|||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,755)
|
%defattr(-,root,root,755)
|
||||||
%doc Changes CONTRIBUTING COPYRIGHT CREDITS doap.ttl LICENSE README
|
%doc Changes CONTRIBUTING COPYRIGHT CREDITS doap.ttl README
|
||||||
|
%license LICENSE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user