Compare commits

...

10 Commits

Author SHA256 Message Date
5a7d2bbf16 Accepting request 943084 from devel:languages:perl:autoupdate
- updated to 281
   see /usr/share/doc/packages/perl-REST-Client/Changes

OBS-URL: https://build.opensuse.org/request/show/943084
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-REST-Client?expand=0&rev=12
2022-01-04 11:11:10 +00:00
Lars Vogdt
4ea82fdd9b Accepting request 738707 from home:tinita:branches:devel:languages:perl
- Regenerate spec with newest cpanspec
   * Add PERL_USE_UNSAFE_INC

OBS-URL: https://build.opensuse.org/request/show/738707
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-REST-Client?expand=0&rev=11
2019-10-16 05:16:07 +00:00
Stephan Kulow
544d8a2d68 Accepting request 321396 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/321396
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-REST-Client?expand=0&rev=10
2015-08-08 13:39:36 +00:00
Stephan Kulow
fbea829723 Accepting request 296809 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/296809
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-REST-Client?expand=0&rev=9
2015-04-15 11:29:42 +00:00
Pascal Bleser
8e6f205449 245
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-REST-Client?expand=0&rev=8
2012-03-29 17:00:15 +00:00
Pascal Bleser
f73852745f 236
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-REST-Client?expand=0&rev=7
2011-11-08 10:06:53 +00:00
Pascal Bleser
63d6ed89bd only run tests on > 11.2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-REST-Client?expand=0&rev=6
2011-05-23 05:13:43 +00:00
Pascal Bleser
4f093c3541 217
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-REST-Client?expand=0&rev=5
2011-05-22 22:41:44 +00:00
Stephan Kulow
26324282ac always buildrequire perl-macros if not present, move %perl_requires behind buildroot (script commit)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-REST-Client?expand=0&rev=4
2010-12-03 14:49:06 +00:00
Stephan Kulow
8e39b8e9b7 siwtch to perl_requires macro
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-REST-Client?expand=0&rev=3
2010-12-01 13:53:45 +00:00
5 changed files with 143 additions and 39 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:775ae625decc80a92d55d857e15e48914174c7fc324e5f89711f3d9ff4fd0365
size 28285

3
REST-Client-281.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fa10d21a0037e682601efe66738a758ff7521094aa01229e93c888a679b2c8f6
size 10292

23
cpanspec.yml Normal file
View File

@@ -0,0 +1,23 @@
---
#description_paragraphs: 3
#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_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,77 @@
-------------------------------------------------------------------
Sat Dec 18 03:09:28 UTC 2021 - Tina Müller <timueller+perl@suse.de>
- updated to 281
see /usr/share/doc/packages/perl-REST-Client/Changes
-------------------------------------------------------------------
Tue Oct 15 20:45:51 UTC 2019 - Tina Mueller <tina.mueller@suse.com>
- Regenerate spec with newest cpanspec
* Add PERL_USE_UNSAFE_INC
-------------------------------------------------------------------
Sat Aug 8 08:59:13 UTC 2015 - coolo@suse.com
- updated to 273
see /usr/share/doc/packages/perl-REST-Client/CHANGES
273
* Add ContentFile that will allow writing responses directly to file or
process using a call back through LWP::UserAgent
* Seperated CA file from SSL cert and SSL key directives to allow for
hostname verificaiton and ca file specification independently.
Thanks David Imbs.
* No longer depends on Crypt::SSLeay
-------------------------------------------------------------------
Wed Apr 15 11:25:10 UTC 2015 - coolo@suse.com
- updated to 272
see /usr/share/doc/packages/perl-REST-Client/CHANGES
272
* Fix bug that didn't allow false PUT content. Thanks Thomas Hörndlein!
271
* Move to LWP 6.x style SSL setup. Thanks Martin Drasar and Joel Crosswhite,
for reports and testing.
249
* Remove Makefile from distribution.
-------------------------------------------------------------------
Thu Mar 29 16:59:15 UTC 2012 - pascal.bleser@opensuse.org
- update to 245: too many changes, see CHANGES file
-------------------------------------------------------------------
Tue Nov 08 10:08:59 UTC 2011 - pascal.bleser@opensuse.org
- update to 236:
* added PATCH support
-------------------------------------------------------------------
Sun May 22 22:39:48 UTC 2011 - pascal.bleser@opensuse.org
- update to 217:
* improved POD with better organization and a fix
* added support for PKCS12 certificates in the config API
* added a responseHeaders() method
* added sanity tests of responseHeaders() and responseHeader()
* added a method for accessing the LWP::UserAgent
* added user agent config
* cached user agent for all requests
* changed default behavior to not follow redirects
* added an option to re-enable original auto-following behavior
-------------------------------------------------------------------
Wed Dec 1 13:34:46 UTC 2010 - coolo@novell.com
- switch to perl_requires macro
-------------------------------------------------------------------
Mon Nov 29 18:30:58 UTC 2010 - coolo@novell.com

View File

@@ -1,54 +1,61 @@
# vim: set sw=4 ts=4 et nu:
# norootforbuild
#
# spec file for package perl-REST-Client
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define cpan_name REST-Client
Name: perl-REST-Client
Version: 171
Version: 281
Release: 0
Summary: Simple Client for Interacting with RESTful HTTP/HTTPS Resources
Source: http://search.cpan.org/CPAN/authors/id/M/MC/MCRAWFOR/REST-Client-%{version}.tar.gz
URL: http://search.cpan.org/dist/REST-Client
Group: Development/Libraries/Perl
License: Perl License
BuildRoot: %{_tmppath}/build-%{name}-%{version}
Requires: perl = %{perl_version}
Summary: Simple client for interacting with RESTful http/https resources
License: Artistic-1.0 OR GPL-1.0-or-later
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/A/AK/AKHUETTEL/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRequires: perl
BuildRequires: make
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
BuildRequires: perl(URI)
BuildRequires: perl-macros
BuildRequires: perl(HTTP::Server::Simple)
BuildRequires: perl(LWP::Protocol::https)
BuildRequires: perl(LWP::UserAgent)
BuildRequires: perl(Crypt::SSLeay)
Requires: perl(URI)
BuildRequires: perl(URI)
Requires: perl(LWP::Protocol::https)
Requires: perl(LWP::UserAgent)
Requires: perl(Crypt::SSLeay)
Requires: perl(URI)
%{perl_requires}
%description
REST::Client provides a simple way to interact with HTTP RESTful
resources.
REST::Client provides a simple way to interact with HTTP RESTful resources.
%prep
%setup -q -n "REST-Client-%{version}"
%__sed -i '/^auto_install/d' Makefile.PL
%autosetup -n %{cpan_name}-%{version}
%build
%__perl Makefile.PL PREFIX="%{_prefix}"
%__make %{?jobs:-j%{jobs}}
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%check
%__make test
%clean
%{?buildroot:%__rm -rf "%{buildroot}"}
%files
%defattr(-,root,root)
%doc CHANGES
%dir %{perl_vendorlib}/REST
%{perl_vendorlib}/REST/Client.pm
%dir %{perl_vendorarch}/auto/REST
%{perl_vendorarch}/auto/REST/Client
%doc %{perl_man3dir}/REST::Client.%{perl_man3ext}%{ext_man}
%files -f %{name}.files
%doc Changes README.md
%changelog