@ -1,35 +1,34 @@
Name: perl-XML-SemanticDiff
Summary: Perl extension for comparing XML documents
Version: 1.0004
Release: 6 %{?dist}
Version: 1.0005
Release: 1 %{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/XML-SemanticDiff/
Source0: http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/XML-SemanticDiff-%{version}.tar.gz
Source0: http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/XML-SemanticDiff-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
BuildArch: noarch
# Module Build
BuildRequires: perl
BuildRequires: coreutils
BuildRequires: perl >= 4:5.12.0
BuildRequires: perl-generators
BuildRequires: perl(File::Spec)
BuildRequires: perl(lib)
BuildRequires: perl(Module::Build)
BuildRequires: perl(Module::Build) >= 0.28
# Module Runtime
BuildRequires: perl(Digest::MD5)
BuildRequires: perl(Encode)
BuildRequires: perl(strict)
BuildRequires: perl(vars)
BuildRequires: perl(warnings)
BuildRequires: perl(XML::Parser)
# Test Suite
BuildRequires: perl(blib)
BuildRequires: perl(File::Spec)
BuildRequires: perl(IO::Handle)
BuildRequires: perl(IPC::Open3)
BuildRequires: perl(Test)
BuildRequires: perl(Test::More)
BuildRequires: perl(vars)
# Optional Tests
%if 0%{?fedora} || 0%{?rhel} > 6
BuildRequires: perl(Test::CPAN::Changes)
%endif
BuildRequires: perl(Test::Pod) >= 1.14
BuildRequires: perl(Test::Pod::Coverage) >= 1.04
BuildRequires: perl(Test::TrailingSpace)
# Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
@ -48,7 +47,7 @@ perl Build.PL --installdirs=vendor
%install
rm -rf %{buildroot}
./Build install --destdir=%{buildroot} --create_packlist=0
%{_fixperms} %{buildroot}
%{_fixperms} -c %{buildroot}
%check
./Build test
@ -68,6 +67,12 @@ rm -rf %{buildroot}
%{_mandir}/man3/XML::SemanticDiff::BasicHandler.3*
%changelog
* Wed Feb 8 2017 Paul Howarth <paul@city-fan.org> - 1.0005-1
- Update to 1.0005
- Convert the distribution to use git, GitHub, and Dist-Zilla
- Correct some spelling errors and add more tests
- Remove trailing whitespace
* Mon May 16 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.0004-6
- Perl 5.24 rebuild