diff --git a/http-parser-gyp-sharedlib.patch b/http-parser-gyp-sharedlib.patch index 22cb387..fa77d92 100644 --- a/http-parser-gyp-sharedlib.patch +++ b/http-parser-gyp-sharedlib.patch @@ -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': { diff --git a/http-parser.changes b/http-parser.changes index d6cf919..45f4b81 100644 --- a/http-parser.changes +++ b/http-parser.changes @@ -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 diff --git a/http-parser.spec b/http-parser.spec index a8dc4d3..04b7c1d 100644 --- a/http-parser.spec +++ b/http-parser.spec @@ -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} diff --git a/v2.6.0.tar.gz b/v2.6.0.tar.gz deleted file mode 100644 index fc5fd7d..0000000 --- a/v2.6.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a11c5ccb9808496f3de66d54ea1f89271919923307e31c75de2a3a77a6754c97 -size 47598 diff --git a/v2.6.2.tar.gz b/v2.6.2.tar.gz new file mode 100644 index 0000000..a0f0257 --- /dev/null +++ b/v2.6.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:80fffc3b64ef6968cecdd4b299a96986007dff4bd12ae6c58cbcb506959b90ad +size 48292