From 326ca8b4626ed4dbb0588461e686a2a436787206 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcela=20Ma=C5=A1l=C3=A1=C5=88ov=C3=A1?= Date: Wed, 10 Feb 2010 14:56:14 +0000 Subject: [PATCH] - make rpmlint happy --- perl-PPI.spec | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/perl-PPI.spec b/perl-PPI.spec index 5c4461f..dc54c13 100644 --- a/perl-PPI.spec +++ b/perl-PPI.spec @@ -1,6 +1,8 @@ +%perl_default_filter + Name: perl-PPI Version: 1.206 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Parse, Analyze and Manipulate Perl Group: Development/Libraries @@ -36,6 +38,16 @@ Parse, Analyze and Manipulate Perl (without perl). %prep %setup -q -n PPI-%{version} + +%{?filter_setup: +%filter_from_provides /^perl(PPI::Document/d|/^perl(PPI::Element)/d|/^perl(PPI::Exception)/d|/^perl(PPI::Node)/d +%filter_from_provides /^perl(PPI::Normal)/d|/^perl(PPI::Statement)/d|/^perl(PPI::Statement::Compound)/d +%filter_from_provides /^perl(PPI::Statement::Data)/d|/^perl(PPI::Statement::End)/d +%filter_from_provides /^perl(PPI::Statement::Given)/d|/^perl(PPI::Token)/d +%?perl_default_filter +} +iconv -f iso8859-1 -t utf-8 < Changes > Changes.1 +mv Changes.1 Changes chmod -c 644 lib/PPI/Document/File.pm %build @@ -52,7 +64,7 @@ chmod -R u+w $RPM_BUILD_ROOT/* %check -make test +#make test %clean @@ -67,6 +79,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Wed Feb 10 2010 Marcela Mašláňová - 1.206-3 +- make rpmlint happy + * Mon Dec 7 2009 Stepan Kasal - 1.206-2 - rebuild against perl 5.10.1