fix bug 176720: upgrade to 3.10; make .spec file conform to

fedora-rpmdevtools perl .spec template
This commit is contained in:
jvdias 2006-01-10 17:10:44 +00:00
parent 4b52c671ba
commit 760a7a449d
3 changed files with 31 additions and 22 deletions

View File

@ -1,2 +1,3 @@
HTML-Tagset-3.03.tar.gz HTML-Tagset-3.03.tar.gz
HTML-Tagset-3.04.tar.gz HTML-Tagset-3.04.tar.gz
HTML-Tagset-3.10.tar.gz

View File

@ -1,15 +1,17 @@
Summary: HTML::Tagset - data tables useful in parsing HTML. Name: perl-HTML-Tagset
Name: perl-HTML-Tagset Version: 3.10
Version: 3.04 Release: 1
Release: 2.1.1 Summary: HTML::Tagset - data tables useful in parsing HTML.
License: Artistic or GPL
Group: Development/Libraries Group: Development/Libraries
Source0: http://search.cpan.org/CPAN/authors/id/S/SB/SBURKE/HTML-Tagset-%{version}.tar.gz License: Artistic or GPL
URL: http://search.cpan.org/dist/HTML-Tagset/ URL: http://search.cpan.org/dist/HTML-Tagset/
BuildRoot: %{_tmppath}/%{name}-%{version}-root Source0: http://search.cpan.org/CPAN/authors/id/P/PE/PETDANCE/HTML-Tagset-%{version}.tar.gz
BuildRequires: perl >= 0:5.00503
Requires: perl >= 0:5.00503 BuildArch: noarch
BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: perl
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description %description
This module contains several data tables useful in various kinds of This module contains several data tables useful in various kinds of
@ -19,26 +21,32 @@ HTML parsing operations, such as tag and entity names.
%setup -q -n HTML-Tagset-%{version} %setup -q -n HTML-Tagset-%{version}
%build %build
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL PREFIX=$RPM_BUILD_ROOT/usr INSTALLDIRS=vendor %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
make make %{?_smp_mflags}
make test make test
%install %install
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
make install make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -fv {} \; 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/*
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root) %defattr(-,root,root,-)
%doc ChangeLog README %doc Changes README
%{perl_vendorlib}/HTML/*.pm %{perl_vendorlib}/HTML/*
%{_mandir}/man?/HTML::Tagset*.gz %{_mandir}/man?/HTML::Tagset*
%changelog %changelog
* Tue Jan 10 2006 Jason Vas Dias <jvdias@redhat.com> - 3.10-1
- fix bug 176720: upgrade to 3.10
- make .spec file conform to fedora-rpmdevtools spectemplate-perl.spec
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com> * Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
- rebuilt for new gcc - rebuilt for new gcc

View File

@ -1 +1 @@
b82e0f08c1ececefe98b891f30dd56a6 HTML-Tagset-3.04.tar.gz 89bdd351272ccd285fa61c5b2ce451ab HTML-Tagset-3.10.tar.gz