Accepting request 742263 from home:tinita:branches:devel:languages:perl

- Regenerate spec with newest cpanspec
   * CGI was added as a dependency since it was removed from core in perl 5.22

OBS-URL: https://build.opensuse.org/request/show/742263
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-OverHTTP?expand=0&rev=2
This commit is contained in:
Lars Vogdt
2019-10-27 14:19:55 +00:00
committed by Git OBS Bridge
parent ba4236b8a7
commit e47a35532f
3 changed files with 50 additions and 15 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-XML-OverHTTP (Version 0.08)
# spec file for package perl-XML-OverHTTP
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,27 +12,31 @@
# 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/
#
Name: perl-XML-OverHTTP
Version: 0.08
Release: 1
License: GPL+ or Artistic
Release: 0
%define cpan_name XML-OverHTTP
Summary: A base class for XML over HTTP-styled web service interface
Url: http://search.cpan.org/dist/XML-OverHTTP/
Summary: Base class for XML over HTTP-styled web service interface
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
Source: http://www.cpan.org/authors/id/K/KA/KAWASAKI/%{cpan_name}-%{version}.tar.gz
Url: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/K/KA/KAWASAKI/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(CGI)
BuildRequires: perl(Class::Accessor::Chained::Fast)
BuildRequires: perl(Class::Accessor::Fast)
BuildRequires: perl(Data::Page)
BuildRequires: perl(Data::Pageset)
BuildRequires: perl(XML::TreePP) >= 0.33
Requires: perl(CGI)
Requires: perl(Class::Accessor::Chained::Fast)
Requires: perl(Class::Accessor::Fast)
Requires: perl(Data::Page)
@@ -47,23 +51,20 @@ HTTP-styled web service.
%prep
%setup -q -n %{cpan_name}-%{version}
find . -type f -print0 | xargs -0 chmod 644
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -name "*.sh" -print0 | xargs -0 chmod 644
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%check
%{__make} test
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%clean
%{__rm} -rf %{buildroot}
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes make-dist.sh README