Compare commits

..

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

7 changed files with 48 additions and 73 deletions

4
.gitignore vendored
View file

@ -1 +1,3 @@
/workflow-*.tar.gz /workflow-0.10.6.tar.gz
/workflow-0.10.7.tar.gz
/workflow-0.11.1.tar.gz

View file

@ -1,4 +1,7 @@
specfile_path: workflow.spec specfile_path: workflow.spec
files_to_sync:
- workflow.spec
- .packit.yaml
upstream_package_name: workflow upstream_package_name: workflow
upstream_project_url: https://github.com/sogou/workflow/ upstream_project_url: https://github.com/sogou/workflow/

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,19 +0,0 @@
upstream_project_url: https://github.com/sogou/workflow
upstream_tag_template: v{version}
create_sync_note: false
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-1.1.0.tar.gz) = 366713a1e8f0394e9585e834705892eec362d4949aa71a50c2130a819b8cf993ebcae2d8ba474ac66766a114520893107233d64364694aab56d094114ae6730d SHA512 (workflow-0.11.1.tar.gz) = d613465dfed6e3c69bc2cf73a18c0ef5c5a4fe63ade4e24efd5400e78eeeebaae475af5bda105d57cf3c5be993c2aee7506e9244816abcc7c234d17fc1caca2a

View file

@ -7,26 +7,22 @@ Name: workflow
# src/kernel/rbtree.h available under GPL-2.0-or-later # 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 License: Apache-2.0 AND BSD-2-Clause AND Zlib AND GPL-2.0-or-later
Version: 1.1.0 Version: 0.11.1
Release: %autorelease Release: 1%{?dist}
URL: https://github.com/sogou/workflow URL: https://github.com/sogou/workflow
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
BuildRequires: cmake BuildRequires: cmake
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: ninja-build
BuildRequires: gtest-devel BuildRequires: gtest-devel
BuildRequires: make
BuildRequires: openssl-devel BuildRequires: openssl-devel
%ifnarch %{ix86}
# Needed for redis check # Needed for redis check
BuildRequires: redis BuildRequires: redis
%endif
BuildRequires: sed BuildRequires: sed
# Needed for memory check # Needed for memory check
%ifarch %{valgrind_arches}
BuildRequires: valgrind BuildRequires: valgrind
%endif
%global _description %{expand: %global _description %{expand:
As Sogou`s C++ server engine, Sogou C++ Workflow supports almost all back-end As Sogou`s C++ server engine, Sogou C++ Workflow supports almost all back-end
@ -53,7 +49,7 @@ BuildArch: noarch
%_description %_description
%prep %prep
%autosetup -p1 %autosetup
# Rename files to make installation of documentation easier # Rename files to make installation of documentation easier
pushd docs pushd docs
pushd en pushd en
@ -64,7 +60,7 @@ popd
%build %build
%cmake -GNinja %cmake
%cmake_build %cmake_build
# remove copies of header files to minimize # remove copies of header files to minimize
# size of debugsource package, these files are # size of debugsource package, these files are
@ -101,8 +97,8 @@ make check
%license LICENSE LICENSE_GPLV2 %license LICENSE LICENSE_GPLV2
%doc README.md %doc README.md
%doc README_cn.md %doc README_cn.md
%{_libdir}/libworkflow.so.1.* %{_libdir}/libworkflow.so.0.*
%{_libdir}/libworkflow.so.1 %{_libdir}/libworkflow.so.0
%files devel %files devel
%{_libdir}/libworkflow.so %{_libdir}/libworkflow.so
@ -119,4 +115,37 @@ make check
%changelog %changelog
%autochangelog * 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