From 544357482849943206d73606720e4ff7fa4d21367b98773ff2dfc852bc808770 Mon Sep 17 00:00:00 2001 From: Alexey Svistunov Date: Tue, 24 Jan 2023 21:18:07 +0000 Subject: [PATCH] Accepting request 1060702 from home:svalx Migrate from obscpio to classical tar.gz sources archive for properly OBS-URL: https://build.opensuse.org/request/show/1060702 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cpp-httplib?expand=0&rev=9 --- _service | 5 +++++ cpp-httplib-0.11.4.obscpio | 3 --- cpp-httplib-0.11.4.tar.gz | 3 +++ cpp-httplib-headers.spec | 5 +++-- cpp-httplib.changes | 14 ++++++-------- cpp-httplib.spec | 30 ++++++++++++++++-------------- 6 files changed, 33 insertions(+), 27 deletions(-) delete mode 100644 cpp-httplib-0.11.4.obscpio create mode 100644 cpp-httplib-0.11.4.tar.gz diff --git a/_service b/_service index 39115b2..0f532fd 100644 --- a/_service +++ b/_service @@ -8,4 +8,9 @@ enable + + + *.tar + gz + diff --git a/cpp-httplib-0.11.4.obscpio b/cpp-httplib-0.11.4.obscpio deleted file mode 100644 index 732d0a2..0000000 --- a/cpp-httplib-0.11.4.obscpio +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:de238cc24ec14b3d988e18fc4fbbc035747b1b7cfc33d415e2a3fb4c5f7660fa -size 6668301 diff --git a/cpp-httplib-0.11.4.tar.gz b/cpp-httplib-0.11.4.tar.gz new file mode 100644 index 0000000..52bccbb --- /dev/null +++ b/cpp-httplib-0.11.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9d27d270f29dd4574a237ab573a5e8ee1ade3c1ad496586bff1538ec9c39c349 +size 711249 diff --git a/cpp-httplib-headers.spec b/cpp-httplib-headers.spec index d2dddcb..8d01c28 100644 --- a/cpp-httplib-headers.spec +++ b/cpp-httplib-headers.spec @@ -1,7 +1,7 @@ # # spec file for package cpp-httplib-headers # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,6 +22,7 @@ Release: 0 Summary: A C++11 header-only HTTP/HTTPS library License: MIT URL: https://github.com/yhirose/cpp-httplib +Source0: cpp-httplib-%{version}.tar.gz BuildRequires: meson >= 0.47.0 %package devel @@ -43,7 +44,7 @@ post-routing handlers, and support for binding sockets to multiple interfaces and any available port. %prep -%setup -q -n %{_sourcedir}/cpp-httplib-%{version} -T -D +%setup -q -n cpp-httplib-%{version} # For avoid c++ compiler check sed -i "7s/.*/version: '%{version}',/" meson.build diff --git a/cpp-httplib.changes b/cpp-httplib.changes index 97de553..54472da 100644 --- a/cpp-httplib.changes +++ b/cpp-httplib.changes @@ -1,8 +1,13 @@ +------------------------------------------------------------------- +Tue Jan 24 20:14:49 UTC 2023 - Alexey Svistunov + +- Migrate from obscpio to classical tar.gz sources archive for properly + debugsource package building + ------------------------------------------------------------------- Tue Jan 17 10:14:59 UTC 2023 - Alexey Svistunov - Update to version 0.11.4: - * Release v0.11.4 * add support for requests with both MultipartFormDataItems and Content Providers (#1454) * Add EINTR and EAGAIN judge for accept (#1438) * Updated unit test @@ -33,13 +38,6 @@ Mon Dec 26 10:41:44 UTC 2022 - Alexey Svistunov Mon Dec 26 09:13:54 UTC 2022 - svalx@svalx.net - Update to version 0.11.3: - * Add EINTR and EAGAIN judge for accept (#1438) - * Updated unit test - * std::condition_variable::notify_one/all() should be called after unlocking mutex (#1448) - * Support LOCAL_ADDR and LOCAL_PORT header in client Request (#1450) - * Fix #1442 - * Removed code for upsupported OpenSSL - * Release v0.11.3 * Fix #1426 * Fix #1437 * Windows CMake directory install fix (#1434) diff --git a/cpp-httplib.spec b/cpp-httplib.spec index c0b9aa2..3f76c77 100644 --- a/cpp-httplib.spec +++ b/cpp-httplib.spec @@ -1,7 +1,7 @@ # # spec file for package cpp-httplib # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # + %define sover 0.11 %define libver 0_11 Name: cpp-httplib @@ -23,10 +24,11 @@ Release: 0 Summary: A C++11 HTTP/HTTPS library License: MIT URL: https://github.com/yhirose/cpp-httplib +Source0: %{name}-%{version}.tar.gz BuildRequires: gcc-c++ BuildRequires: meson >= 0.47.0 -BuildRequires: pkgconfig(libbrotlienc) BuildRequires: pkgconfig(libbrotlidec) +BuildRequires: pkgconfig(libbrotlienc) BuildRequires: pkgconfig(openssl) >= 1.1.1 %package -n lib%{name}%{libver} @@ -40,21 +42,21 @@ Conflicts: cpp-httplib-headers-devel %description This is a multi-threaded HTTP library with blocking I/O. There is no support for non-blocking mode. - + %description -n lib%{name}%{libver} -This is a multi-threaded HTTP library with blocking I/O. There is no -support for non-blocking mode. - +This is a multi-threaded HTTP library with blocking I/O. There is no +support for non-blocking mode. + %description devel -This is a multi-threaded HTTP library with blocking I/O. There is no -support for non-blocking mode. - -It features built-in mappings, static file server, pre-routing and -post-routing handlers, and support for binding sockets to multiple -interfaces and any available port. - +This is a multi-threaded HTTP library with blocking I/O. There is no +support for non-blocking mode. + +It features built-in mappings, static file server, pre-routing and +post-routing handlers, and support for binding sockets to multiple +interfaces and any available port. + %prep -%setup -q -n %_sourcedir/%name-%version -T -D +%setup -q %build %meson -Dcpp-httplib_compile=true --buildtype=release