8
0
forked from pool/cpp-httplib

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
This commit is contained in:
2023-01-24 21:18:07 +00:00
committed by Git OBS Bridge
parent adfc342378
commit 5443574828
6 changed files with 33 additions and 27 deletions

View File

@@ -8,4 +8,9 @@
<param name="changesgenerate">enable</param>
</service>
<service name="set_version" mode="manual"/>
<service name="tar" mode="manual"/>
<service name="recompress" mode="manual">
<param name="file">*.tar</param>
<param name="compression">gz</param>
</service>
</services>

View File

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

View File

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

View File

@@ -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

View File

@@ -1,8 +1,13 @@
-------------------------------------------------------------------
Tue Jan 24 20:14:49 UTC 2023 - Alexey Svistunov <svalx@svalx.net>
- Migrate from obscpio to classical tar.gz sources archive for properly
debugsource package building
-------------------------------------------------------------------
Tue Jan 17 10:14:59 UTC 2023 - Alexey Svistunov <svalx@svalx.net>
- 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 <svalx@svalx.net>
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)

View File

@@ -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