diff --git a/perl-HTML-Parser.spec b/perl-HTML-Parser.spec index 678e4cc..f940f18 100644 --- a/perl-HTML-Parser.spec +++ b/perl-HTML-Parser.spec @@ -4,7 +4,7 @@ Summary: A Perl module for parsing HTML. Name: %{name} Version: 3.26 -Release: 14 +Release: 15 License: GPL or Artistic Group: System Environment/Libraries Source: ftp://ftp.cpan.org/pub/perl/CPAN/modules/by-module/HTML/%{real_name}-%{version}.tar.gz @@ -32,6 +32,8 @@ make install [ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress +find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -v {} \; + find $RPM_BUILD_ROOT/usr -type f -print | sed "s@^$RPM_BUILD_ROOT@@g" | grep -v perllocal.pod |