[packages/perl-XML-Atom] requires XML::LibXML or XML::XPath

glen glen at pld-linux.org
Mon Jul 25 11:05:33 CEST 2016


commit c9dcbade1024c58073495920b3bc2cd6ae4a3003
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Jul 25 12:04:04 2016 +0300

    requires XML::LibXML or XML::XPath
    
    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.

 perl-XML-Atom.spec | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/perl-XML-Atom.spec b/perl-XML-Atom.spec
index 9a34f7e..8abf507 100644
--- a/perl-XML-Atom.spec
+++ b/perl-XML-Atom.spec
@@ -2,28 +2,29 @@
 # 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
+%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
-Release:	1
+Release:	2
 # 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-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
 %if %{with autodeps} && %{with tests}
 BuildRequires:	perl-DateTime
 %endif
+Requires:	perl-XML-XPath
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-XML-Atom.git/commitdiff/c9dcbade1024c58073495920b3bc2cd6ae4a3003



More information about the pld-cvs-commit mailing list