SHA256
1
0
forked from pool/http-parser

Accepting request 380196 from home:pluskalm:branches:devel:libraries:c_c++

- Update to 2.6.2
  * No changelog available

OBS-URL: https://build.opensuse.org/request/show/380196
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/http-parser?expand=0&rev=7
This commit is contained in:
Ismail Dönmez 2016-03-27 15:05:18 +00:00 committed by Git OBS Bridge
parent 21c033b57e
commit f5b27d8385
5 changed files with 21 additions and 16 deletions

View File

@ -12,10 +12,10 @@ TODO: do this nicely upstream
http_parser.gyp | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
Index: http-parser-2.5.0/http_parser.gyp
Index: http-parser-2.6.2/http_parser.gyp
===================================================================
--- http-parser-2.5.0.orig/http_parser.gyp
+++ http-parser-2.5.0/http_parser.gyp
--- http-parser-2.6.2.orig/http_parser.gyp
+++ http-parser-2.6.2/http_parser.gyp
@@ -12,7 +12,7 @@
# RuntimeLibrary MUST MATCH across the entire project
'Debug': {

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Mar 26 12:18:20 UTC 2016 - mpluskal@suse.com
- Update to 2.6.2
* No changelog available
-------------------------------------------------------------------
Thu Jan 28 14:07:25 UTC 2016 - zaitor@opensuse.org

View File

@ -1,7 +1,7 @@
#
# spec file for package http-parser
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2016 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
@ -16,15 +16,15 @@
#
Name: http-parser
%define somajor suse0
%define libname libhttp-parser-%somajor
Version: 2.6.0
%define libname libhttp-parser-%{somajor}
Name: http-parser
Version: 2.6.2
Release: 0
Summary: HTTP request/response parser for C
License: MIT
Group: Development/Libraries/C and C++
Url: http://github.com/joyent/http-parser
Url: https://github.com/joyent/http-parser
Source0: https://github.com/joyent/http-parser/archive/v%{version}.tar.gz
Source1: baselibs.conf
Patch1: http-parser-gyp-sharedlib.patch
@ -85,12 +85,12 @@ install -d %{buildroot}%{_libdir}
install -pm644 http_parser.h %{buildroot}%{_includedir}
#install regular variant
install "out/Release/lib.target/libhttp_parser.so.%somajor" "%buildroot/%_libdir/"
ln -sf "libhttp_parser.so.%somajor" "%buildroot/%_libdir/libhttp_parser.so"
install "out/Release/lib.target/libhttp_parser.so.%{somajor}" "%{buildroot}/%{_libdir}/"
ln -sf "libhttp_parser.so.%{somajor}" "%{buildroot}/%{_libdir}/libhttp_parser.so"
#install strict variant
install "out/Release/lib.target/libhttp_parser_strict.so.%somajor" "%buildroot/%_libdir/"
ln -sf "libhttp_parser_strict.so.%somajor" "%buildroot/%_libdir/libhttp_parser_strict.so"
install "out/Release/lib.target/libhttp_parser_strict.so.%{somajor}" "%{buildroot}/%{_libdir}/"
ln -sf "libhttp_parser_strict.so.%{somajor}" "%{buildroot}/%{_libdir}/libhttp_parser_strict.so"
%check
export LD_LIBRARY_PATH='./out/Release/lib.target'
@ -98,7 +98,6 @@ export LD_LIBRARY_PATH='./out/Release/lib.target'
./out/Release/test-strict
%post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig
%files -n %{libname}

View File

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

3
v2.6.2.tar.gz Normal file
View File

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