Update version number in CMakeLists.txt to 0.8.1
- Add websocketpp-0.8.1-fix_CMakeLists.txt_version_number.patch
This commit is contained in:
parent
5b5d20d00a
commit
634f53f593
|
@ -0,0 +1,22 @@
|
|||
From 4bccfb04a264704ec9b80ba332ee1cf113ce7f1b Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Wolfgang=20St=C3=B6ggl?= <c72578@yahoo.de>
|
||||
Date: Thu, 1 Nov 2018 20:58:10 +0100
|
||||
Subject: [PATCH] Update version number in CMakeLists.txt to 0.8.1
|
||||
|
||||
---
|
||||
CMakeLists.txt | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 2786aba9..2d13117b 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -24,7 +24,7 @@ endif ()
|
||||
############ Project name and version
|
||||
set (WEBSOCKETPP_MAJOR_VERSION 0)
|
||||
set (WEBSOCKETPP_MINOR_VERSION 8)
|
||||
-set (WEBSOCKETPP_PATCH_VERSION 0)
|
||||
+set (WEBSOCKETPP_PATCH_VERSION 1)
|
||||
set (WEBSOCKETPP_VERSION ${WEBSOCKETPP_MAJOR_VERSION}.${WEBSOCKETPP_MINOR_VERSION}.${WEBSOCKETPP_PATCH_VERSION})
|
||||
|
||||
if(POLICY CMP0048)
|
|
@ -2,7 +2,7 @@
|
|||
Name: websocketpp
|
||||
Summary: C++ WebSocket Protocol Library
|
||||
Version: 0.8.1
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
|
||||
License: BSD
|
||||
Url: https://www.zaphoyd.com/websocketpp
|
||||
|
@ -24,6 +24,10 @@ Patch2: websocketpp-0.8.1-cmake-configversion-compatibility-anynewerversion.patc
|
|||
# Disable the following tests, which fail occasionally: test_transport, test_transport_asio_timers
|
||||
Patch3: websocketpp-0.7.0-disable-test_transport-test_transport_asio_timers.patch
|
||||
|
||||
# Update version number in CMakeLists.txt to 0.8.1
|
||||
# Upstream commit: https://github.com/zaphoyd/websocketpp/commit/72e2760
|
||||
Patch4: websocketpp-0.8.1-fix_CMakeLists.txt_version_number.patch
|
||||
|
||||
|
||||
BuildRequires: boost-devel
|
||||
BuildRequires: cmake
|
||||
|
@ -67,7 +71,7 @@ popd
|
|||
%install
|
||||
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
||||
mkdir -p %{buildroot}%{_datadir}/pkgconfig
|
||||
install -m 644 %{SOURCE1} %{buildroot}%{_datadir}/pkgconfig/websocketpp.pc
|
||||
install -p -m 644 %{SOURCE1} %{buildroot}%{_datadir}/pkgconfig/websocketpp.pc
|
||||
|
||||
## unpackaged files
|
||||
rm -rfv %{buildroot}%{_includedir}/test_connection/
|
||||
|
@ -87,6 +91,9 @@ make test -C %{_target_platform}
|
|||
|
||||
|
||||
%changelog
|
||||
* Wed Nov 07 2018 Wolfgang Stöggl <c72578@yahoo.de> - 0.8.1-4
|
||||
- Add websocketpp-0.8.1-fix_CMakeLists.txt_version_number.patch
|
||||
|
||||
* Wed Nov 07 2018 Wolfgang Stöggl <c72578@yahoo.de> - 0.8.1-3
|
||||
- Add websocketpp.pc to files
|
||||
|
||||
|
|
Loading…
Reference in New Issue