diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..76ad4a4 --- /dev/null +++ b/cpanspec.yml @@ -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 diff --git a/perl-XML-OverHTTP.changes b/perl-XML-OverHTTP.changes index e888db1..d792cc4 100644 --- a/perl-XML-OverHTTP.changes +++ b/perl-XML-OverHTTP.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Oct 23 21:32:00 UTC 2019 - Tina Mueller + +- 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 diff --git a/perl-XML-OverHTTP.spec b/perl-XML-OverHTTP.spec index c348df1..169ba9b 100644 --- a/perl-XML-OverHTTP.spec +++ b/perl-XML-OverHTTP.spec @@ -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