license tag fix
This commit is contained in:
parent
9265e6bf81
commit
5f9c0d2fef
@ -1,24 +1,19 @@
|
||||
Name: perl-HTML-Tree
|
||||
Version: 3.23
|
||||
Release: 1%{?dist}
|
||||
|
||||
Release: 2%{?dist}
|
||||
Summary: HTML tree handling modules for Perl
|
||||
|
||||
Group: Development/Libraries
|
||||
License: GPL or Artistic
|
||||
License: GPL+ or Artistic
|
||||
URL: http://search.cpan.org/dist/HTML-Tree/
|
||||
Source0: http://www.cpan.org/authors/id/P/PE/PETDANCE/HTML-Tree-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl(HTML::Parser) >= 2.19
|
||||
BuildRequires: perl(HTML::Tagset) >= 3.02
|
||||
|
||||
# For improved tests
|
||||
BuildRequires: perl(Test::Pod) >= 1.00
|
||||
|
||||
BuildRequires: perl(Test::More)
|
||||
Epoch: 1
|
||||
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
%description
|
||||
@ -28,7 +23,6 @@ also relevent documentation. These modules used to be part of the
|
||||
libwww-perl distribution, but are now unbundled in order to facilitate
|
||||
a separate development track.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n HTML-Tree-%{version}
|
||||
%{__perl} -pi -e 's|/usr/local/bin/perl|%{__perl}|' htmltree
|
||||
@ -41,12 +35,10 @@ EOF
|
||||
%define __perl_provides %{_builddir}/HTML-Tree-%{version}/%{name}-prov
|
||||
chmod +x %{__perl_provides}
|
||||
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
||||
@ -54,23 +46,22 @@ find $RPM_BUILD_ROOT -type f -name .packlist -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 TODO htmltree
|
||||
%{perl_vendorlib}/HTML
|
||||
%{_mandir}/man3/HTML::*3*
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Aug 26 2007 Tom "spot" Callaway <tcallawa@redhat.com> 3.23-2
|
||||
- license tag fix
|
||||
|
||||
* Wed Jan 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> 3.23-1
|
||||
- bump to 3.23
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user