|
|
|
@ -1,16 +1,17 @@
|
|
|
|
|
Name: perl-Test-XML
|
|
|
|
|
Version: 0.08
|
|
|
|
|
Release: 10%{?dist}
|
|
|
|
|
Release: 22%{?dist}
|
|
|
|
|
Summary: Compare XML in perl tests
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
URL: http://search.cpan.org/dist/Test-XML/
|
|
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/S/SE/SEMANTICO/Test-XML-%{version}.tar.gz
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
|
|
|
|
|
URL: https://metacpan.org/release/Test-XML
|
|
|
|
|
Source0: https://cpan.metacpan.org/modules/by-module/Test/Test-XML-%{version}.tar.gz
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
# Build
|
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
BuildRequires: coreutils
|
|
|
|
|
BuildRequires: findutils
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
|
# Module
|
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
@ -50,12 +51,12 @@ is_xml(GOT, EXPECTED [, TESTNAME ])
|
|
|
|
|
|
|
|
|
|
isnt_xml(GOT, MUST_NOT_BE [, TESTNAME ])
|
|
|
|
|
|
|
|
|
|
This function is similiar to is_xml(), except that it will fail if GOT and
|
|
|
|
|
This function is similar to is_xml(), except that it will fail if GOT and
|
|
|
|
|
MUST_NOT_BE are identical.
|
|
|
|
|
|
|
|
|
|
is_well_formed_xml(XML [, TESTNAME ])
|
|
|
|
|
|
|
|
|
|
This function determines whether or not a given XML string is parseable as
|
|
|
|
|
This function determines whether or not a given XML string is parsable as
|
|
|
|
|
XML.
|
|
|
|
|
|
|
|
|
|
is_good_xml(XML [, TESTNAME ])
|
|
|
|
@ -70,17 +71,13 @@ perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
|
|
|
%{_fixperms} %{buildroot}
|
|
|
|
|
find %{buildroot} -type f -name .packlist -delete
|
|
|
|
|
%{_fixperms} -c %{buildroot}
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc Changes README
|
|
|
|
|
%{perl_vendorlib}/Test/
|
|
|
|
@ -90,8 +87,50 @@ rm -rf %{buildroot}
|
|
|
|
|
%{_mandir}/man3/Test::XML::XPath.3*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Aug 14 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.08-10
|
|
|
|
|
- Rebuilt for MSVSphere 8.10
|
|
|
|
|
* Wed Jan 17 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.08-22
|
|
|
|
|
- Initial build for MSVSphere 9.3
|
|
|
|
|
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.08-22
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.08-21
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.08-20
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.08-19
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.08-18
|
|
|
|
|
- Perl 5.32 rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.08-17
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Sep 2 2019 Paul Howarth <paul@city-fan.org> - 0.08-16
|
|
|
|
|
- Spec tidy-up
|
|
|
|
|
- Use author-independent source URL
|
|
|
|
|
- Drop redundant buildroot cleaning in %%install section
|
|
|
|
|
- Specify more build dependencies
|
|
|
|
|
- Simplify find command using -delete
|
|
|
|
|
- Fix typo in %%description
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.08-15
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.08-14
|
|
|
|
|
- Perl 5.30 rebuild
|
|
|
|
|
|
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.08-13
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.08-12
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sat Jun 30 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.08-11
|
|
|
|
|
- Perl 5.28 rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.08-10
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|