From 6d3b0d7965d31813b7db3b4351d4377c22e0888c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 17 Nov 2016 18:48:31 +0100 Subject: [PATCH] * Thu Nov 17 2016 Fabian Affolter - 2.1.0-2 - Move tests (rhbz#1390538) --- libwebsockets.spec | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/libwebsockets.spec b/libwebsockets.spec index 7a2f13b..6f4302d 100644 --- a/libwebsockets.spec +++ b/libwebsockets.spec @@ -1,6 +1,6 @@ Name: libwebsockets Version: 2.1.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A lightweight C library for Websockets # base64-decode.c and ssl-http2.c is under MIT license with FPC exception. @@ -33,6 +33,13 @@ Requires: %{name}%{?_isa} = %{version}-%{release} This package contains the header files needed for developing %{name} applications. +%package tests +Summary: Tests to use with %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description tests +This package contains the tests for %{name} applications. + %prep %setup -q -n %{name}-%{version} @@ -63,18 +70,25 @@ find %{buildroot} -name '*.cmake' -exec rm -f {} ';' %files %doc README.md changelog %license LICENSE -%{_bindir}/%{name}* %{_libdir}/%{name}.so.* -%{_datadir}/%{name}-test-server/ %files devel -%doc README.coding.md README.test-apps.md changelog +%doc README.coding.md changelog %license LICENSE %{_includedir}/*.h %{_libdir}/%{name}.so %{_libdir}/pkgconfig/%{name}.pc +%files tests +%doc README.coding.md README.test-apps.md +%license LICENSE +%{_bindir}/%{name}-test-* +%{_datadir}/%{name}-test-server/ + %changelog +* Thu Nov 17 2016 Fabian Affolter - 2.1.0-2 +- Move tests (rhbz#1390538) + * Thu Nov 17 2016 Fabian Affolter - 2.1.0-1 - Update to latest upstream release 2.1.0 (rhbz#1376257)