fix build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTML-HTML5-Parser?expand=0&rev=14
This commit is contained in:
@@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 20 15:46:41 UTC 2020 - Dirk Stoecker <opensuse@dstoecker.de>
|
||||||
|
|
||||||
|
- Fix build
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 11 13:52:43 UTC 2018 - Dirk Stoecker <opensuse@dstoecker.de>
|
||||||
|
|
||||||
|
- Fix build, update to 0.301
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
Sun May 1 10:29:45 UTC 2011 - coolo@opensuse.org
|
Sun May 1 10:29:45 UTC 2011 - coolo@opensuse.org
|
||||||
|
|
||||||
- initial package 0.103
|
- initial package 0.103
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-HTML-HTML5-Parser (Version 0.103)
|
# spec file for package perl-HTML-HTML5-Parser
|
||||||
#
|
#
|
||||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2020 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -12,47 +12,37 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: perl-HTML-HTML5-Parser
|
Name: perl-HTML-HTML5-Parser
|
||||||
Version: 0.301
|
Version: 0.301
|
||||||
Release: 1
|
Release: 0
|
||||||
License: GPL+ or Artistic
|
|
||||||
%define cpan_name HTML-HTML5-Parser
|
%define cpan_name HTML-HTML5-Parser
|
||||||
Summary: parse HTML reliably
|
Summary: Parse HTML reliably
|
||||||
Url: https://metacpan.org/release/%{cpan_name}
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
Source: https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/%{cpan_name}-%{version}.tar.gz
|
URL: https://metacpan.org/release/%{cpan_name}
|
||||||
|
Source0: https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/%{cpan_name}-%{version}.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
#BuildRequires: perl(Error)
|
|
||||||
#BuildRequires: perl(HTML::Encoding) >= 0.55
|
|
||||||
BuildRequires: perl(HTML::HTML5::Entities) >= 0.002
|
BuildRequires: perl(HTML::HTML5::Entities) >= 0.002
|
||||||
#BuildRequires: perl(LWP::UserAgent)
|
|
||||||
#BuildRequires: perl(Module::Install)
|
|
||||||
BuildRequires: perl(Module::Package)
|
|
||||||
#BuildRequires: perl(Module::Signature) >= 0.66
|
|
||||||
BuildRequires: perl(XML::LibXML) >= 1.94
|
|
||||||
BuildRequires: perl(XML::LibXML::Devel)
|
|
||||||
BuildRequires: perl(HTTP::Tiny)
|
BuildRequires: perl(HTTP::Tiny)
|
||||||
BuildRequires: perl(IO::HTML)
|
BuildRequires: perl(IO::HTML)
|
||||||
BuildRequires: perl(Scalar::Util)
|
|
||||||
BuildRequires: perl(Try::Tiny)
|
BuildRequires: perl(Try::Tiny)
|
||||||
BuildRequires: perl(URI::file)
|
BuildRequires: perl(URI::file)
|
||||||
#Requires: perl(Error)
|
BuildRequires: perl(XML::LibXML) >= 1.94
|
||||||
#Requires: perl(HTML::Encoding) >= 0.55
|
BuildRequires: perl(XML::LibXML::Devel)
|
||||||
Requires: perl(HTML::HTML5::Entities) >= 0.002
|
Requires: perl(HTML::HTML5::Entities) >= 0.002
|
||||||
#Requires: perl(LWP::UserAgent)
|
|
||||||
Requires: perl(XML::LibXML) >= 1.94
|
|
||||||
#Requires: perl(XML::LibXML::Devel)
|
|
||||||
Requires: perl(HTTP::Tiny)
|
Requires: perl(HTTP::Tiny)
|
||||||
Requires: perl(IO::HTML)
|
Requires: perl(IO::HTML)
|
||||||
Requires: perl(Scalar::Util)
|
|
||||||
Requires: perl(Try::Tiny)
|
Requires: perl(Try::Tiny)
|
||||||
Requires: perl(URI::file)
|
Requires: perl(URI::file)
|
||||||
|
Requires: perl(XML::LibXML) >= 1.94
|
||||||
|
Requires: perl(XML::LibXML::Devel)
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -70,25 +60,22 @@ Changes include:
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
find . -type f -print0 | xargs -0 chmod 644
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
PERL_USE_UNSAFE_INC=1 perl Makefile.PL INSTALLDIRS=vendor
|
||||||
%{__make} %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__make} test
|
make test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
|
||||||
%{__rm} -rf %{buildroot}
|
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,755)
|
%defattr(-,root,root,755)
|
||||||
%doc Changes Changes.ttl Changes.xml README
|
%doc Changes COPYRIGHT CREDITS examples NEWS README TODO
|
||||||
|
%license LICENSE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user