@ -1,17 +1,15 @@
Name: perl-XML-SemanticDiff
Name: perl-XML-SemanticDiff
Summary: Perl extension for comparing XML documents
Summary: Perl extension for comparing XML documents
Version: 1.0005
Version: 1.0006
Release: 3 %{?dist}
Release: 1 %{?dist}
License: GPL+ or Artistic
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/XML-SemanticDiff/
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
BuildArch: noarch
# Module Build
# Module Build
BuildRequires: coreutils
BuildRequires: coreutils
BuildRequires: perl-interpreter >= 4:5.12.0
BuildRequires: perl-generators
BuildRequires: perl-generators
BuildRequires: perl%{?fedora:-interpreter} >= 4:5.12.0
BuildRequires: perl(Module::Build) >= 0.28
BuildRequires: perl(Module::Build) >= 0.28
# Module Runtime
# Module Runtime
BuildRequires: perl(Digest::MD5)
BuildRequires: perl(Digest::MD5)
@ -45,16 +43,12 @@ perl Build.PL --installdirs=vendor
./Build
./Build
%install
%install
rm -rf %{buildroot}
./Build install --destdir=%{buildroot} --create_packlist=0
./Build install --destdir=%{buildroot} --create_packlist=0
%{_fixperms} -c %{buildroot}
%{_fixperms} -c %{buildroot}
%check
%check
./Build test
./Build test
%clean
rm -rf %{buildroot}
%files
%files
%if 0%{?_licensedir:1}
%if 0%{?_licensedir:1}
%license LICENSE
%license LICENSE
@ -67,6 +61,16 @@ rm -rf %{buildroot}
%{_mandir}/man3/XML::SemanticDiff::BasicHandler.3*
%{_mandir}/man3/XML::SemanticDiff::BasicHandler.3*
%changelog
%changelog
* Thu Sep 28 2017 Paul Howarth <paul@city-fan.org> - 1.0006-1
- Update to 1.0006
- Fix failing to find the difference in this scenario (CPAN RT#84546):
Before: <element>0</element>
After: <element></element>
- Drop EL-5 support:
- Drop BuildRoot: and Group: tags
- Drop explicit buildroot cleaning in %%install section
- Drop explicit %%clean section
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0005-3
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0005-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild