bug 176720

This commit is contained in:
jvdias 2006-01-17 22:32:47 +00:00
parent 760a7a449d
commit a0a2264aa2

View File

@ -1,7 +1,7 @@
Name: perl-HTML-Tagset
Version: 3.10
Release: 1
Summary: HTML::Tagset - data tables useful in parsing HTML.
Release: 2
Summary: HTML::Tagset - data tables useful in parsing HTML
Group: Development/Libraries
License: Artistic or GPL
@ -21,26 +21,27 @@ HTML parsing operations, such as tag and entity names.
%setup -q -n HTML-Tagset-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
make test
%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*
%check
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/HTML/*
%{_mandir}/man?/HTML::Tagset*
%{perl_vendorlib}/HTML/
%{_mandir}/man?/HTML::Tagset.3*
%changelog
* Tue Jan 10 2006 Jason Vas Dias <jvdias@redhat.com> - 3.10-1