From 9408e581e8f11fc6d3b8def35ad8812ec34f419cbb53309bb77f2391b8a41780 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Mon, 23 Apr 2018 07:48:40 +0000 Subject: [PATCH] Accepting request 599538 from devel:languages:perl:autoupdate automatic update OBS-URL: https://build.opensuse.org/request/show/599538 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-RT-Client-REST?expand=0&rev=2 --- RT-Client-REST-0.50.tar.gz | 3 --- RT-Client-REST-0.52.tar.gz | 3 +++ cpanspec.yml | 28 ++++++++++++++++++++++++++++ perl-RT-Client-REST.changes | 5 +++++ perl-RT-Client-REST.spec | 18 ++++++++++++------ 5 files changed, 48 insertions(+), 9 deletions(-) delete mode 100644 RT-Client-REST-0.50.tar.gz create mode 100644 RT-Client-REST-0.52.tar.gz create mode 100644 cpanspec.yml create mode 100644 perl-RT-Client-REST.changes diff --git a/RT-Client-REST-0.50.tar.gz b/RT-Client-REST-0.50.tar.gz deleted file mode 100644 index f32b904..0000000 --- a/RT-Client-REST-0.50.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2d19fe8c144b8104031b123980d384a98108111d12c1abce406db656d448ab93 -size 84846 diff --git a/RT-Client-REST-0.52.tar.gz b/RT-Client-REST-0.52.tar.gz new file mode 100644 index 0000000..e4b25c2 --- /dev/null +++ b/RT-Client-REST-0.52.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d058b8aa0db21aa1734ac50ae557297f603c2be60fa95a1d85278dbd11e19500 +size 77459 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-RT-Client-REST.changes b/perl-RT-Client-REST.changes new file mode 100644 index 0000000..d7f80ea --- /dev/null +++ b/perl-RT-Client-REST.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Sat Apr 21 05:49:39 UTC 2018 - coolo@suse.com + +- initial package 0.52 + * created by cpanspec 1.78.08 diff --git a/perl-RT-Client-REST.spec b/perl-RT-Client-REST.spec index 4a3c989..3c0a903 100644 --- a/perl-RT-Client-REST.spec +++ b/perl-RT-Client-REST.spec @@ -1,7 +1,7 @@ # # spec file for package perl-RT-Client-REST # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -17,14 +17,15 @@ Name: perl-RT-Client-REST -Version: 0.50 +Version: 0.52 Release: 0 %define cpan_name RT-Client-REST -Summary: Talk to Rt Installation Using Rest Protocol -License: Artistic-1.0 or GPL-1.0+ +Summary: Client for RT using REST API +License: Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/RT-Client-REST/ -Source0: http://www.cpan.org/authors/id/S/SR/SRVSH/%{cpan_name}-%{version}.tar.gz +Source0: https://cpan.metacpan.org/authors/id/D/DJ/DJZORT/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl @@ -35,6 +36,9 @@ BuildRequires: perl(Error) BuildRequires: perl(Exception::Class) BuildRequires: perl(HTTP::Cookies) BuildRequires: perl(HTTP::Request::Common) +BuildRequires: perl(HTTP::Server::Simple) >= 0.44 +BuildRequires: perl(HTTP::Server::Simple::CGI) +BuildRequires: perl(HTTP::Server::Simple::CGI::Environment) BuildRequires: perl(LWP) BuildRequires: perl(Params::Validate) BuildRequires: perl(Test::Exception) @@ -58,6 +62,7 @@ Abhijit Menon-Sen, and converted it to an object-oriented Perl module. %prep %setup -q -n %{cpan_name}-%{version} +find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644 %build %{__perl} Makefile.PL INSTALLDIRS=vendor @@ -73,6 +78,7 @@ Abhijit Menon-Sen, and converted it to an object-oriented Perl module. %files -f %{name}.files %defattr(-,root,root,755) -%doc CHANGES examples README TODO +%doc CHANGES examples README README.md TODO +%license LICENSE %changelog