From 75ec71d7098c915bb746cb71703cd274567a694b7cc29fbcca638260b5883b39 Mon Sep 17 00:00:00 2001 From: Alexey Svistunov Date: Mon, 16 Jan 2023 17:56:45 +0000 Subject: [PATCH] - Move LICENSE file to the library package - Drop cmake BuildRequires and linker additional "-s" flag OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cpp-httplib?expand=0&rev=6 --- cpp-httplib.changes | 6 ++++++ cpp-httplib.spec | 4 +--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/cpp-httplib.changes b/cpp-httplib.changes index 9696866..a797ee1 100644 --- a/cpp-httplib.changes +++ b/cpp-httplib.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jan 16 17:53:43 UTC 2023 - Alexey Svistunov + +- Move LICENSE file to the library package +- Drop cmake BuildRequires and linker additional "-s" flag + ------------------------------------------------------------------- Mon Jan 2 11:26:02 UTC 2023 - Jan Engelhardt diff --git a/cpp-httplib.spec b/cpp-httplib.spec index 9b3e3c6..d12d799 100644 --- a/cpp-httplib.spec +++ b/cpp-httplib.spec @@ -23,7 +23,6 @@ Release: 0 Summary: A C++11 HTTP/HTTPS library License: MIT URL: https://github.com/yhirose/cpp-httplib -BuildRequires: cmake BuildRequires: gcc-c++ >= 11 BuildRequires: meson >= 0.47.0 BuildRequires: pkgconfig(libbrotlienc) @@ -58,7 +57,6 @@ interfaces and any available port. %setup -q -n %_sourcedir/%name-%version -T -D %build -LDFLAGS="-s" %meson -Dcpp-httplib_compile=true %meson_build @@ -71,12 +69,12 @@ LDFLAGS="-s" %files -n lib%{name}%{libver} %{_libdir}/lib%{name}.so.%{sover} %{_libdir}/lib%{name}.so.%{version} +%license LICENSE %files devel %{_libdir}/lib%{name}.so %{_includedir}/httplib.h %{_libdir}/pkgconfig/%{name}.pc %doc README.md -%license LICENSE %changelog