8
0

Compare commits

...

10 Commits

Author SHA256 Message Date
1653c37d93 Accepting request 296641 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/296641
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-HTTP-Lite?expand=0&rev=9
2015-04-15 14:25:39 +00:00
Stephan Kulow
0f2d0bf653 Accepting request 296510 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/296510
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTTP-Lite?expand=0&rev=15
2015-04-15 04:35:28 +00:00
Stephan Kulow
ec0c3f4808 Accepting request 224991 from devel:languages:perl
update

OBS-URL: https://build.opensuse.org/request/show/224991
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-HTTP-Lite?expand=0&rev=7
2014-03-09 17:38:30 +00:00
Stephan Kulow
7fd292d5bc update
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTTP-Lite?expand=0&rev=13
2014-03-07 09:28:59 +00:00
Stephan Kulow
818859f2e1 Accepting request 184827 from devel:languages:perl
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/184827
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-HTTP-Lite?expand=0&rev=5
2013-07-30 10:02:29 +00:00
Stephan Kulow
263cbb78cb - updated to 2.42
- Fixed typos reported by David Steinbrunner (thanks!)
    - Reformatted this file according to CPAN::Changes::Spec

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTTP-Lite?expand=0&rev=11
2013-07-27 13:03:21 +00:00
Stephan Kulow
57da43ee7e Accepting request 177681 from devel:languages:perl
update (forwarded request 177650 from coolo)

OBS-URL: https://build.opensuse.org/request/show/177681
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-HTTP-Lite?expand=0&rev=4
2013-06-06 10:20:40 +00:00
Stephan Kulow
df736c9919 Accepting request 177650 from home:coolo:update-perl
update

OBS-URL: https://build.opensuse.org/request/show/177650
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTTP-Lite?expand=0&rev=9
2013-06-05 08:23:52 +00:00
Stephan Kulow
fd9df0f819 Accepting request 103722 from devel:languages:perl
new perl package

OBS-URL: https://build.opensuse.org/request/show/103722
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-HTTP-Lite?expand=0&rev=1
2012-02-14 12:09:02 +00:00
Stephan Kulow
912d399857 better source
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTTP-Lite?expand=0&rev=7
2012-02-10 12:19:41 +00:00
4 changed files with 81 additions and 40 deletions

View File

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

3
HTTP-Lite-2.44.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,41 @@
-------------------------------------------------------------------
Tue Apr 14 20:48:26 UTC 2015 - coolo@suse.com
- updated to 2.44
see /usr/share/doc/packages/perl-HTTP-Lite/Changes
2.44 2015-03-11 NEILB
- Switched to Dist::Zilla
-------------------------------------------------------------------
Fri Mar 7 09:28:11 UTC 2014 - coolo@suse.com
- updated to 2.43
- Directed people to HTTP::Tiny and LWP at the start of the doc
- Added links to better modules in SEE ALSO
- Added "use warnings" (!)
- Moved test.pl into t/original-tests.t
-------------------------------------------------------------------
Sat Jul 27 11:58:42 UTC 2013 - coolo@suse.com
- updated to 2.42
- Fixed typos reported by David Steinbrunner (thanks!)
- Reformatted this file according to CPAN::Changes::Spec
-------------------------------------------------------------------
Wed Jun 5 07:26:33 UTC 2013 - coolo@suse.com
- updated to 2.4
- Fixed RT #13791, which meant you couldn't request http://foobar.com --
had to have to trailing slash on the URL.
- Don't add request header if value passed is undef (RT #4546).
- Fixed bug where writing the request can get stuck in a loop.
Bug reported by Florian Kirchmeir. Fix based on Florian's patch.
- RT #35360 fixed (fix included in report).
- Documentation tidy-up
- Neil Bowers (NEILB) granted co-maint by Adam (thanks)
-------------------------------------------------------------------
Sat Dec 25 01:28:40 UTC 2010 - pascal.bleser@opensuse.org

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-HTTP-Lite
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 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
@@ -15,65 +15,68 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: perl-HTTP-Lite
Version: 2.3
Version: 2.44
Release: 0
%define cpan_name HTTP-Lite
Summary: Lightweight HTTP implementation
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
# http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/HTTP-Lite-%{version}.tar.gz
Source: HTTP-Lite-%{version}.tar.gz
Url: http://search.cpan.org/dist/HTTP-Lite
Url: http://search.cpan.org/dist/HTTP-Lite/
Source: http://www.cpan.org/authors/id/N/NE/NEILB/%{cpan_name}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: perl = %{perl_version}
BuildRequires: make
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
%{perl_requires}
%description
HTTP::Lite is a stand-alone lightweight HTTP/1.1 implementation
for perl.
It is not intended as a replacement for the fully-features LWP module. Instead,
it is intended for use in situations where it is desirable to install the
minimal number of modules to achieve HTTP support, or where LWP is not a good
candidate due to CPU overhead, such as slower processors.
*Note:* you should look at the HTTP::Tiny manpage or the LWP manpage before
using this module.
HTTP::Lite is a stand-alone lightweight HTTP/1.1 implementation for perl.
It is not intended as a replacement for the fully-featured LWP module.
Instead, it is intended for use in situations where it is desirable to
install the minimal number of modules to achieve HTTP support, or where LWP
is not a good candidate due to CPU overhead, such as slower processors.
HTTP::Lite is also significantly faster than LWP.
HTTP::Lite is ideal for CGI (or mod_perl) programs or for bundling for
redistribution with larger packages where only HTTP GET and POST functionality
are necessary.
redistribution with larger packages where only HTTP GET and POST
functionality are necessary.
HTTP::Lite supports basic POST and GET operations only. As of 0.2.1,
HTTP::Lite supports HTTP/1.1 and is compliant with the Host header,
necessary for name based virtual hosting. Additionally, HTTP::Lite now
supports Proxies.
As of 2.0.0 HTTP::Lite now supports a callback to allow processing of
request data as it arrives. This is useful for handling very large files
without consuming memory.
If you require more functionality, such as FTP or HTTPS, please see
libwwwperl (LWP). LWP is a significantly better and more comprehensive
package than HTTP::Lite, and should be used instead of HTTP::Lite whenever
possible.
%prep
%setup -q -n "HTTP-Lite-%{version}"
%__sed -i '/^auto_install/d' Makefile.PL
%setup -q -n %{cpan_name}-%{version}
%build
%__perl Makefile.PL PREFIX="%{_prefix}"
%__make %{?jobs:-j%{jobs}}
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
%{__make} test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%if 0%{?suse_version} >= 1130
%check
%__make test
%endif
%clean
%{?buildroot:%__rm -rf "%{buildroot}"}
%files
%defattr(-,root,root)
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes LICENSE README
%dir %{perl_vendorlib}/HTTP
%{perl_vendorlib}/HTTP/Lite.pm
%dir %{perl_vendorarch}/auto/HTTP
%{perl_vendorarch}/auto/HTTP/Lite
%doc %{perl_man3dir}/HTTP::Lite.%{perl_man3ext}%{ext_man}
%changelog