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

28
cpanspec.yml Normal file
View File

@@ -0,0 +1,28 @@
---
#description_paragraphs: 3
#description: |-
# override description from CPAN
#summary: override summary from CPAN
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_build: |-
# rm unused.files
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Oct 23 21:32:00 UTC 2019 - Tina Mueller <tina.mueller@suse.com>
- Regenerate spec with newest cpanspec
* CGI was added as a dependency since it was removed from core in perl 5.22
-------------------------------------------------------------------
Tue May 3 05:59:57 UTC 2011 - coolo@opensuse.org

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