- make rpmlint happy

epel9
Marcela Mašláňová 15 years ago
parent 192b9e850a
commit 326ca8b462

@ -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á <mmaslano@redhat.com> - 1.206-3
- make rpmlint happy
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.206-2
- rebuild against perl 5.10.1

Loading…
Cancel
Save