Compare commits
10 Commits
170dc47f65
...
5a7d2bbf16
Author | SHA256 | Date | |
---|---|---|---|
5a7d2bbf16 | |||
|
4ea82fdd9b | ||
|
544d8a2d68 | ||
|
fbea829723 | ||
|
8e6f205449 | ||
|
f73852745f | ||
|
63d6ed89bd | ||
|
4f093c3541 | ||
|
26324282ac | ||
|
8e39b8e9b7 |
@@ -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
3
REST-Client-281.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fa10d21a0037e682601efe66738a758ff7521094aa01229e93c888a679b2c8f6
|
||||
size 10292
|
23
cpanspec.yml
Normal file
23
cpanspec.yml
Normal 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
|
@@ -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
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user