From d2e46e3ab3e3aeb22e7c3d5bad20a2a78e093b6c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppi...@redhat.com>
Date: Wed, 20 Jul 2016 13:38:07 +0200
Subject: Correct perl_default_filter macro invocation without perl in SRPM
 build root

---
 perl-RPC-XML.spec | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/perl-RPC-XML.spec b/perl-RPC-XML.spec
index af17d90..5e4b2de 100644
--- a/perl-RPC-XML.spec
+++ b/perl-RPC-XML.spec
@@ -2,7 +2,7 @@
 
 Name:    perl-%{cpan_name}
 Version: 0.80
-Release: 2%{?dist}
+Release: 3%{?dist}
 Summary: Set of classes for core data, message and XML handling
 Group:   Development/Libraries
 License: Artistic 2.0 or LGPLv2
@@ -78,7 +78,7 @@ Requires:       perl(DateTime) >= 0.70
 Requires:       perl(DateTime::Format::ISO8601) >= 0.07
 Requires:       perl(XML::LibXML) >= 1.85
 
-%perl_default_filter
+%{?perl_default_filter}
 # Remove underspecified symbols
 %global __requires_exclude 
%{?__requires_exclude:%__requires_exclude|}^perl\\(constant|File::Spec|Module::Load|Scalar::Util|XML::LibXML|XML::Parser\\)\\s*$
 
@@ -131,6 +131,9 @@ make test
 %{perl_vendorlib}/Apache
 
 %changelog
+* Wed Jul 20 2016 Petr Pisar <ppi...@redhat.com> - 0.80-3
+- Correct perl_default_filter macro invocation without perl in SRPM build root
+
 * Mon May 16 2016 Jitka Plesnikova <jples...@redhat.com> - 0.80-2
 - Perl 5.24 rebuild
 
-- 
cgit v0.12


        
http://pkgs.fedoraproject.org/cgit/perl-RPC-XML.git/commit/?h=master&id=d2e46e3ab3e3aeb22e7c3d5bad20a2a78e093b6c
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

Reply via email to