From 665dba3473448e7e1b29c12b31d504cb785fa07986993dea7c5b0b85b3a0c373 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Fri, 4 Oct 2013 16:59:14 +0000 Subject: [PATCH] update OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-SemanticDiff?expand=0&rev=6 --- XML-SemanticDiff-1.0000.tar.gz | 3 -- XML-SemanticDiff-1.0002.tar.gz | 3 ++ perl-XML-SemanticDiff.changes | 9 ++++++ perl-XML-SemanticDiff.spec | 58 ++++++++++++++-------------------- 4 files changed, 36 insertions(+), 37 deletions(-) delete mode 100644 XML-SemanticDiff-1.0000.tar.gz create mode 100644 XML-SemanticDiff-1.0002.tar.gz diff --git a/XML-SemanticDiff-1.0000.tar.gz b/XML-SemanticDiff-1.0000.tar.gz deleted file mode 100644 index 7885fc7..0000000 --- a/XML-SemanticDiff-1.0000.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:539ab9e1ee13d3fb68a60d9bfc89ea9474c2bdc58f5c341381cdee3d06a93f17 -size 25148 diff --git a/XML-SemanticDiff-1.0002.tar.gz b/XML-SemanticDiff-1.0002.tar.gz new file mode 100644 index 0000000..5772439 --- /dev/null +++ b/XML-SemanticDiff-1.0002.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:244d0847ec07fc90fe79f43395c1d92e7bd072842f824adcd66039b3287cce6e +size 25580 diff --git a/perl-XML-SemanticDiff.changes b/perl-XML-SemanticDiff.changes index 864a78c..618cac4 100644 --- a/perl-XML-SemanticDiff.changes +++ b/perl-XML-SemanticDiff.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Fri Oct 4 09:14:21 UTC 2013 - coolo@suse.com + +- updated to 1.0002 + - Convert "Changes" (this file) to CPAN::Changes. + - Fix https://rt.cpan.org/Ticket/Display.html?id=87903 + - Case problem with "repository" in "Build.PL". + - Remove trailing space. + ------------------------------------------------------------------- Wed Dec 1 13:36:19 UTC 2010 - coolo@novell.com diff --git a/perl-XML-SemanticDiff.spec b/perl-XML-SemanticDiff.spec index 68b40a1..3ac2c35 100644 --- a/perl-XML-SemanticDiff.spec +++ b/perl-XML-SemanticDiff.spec @@ -1,8 +1,7 @@ -# vim: set sw=4 ts=4 et nu: # # spec file for package perl-XML-SemanticDiff # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,58 +14,49 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + + Name: perl-XML-SemanticDiff -Version: 1.0000 +Version: 1.0002 Release: 0 -Summary: Perl extension for comparing XML documents +%define cpan_name XML-SemanticDiff +Summary: Perl extension for comparing XML documents. License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl -Source: http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/XML-SemanticDiff-%{version}.tar.gz Url: http://search.cpan.org/dist/XML-SemanticDiff/ +Source: http://www.cpan.org/authors/id/S/SH/SHLOMIF/%{cpan_name}-%{version}.tar.gz +BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build -%{perl_requires} -BuildRequires: make BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(Digest::MD5) -BuildRequires: perl(Encode) -BuildRequires: perl(Module::Build) >= 0.34 +BuildRequires: perl(Module::Build) >= 0.39 BuildRequires: perl(XML::Parser) -Requires: perl(Digest::MD5) +#BuildRequires: perl(XML::SemanticDiff) +#BuildRequires: perl(XML::SemanticDiff::BasicHandler) Requires: perl(XML::Parser) -Requires: perl(Encode) +%{perl_requires} %description -XML::SematicDiff provides a way to compare the contents and structure of two -XML documents. By default, it returns a list of hashrefs where each hashref -describes a single difference between the two docs. +XML::SematicDiff provides a way to compare the contents and structure of +two XML documents. By default, it returns a list of hashrefs where each +hashref describes a single difference between the two docs. %prep -%setup -q -n "XML-SemanticDiff-%{version}" +%setup -q -n %{cpan_name}-%{version} %build -%__perl ./Build.PL -./Build - -%install -./Build pure_install --destdir "%{buildroot}" --installdirs vendor -%perl_process_packlist +%{__perl} Build.PL installdirs=vendor +./Build build flags=%{?_smp_mflags} %check ./Build test -%clean -%{?buildroot:%__rm -rf "%{buildroot}"} +%install +./Build install destdir=%{buildroot} create_packlist=0 +%perl_gen_filelist -%files -%defattr(-,root,root) -%doc Changes README -%dir %{perl_vendorlib}/XML -%{perl_vendorlib}/XML/SemanticDiff.pm -%{perl_vendorlib}/XML/SemanticDiff -%dir %{perl_vendorarch}/auto/XML -%{perl_vendorarch}/auto/XML/SemanticDiff -%doc %{perl_man3dir}/XML::SemanticDiff.%{perl_man3ext}%{ext_man} -%doc %{perl_man3dir}/XML::SemanticDiff::*.%{perl_man3ext}%{ext_man} +%files -f %{name}.files +%defattr(-,root,root,755) +%doc Changes eg README %changelog