forked from pool/http-parser
Accepting request 380460 from devel:libraries:c_c++
1 OBS-URL: https://build.opensuse.org/request/show/380460 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/http-parser?expand=0&rev=4
This commit is contained in:
commit
ee9c00ccf4
@ -12,10 +12,10 @@ TODO: do this nicely upstream
|
|||||||
http_parser.gyp | 10 ++++++----
|
http_parser.gyp | 10 ++++++----
|
||||||
1 file changed, 6 insertions(+), 4 deletions(-)
|
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.6.2.orig/http_parser.gyp
|
||||||
+++ http-parser-2.5.0/http_parser.gyp
|
+++ http-parser-2.6.2/http_parser.gyp
|
||||||
@@ -12,7 +12,7 @@
|
@@ -12,7 +12,7 @@
|
||||||
# RuntimeLibrary MUST MATCH across the entire project
|
# RuntimeLibrary MUST MATCH across the entire project
|
||||||
'Debug': {
|
'Debug': {
|
||||||
|
@ -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
|
Thu Jan 28 14:07:25 UTC 2016 - zaitor@opensuse.org
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package http-parser
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,15 +16,15 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: http-parser
|
|
||||||
%define somajor suse0
|
%define somajor suse0
|
||||||
%define libname libhttp-parser-%somajor
|
%define libname libhttp-parser-%{somajor}
|
||||||
Version: 2.6.0
|
Name: http-parser
|
||||||
|
Version: 2.6.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: HTTP request/response parser for C
|
Summary: HTTP request/response parser for C
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Libraries/C and C++
|
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
|
Source0: https://github.com/joyent/http-parser/archive/v%{version}.tar.gz
|
||||||
Source1: baselibs.conf
|
Source1: baselibs.conf
|
||||||
Patch1: http-parser-gyp-sharedlib.patch
|
Patch1: http-parser-gyp-sharedlib.patch
|
||||||
@ -85,12 +85,12 @@ install -d %{buildroot}%{_libdir}
|
|||||||
install -pm644 http_parser.h %{buildroot}%{_includedir}
|
install -pm644 http_parser.h %{buildroot}%{_includedir}
|
||||||
|
|
||||||
#install regular variant
|
#install regular variant
|
||||||
install "out/Release/lib.target/libhttp_parser.so.%somajor" "%buildroot/%_libdir/"
|
install "out/Release/lib.target/libhttp_parser.so.%{somajor}" "%{buildroot}/%{_libdir}/"
|
||||||
ln -sf "libhttp_parser.so.%somajor" "%buildroot/%_libdir/libhttp_parser.so"
|
ln -sf "libhttp_parser.so.%{somajor}" "%{buildroot}/%{_libdir}/libhttp_parser.so"
|
||||||
|
|
||||||
#install strict variant
|
#install strict variant
|
||||||
install "out/Release/lib.target/libhttp_parser_strict.so.%somajor" "%buildroot/%_libdir/"
|
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"
|
ln -sf "libhttp_parser_strict.so.%{somajor}" "%{buildroot}/%{_libdir}/libhttp_parser_strict.so"
|
||||||
|
|
||||||
%check
|
%check
|
||||||
export LD_LIBRARY_PATH='./out/Release/lib.target'
|
export LD_LIBRARY_PATH='./out/Release/lib.target'
|
||||||
@ -98,7 +98,6 @@ export LD_LIBRARY_PATH='./out/Release/lib.target'
|
|||||||
./out/Release/test-strict
|
./out/Release/test-strict
|
||||||
|
|
||||||
%post -n %{libname} -p /sbin/ldconfig
|
%post -n %{libname} -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n %{libname} -p /sbin/ldconfig
|
%postun -n %{libname} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n %{libname}
|
%files -n %{libname}
|
||||||
|
@ -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
3
v2.6.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:80fffc3b64ef6968cecdd4b299a96986007dff4bd12ae6c58cbcb506959b90ad
|
||||||
|
size 48292
|
Loading…
x
Reference in New Issue
Block a user