8
0
forked from pool/cpp-httplib

- Move examples to devel subpackage

- Drop headers-only flavor and remove aliases for pkg-config files
  (gh#yhirose/cpp-httplib#1491)

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cpp-httplib?expand=0&rev=15
This commit is contained in:
2023-02-16 07:09:30 +00:00
committed by Git OBS Bridge
parent a52c3c7ac2
commit 54d019a41e
4 changed files with 10 additions and 76 deletions

View File

@@ -58,6 +58,7 @@ interfaces and any available port.
%prep
%setup -q
chmod -x example/uploader.sh
%build
%meson -Dcpp-httplib_compile=true -Dcpp-httplib_test=true \
@@ -66,9 +67,6 @@ interfaces and any available port.
%install
%meson_install
# Create a pkgconfig alias
cd %{buildroot}%{_libdir}/pkgconfig
ln -s %{name}.pc %{name}-shared.pc
%check
# OBS and chroot build environments does not provide internet
@@ -87,7 +85,7 @@ export GTEST_FILTER='-*.*_Online'
%files devel
%{_libdir}/lib%{name}.so
%{_includedir}/httplib.h
%{_libdir}/pkgconfig/*.pc
%doc README.md
%{_libdir}/pkgconfig/%{name}.pc
%doc README.md example
%changelog