so go with XML::XPath:
Couldn't require XML::Feed::Format::Atom : Can't locate XML/XPath.pm in @INC (you may need to install the XML::XPath module) (@INC contains: . /usr/local/lib/perl5/5.22.0/x86_64-pld-linux-thread-multi /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl/5.22.0/x86_64-pld-linux-thread-multi /usr/share/perl5/vendor_perl /usr/lib64/perl5/5.22.0/x86_64-pld-linux-thread-multi /usr/share/perl5/5.22.0) at /usr/share/perl5/vendor_perl/XML/Atom.pm line 14.
BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/XML/Atom.pm line 36.
# Conditional build:
%bcond_without autodeps # don't BR packages needed only for resolving deps
%bcond_without tests # do not perform "make test"
# Conditional build:
%bcond_without autodeps # don't BR packages needed only for resolving deps
%bcond_without tests # do not perform "make test"
-#
-%include /usr/lib/rpm/macros.perl
%define pdir XML
%define pnam Atom
%define pdir XML
%define pnam Atom
+%include /usr/lib/rpm/macros.perl
Summary: XML::Atom - Atom feed and API implementation
Summary(pl.UTF-8): XML::Atom - implementacja API Atom
Name: perl-XML-Atom
Version: 0.41
Summary: XML::Atom - Atom feed and API implementation
Summary(pl.UTF-8): XML::Atom - implementacja API Atom
Name: perl-XML-Atom
Version: 0.41
# same as perl
License: GPL v1+ or Artistic
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
# Source0-md5: 99eeebbf90c95cc1a24426a0b9f2d6a5
URL: http://search.cpan.org/dist/XML-Atom/
# same as perl
License: GPL v1+ or Artistic
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
# Source0-md5: 99eeebbf90c95cc1a24426a0b9f2d6a5
URL: http://search.cpan.org/dist/XML-Atom/
-BuildRequires: perl-devel >= 1:5.8.0
-BuildRequires: rpm-perlprov >= 4.1-13
BuildRequires: perl-Class-Data-Inheritable
BuildRequires: perl-URI
BuildRequires: perl-Class-Data-Inheritable
BuildRequires: perl-URI
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
%if %{with autodeps} && %{with tests}
BuildRequires: perl-DateTime
%endif
%if %{with autodeps} && %{with tests}
BuildRequires: perl-DateTime
%endif
+Requires: perl-XML-XPath
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)