Name: perl-Test-XPath Version: 0.19 Release: 1%{?dist} Summary: Test::XPath Perl module License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Test-XPath/ Source0: http://www.cpan.org/authors/id/M/MA/MANWAR/Test-XPath-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl >= 0:5.006 BuildRequires: perl(Module::Build) BuildRequires: perl(Test::Builder) >= 0.70 BuildRequires: perl(Test::More) >= 0.70 BuildRequires: perl(XML::LibXML) >= 1.70 Requires: perl(Test::Builder) >= 0.70 Requires: perl(XML::LibXML) >= 1.70 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This library's module, Test::XPath, provides an interface for testing the content and structure of XML and HTML documents using XPath query expressions. This will be most useful for those who need to write TAP- emitting unit tests for HTML or XML output. %prep %setup -q -n Test-XPath-%{version} %build %{__perl} Build.PL --installdirs=vendor ./Build %install rm -rf $RPM_BUILD_ROOT ./Build install --destdir=$RPM_BUILD_ROOT --create_packlist=0 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check ./Build test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes META.json README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Fri Jul 17 2020 Dave Cross 0.19-1 - Specfile autogenerated by cpanspec 1.78.