diff --git a/.gitignore b/.gitignore index 902fa4e..f7a0c90 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,9 @@ /workflow-0.11.3.tar.gz /workflow-0.11.4.tar.gz /workflow-0.11.5.tar.gz +/workflow-0.11.6.tar.gz +/workflow-0.11.7.tar.gz +/workflow-0.11.8.tar.gz +/workflow-0.11.9.tar.gz +/workflow-0.11.10.tar.gz +/workflow-0.11.11.tar.gz diff --git a/README.packit b/README.packit index 97de583..dde2a46 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 0.96.0.post1.dev4+gc5b1ea8e. +The file was generated using packit 1.9.0.post1.dev4+g48b4c222. diff --git a/sources b/sources index 3b69159..5b49a4b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (workflow-0.11.5.tar.gz) = bad34de72f572ca0a0c5d8ab04350879b01c4a7b171709224db3b8905923b4bf9a8977753e4ccc0f27a68cce27a65b4d31a783038c9192198751a3a407bf284a +SHA512 (workflow-0.11.11.tar.gz) = 78996029efd23ca7843f4089d801729174bf8e6bcb1babbe6f557db0c0b4094069dce38328332ddcddffec6710e77cfd03110264d0c670b8cd42b23dda5061ed diff --git a/workflow-0.11.10-test-c++17.patch b/workflow-0.11.10-test-c++17.patch new file mode 100644 index 0000000..015bea9 --- /dev/null +++ b/workflow-0.11.10-test-c++17.patch @@ -0,0 +1,13 @@ +diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt +index 963d838..d168d31 100644 +--- a/test/CMakeLists.txt ++++ b/test/CMakeLists.txt +@@ -20,7 +20,7 @@ add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND}) + + enable_testing() + +-set(CXX_STD "c++14") ++set(CXX_STD "c++17") + + find_package(GTest REQUIRED) + diff --git a/workflow.spec b/workflow.spec index 6d1e1a9..429c63f 100644 --- a/workflow.spec +++ b/workflow.spec @@ -7,27 +7,27 @@ Name: workflow # src/kernel/rbtree.h available under GPL-2.0-or-later License: Apache-2.0 AND BSD-2-Clause AND Zlib AND GPL-2.0-or-later -Version: 0.11.5 +Version: 0.11.11 Release: %autorelease URL: https://github.com/sogou/workflow Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz +Patch: workflow-0.11.10-test-c++17.patch BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: ninja-build BuildRequires: gtest-devel BuildRequires: openssl-devel -%if 0%{?fedora} >= 41 -BuildRequires: openssl-devel-engine -%endif %ifnarch %{ix86} # Needed for redis check BuildRequires: redis %endif BuildRequires: sed # Needed for memory check +%ifarch %{valgrind_arches} BuildRequires: valgrind +%endif %global _description %{expand: As Sogou`s C++ server engine, Sogou C++ Workflow supports almost all back-end @@ -54,7 +54,7 @@ BuildArch: noarch %_description %prep -%autosetup +%autosetup -p1 # Rename files to make installation of documentation easier pushd docs pushd en