3.69 bump
This commit is contained in:
parent
c0ab18893c
commit
63dba8f7eb
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
|||||||
HTML-Parser-3.66.tar.gz
|
HTML-Parser-3.66.tar.gz
|
||||||
/HTML-Parser-3.67.tar.gz
|
/HTML-Parser-3.67.tar.gz
|
||||||
/HTML-Parser-3.68.tar.gz
|
/HTML-Parser-3.68.tar.gz
|
||||||
|
/HTML-Parser-3.69.tar.gz
|
||||||
|
|||||||
@ -2,24 +2,25 @@
|
|||||||
|
|
||||||
Name: perl-%{real_name}
|
Name: perl-%{real_name}
|
||||||
Summary: Perl module for parsing HTML
|
Summary: Perl module for parsing HTML
|
||||||
Version: 3.68
|
Version: 3.69
|
||||||
Release: 4%{?dist}
|
Release: 1%{?dist}
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Source0: http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTML-Parser-%{version}.tar.gz
|
Source0: http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTML-Parser-%{version}.tar.gz
|
||||||
URL: http://search.cpan.org/dist/HTML-Parser/
|
URL: http://search.cpan.org/dist/HTML-Parser/
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
|
BuildRequires: perl(Carp)
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
BuildRequires: perl(HTML::Tagset) >= 3
|
BuildRequires: perl(HTML::Tagset) >= 3
|
||||||
|
BuildRequires: perl(HTTP::Headers)
|
||||||
BuildRequires: perl(Test::More)
|
BuildRequires: perl(Test::More)
|
||||||
|
BuildRequires: perl(URI)
|
||||||
BuildRequires: perl(XSLoader)
|
BuildRequires: perl(XSLoader)
|
||||||
|
|
||||||
Requires: perl(HTML::Tagset) >= 3
|
Requires: perl(HTML::Tagset) >= 3
|
||||||
|
Requires: perl(HTTP::Headers)
|
||||||
|
Requires: perl(URI)
|
||||||
Requires: perl(XSLoader)
|
Requires: perl(XSLoader)
|
||||||
|
|
||||||
|
|
||||||
%{?perl_default_filter}
|
%{?perl_default_filter}
|
||||||
%{?perl_default_subpackage_tests}
|
%{?perl_default_subpackage_tests}
|
||||||
|
|
||||||
@ -28,37 +29,28 @@ The HTML-Parser module for perl to parse and extract information from
|
|||||||
HTML documents, including the HTML::Entities, HTML::HeadParser,
|
HTML documents, including the HTML::Entities, HTML::HeadParser,
|
||||||
HTML::LinkExtor, HTML::PullParser, and HTML::TokeParser modules.
|
HTML::LinkExtor, HTML::PullParser, and HTML::TokeParser modules.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{real_name}-%{version}
|
%setup -q -n %{real_name}-%{version}
|
||||||
chmod -c a-x eg/*
|
chmod -c a-x eg/*
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
|
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
make pure_install PERL_INSTALL_ROOT=%{buildroot}
|
||||||
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
file=%{buildroot}%{_mandir}/man3/HTML::Entities.3pm
|
||||||
|
|
||||||
file=$RPM_BUILD_ROOT%{_mandir}/man3/HTML::Entities.3pm
|
|
||||||
iconv -f iso-8859-1 -t utf-8 <"$file" > "${file}_"
|
iconv -f iso-8859-1 -t utf-8 <"$file" > "${file}_"
|
||||||
mv -f "${file}_" "$file"
|
mv -f "${file}_" "$file"
|
||||||
|
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
||||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
find %{buildroot} -type f -name '*.bs' -empty -exec rm -f {} ';'
|
||||||
find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
|
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
|
||||||
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
|
chmod -R u+w %{buildroot}/*
|
||||||
chmod -R u+w $RPM_BUILD_ROOT/*
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test
|
make test
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc Changes README TODO eg/
|
%doc Changes README TODO eg/
|
||||||
%{perl_vendorarch}/HTML/
|
%{perl_vendorarch}/HTML/
|
||||||
%{perl_vendorarch}/auto/HTML/
|
%{perl_vendorarch}/auto/HTML/
|
||||||
@ -66,6 +58,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Oct 17 2011 Petr Sabata <contyk@redhat.com> - 3.69-1
|
||||||
|
- 3.69 bump
|
||||||
|
- Drop Buildroot and defattr, cleanup
|
||||||
|
|
||||||
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 3.68-4
|
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 3.68-4
|
||||||
- Perl mass rebuild
|
- Perl mass rebuild
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user