From e2a6b9e19f29a01e733f69c2edf71aaf5e7995b3636e5d49df320f2adb400c1f Mon Sep 17 00:00:00 2001 From: Dirk Stoecker Date: Tue, 14 Sep 2021 19:25:41 +0000 Subject: [PATCH] refresh spec file OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Web-Scraper?expand=0&rev=5 --- perl-Web-Scraper.changes | 5 +++++ perl-Web-Scraper.spec | 22 ++++++++++------------ 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/perl-Web-Scraper.changes b/perl-Web-Scraper.changes index 200c76d..63d0cf1 100644 --- a/perl-Web-Scraper.changes +++ b/perl-Web-Scraper.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Sep 14 19:25:25 UTC 2021 - Dirk Stoecker + +- refresh spec file + ------------------------------------------------------------------- Wed Apr 15 14:10:28 UTC 2015 - coolo@suse.com diff --git a/perl-Web-Scraper.spec b/perl-Web-Scraper.spec index ef0201d..da265c9 100644 --- a/perl-Web-Scraper.spec +++ b/perl-Web-Scraper.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Web-Scraper # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,21 +12,19 @@ # license that conforms to the Open Source Definition (Version 1.9) # 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/ # +%define cpan_name Web-Scraper Name: perl-Web-Scraper Version: 0.38 Release: 0 -%define cpan_name Web-Scraper +License: Artistic-1.0 OR GPL-1.0-or-later Summary: Web Scraping Toolkit using HTML and CSS Selectors or XPath expressions -License: Artistic-1.0 or GPL-1.0+ -Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/Web-Scraper/ -Source: http://www.cpan.org/authors/id/M/MI/MIYAGAWA/%{cpan_name}-%{version}.tar.gz +URL: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/M/MI/MIYAGAWA/%{cpan_name}-%{version}.tar.gz BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(ExtUtils::MakeMaker) >= 6.59 @@ -65,10 +63,10 @@ of a document to extract. It understands HTML and CSS Selectors as well as XPath expressions. %prep -%setup -q -n %{cpan_name}-%{version} +%autosetup -n %{cpan_name}-%{version} %build -%{__perl} Build.PL --installdirs=vendor +perl Build.PL --installdirs=vendor ./Build build --flags=%{?_smp_mflags} %check @@ -79,7 +77,7 @@ XPath expressions. %perl_gen_filelist %files -f %{name}.files -%defattr(-,root,root,755) -%doc Changes LICENSE README +%doc Changes README +%license LICENSE %changelog