Compare commits

..

No commits in common. "rawhide" and "f37" have entirely different histories.

8 changed files with 34 additions and 119 deletions

10
.gitignore vendored
View file

@ -1,12 +1,2 @@
/workflow-0.10.6.tar.gz
/workflow-0.10.7.tar.gz
/workflow-0.11.1.tar.gz
/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

View file

@ -1,26 +0,0 @@
specfile_path: workflow.spec
upstream_package_name: workflow
upstream_project_url: https://github.com/sogou/workflow/
downstream_package_name: workflow
upstream_tag_template: v{version}
jobs:
- job: pull_from_upstream
trigger: release
dist_git_branches:
- fedora-rawhide
actions:
changelog-entry:
- bash -c 'echo "- New release ${PACKIT_PROJECT_VERSION}"'
- job: koji_build
trigger: commit
dist_git_branches:
- fedora-rawhide
- job: bodhi_update
trigger: release
dist_git_branches:
- fedora-branched

View file

@ -1,3 +0,0 @@
This repository is maintained by packit.
https://packit.dev/
The file was generated using packit 1.9.0.post1.dev4+g48b4c222.

View file

@ -1,37 +0,0 @@
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sat Nov 11 2023 Benson Muite <benson_muite@emailplus.org> - 0.11.1-1
- Update to new release
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Tue Jun 6 2023 Benson Muite <benson_muite@emailplus.org> - 0.10.7-1
- Update to new release
* Sat Feb 25 2023 Benson Muite <benson_muite@emailplus.org> - 0.10.6-1
- Update to new release
* Thu Feb 23 2023 Benson Muite <benson_muite@emailplus.org> - 0.10.5-4
- Get tests to work
- Add redis and valgrind
- Use GTest with c++14
* Wed Feb 22 2023 Benson Muite <benson_muite@emailplus.org> - 0.10.5-3
- Remove static library rather than use exclude macro
- Use tutorial instead of tests
* Fri Jan 13 2023 Benson Muite <benson_muite@emailplus.org> - 0.10.5-2
- Ensure tests run
* Wed Jan 11 2023 Benson Muite <benson_muite@emailplus.org> - 0.10.5-1
- Version update
- Add copy of GPL license
* Mon Jan 02 2023 Benson Muite <benson_muite@emailplus.org> - 0.10.4-2
- Do not include static library
- Update license information
* Sun Jan 01 2023 Benson Muite <benson_muite@emailplus.org> - 0.10.4-1
- Initial packaging

View file

@ -1,18 +0,0 @@
upstream_project_url: https://github.com/sogou/workflow
upstream_tag_template: v{version}
jobs:
- job: pull_from_upstream
trigger: release
dist_git_branches:
- fedora-rawhide
- job: koji_build
trigger: commit
dist_git_branches:
- fedora-all
- job: bodhi_update
trigger: commit
dist_git_branches:
- fedora-all

View file

@ -1 +1 @@
SHA512 (workflow-0.11.11.tar.gz) = 78996029efd23ca7843f4089d801729174bf8e6bcb1babbe6f557db0c0b4094069dce38328332ddcddffec6710e77cfd03110264d0c670b8cd42b23dda5061ed
SHA512 (workflow-0.10.7.tar.gz) = 42f675ed262f6e12e0dd6b0cbcadc6ccafb296684e1119385868142ed643d27f71d3b79f68b84b77f5b3ac0615442a76651d9a41457baa36662da16476672ce8

View file

@ -1,13 +0,0 @@
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)

View file

@ -7,27 +7,22 @@ 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.11
Release: %autorelease
Version: 0.10.7
Release: 1%{?dist}
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: make
BuildRequires: openssl-devel
%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 +49,7 @@ BuildArch: noarch
%_description
%prep
%autosetup -p1
%autosetup
# Rename files to make installation of documentation easier
pushd docs
pushd en
@ -65,7 +60,7 @@ popd
%build
%cmake -GNinja
%cmake
%cmake_build
# remove copies of header files to minimize
# size of debugsource package, these files are
@ -120,4 +115,31 @@ make check
%changelog
%autochangelog
* Tue Jun 6 2023 Benson Muite <benson_muite@emailplus.org> - 0.10.7-1
- Update to new release
* Sat Feb 25 2023 Benson Muite <benson_muite@emailplus.org> - 0.10.6-1
- Update to new release
* Thu Feb 23 2023 Benson Muite <benson_muite@emailplus.org> - 0.10.5-4
- Get tests to work
- Add redis and valgrind
- Use GTest with c++14
* Wed Feb 22 2023 Benson Muite <benson_muite@emailplus.org> - 0.10.5-3
- Remove static library rather than use exclude macro
- Use tutorial instead of tests
* Fri Jan 13 2023 Benson Muite <benson_muite@emailplus.org> - 0.10.5-2
- Ensure tests run
* Wed Jan 11 2023 Benson Muite <benson_muite@emailplus.org> - 0.10.5-1
- Version update
- Add copy of GPL license
* Mon Jan 02 2023 Benson Muite <benson_muite@emailplus.org> - 0.10.4-2
- Do not include static library
- Update license information
* Sun Jan 01 2023 Benson Muite <benson_muite@emailplus.org> - 0.10.4-1
- Initial packaging