fix bug 176720: upgrade to 3.10; make .spec file conform to
fedora-rpmdevtools perl .spec template
This commit is contained in:
parent
4b52c671ba
commit
760a7a449d
@ -1,2 +1,3 @@
|
||||
HTML-Tagset-3.03.tar.gz
|
||||
HTML-Tagset-3.04.tar.gz
|
||||
HTML-Tagset-3.10.tar.gz
|
||||
|
@ -1,15 +1,17 @@
|
||||
Summary: HTML::Tagset - data tables useful in parsing HTML.
|
||||
Name: perl-HTML-Tagset
|
||||
Version: 3.04
|
||||
Release: 2.1.1
|
||||
License: Artistic or GPL
|
||||
Group: Development/Libraries
|
||||
Source0: http://search.cpan.org/CPAN/authors/id/S/SB/SBURKE/HTML-Tagset-%{version}.tar.gz
|
||||
URL: http://search.cpan.org/dist/HTML-Tagset/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
BuildRequires: perl >= 0:5.00503
|
||||
Requires: perl >= 0:5.00503
|
||||
BuildArch: noarch
|
||||
Name: perl-HTML-Tagset
|
||||
Version: 3.10
|
||||
Release: 1
|
||||
Summary: HTML::Tagset - data tables useful in parsing HTML.
|
||||
|
||||
Group: Development/Libraries
|
||||
License: Artistic or GPL
|
||||
URL: http://search.cpan.org/dist/HTML-Tagset/
|
||||
Source0: http://search.cpan.org/CPAN/authors/id/P/PE/PETDANCE/HTML-Tagset-%{version}.tar.gz
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: perl
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
%description
|
||||
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}
|
||||
|
||||
%build
|
||||
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL PREFIX=$RPM_BUILD_ROOT/usr INSTALLDIRS=vendor
|
||||
make
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
|
||||
make %{?_smp_mflags}
|
||||
make test
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make install
|
||||
|
||||
find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -fv {} \;
|
||||
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/*
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc ChangeLog README
|
||||
%{perl_vendorlib}/HTML/*.pm
|
||||
%{_mandir}/man?/HTML::Tagset*.gz
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes README
|
||||
%{perl_vendorlib}/HTML/*
|
||||
%{_mandir}/man?/HTML::Tagset*
|
||||
|
||||
%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>
|
||||
- rebuilt for new gcc
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user