Compare commits

...
Sign in to create a new pull request.

31 commits

Author SHA1 Message Date
Jonathan Wakely
72753b16a0 Rebuilt for Boost 1.90 2026-01-13 11:35:56 +00:00
Vitaly
62b6c548d6
Updated to version 1.1.2. 2025-12-26 07:55:56 +01:00
Vitaly
fe3ca00960
Updated to version 1.1.1. 2025-10-25 12:14:23 +02:00
Vitaly
96e541d8b2
Updated to version 1.1.0. 2025-08-20 11:15:58 +02:00
Fedora Release Engineering
c119524516 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 21:21:30 +00:00
Fedora Release Engineering
9778a4a9cd Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-19 16:53:54 +00:00
Vitaly
0e948c4a13
Disabled 32-bit builds on F42+. 2025-01-12 09:47:43 +01:00
Vitaly
6bcc6f738d
Updated to version 1.0.0. 2024-10-20 12:23:19 +02:00
Vitaly
e238cb45da
Converted to %autorelease and %autochangelog.
[skip changelog]
2024-10-15 10:06:26 +02:00
Fedora Release Engineering
1e3e9f00b5 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-20 10:58:21 +00:00
Fedora Release Engineering
1f15f11071 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-27 11:19:32 +00:00
Jonathan Wakely
aa0420ef23 Rebuilt for Boost 1.83 2024-01-18 00:08:23 +00:00
Fedora Release Engineering
304016a213 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-22 19:48:22 +00:00
Vitaly Zaitsev
aa13938c6d
Rebuilt due to fmt 10 update. 2023-06-28 10:45:01 +02:00
Jonathan Wakely
bf096e526d Rebuilt for Boost 1.81 2023-02-20 22:20:21 +00:00
Fedora Release Engineering
9402770520 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-21 08:22:07 +00:00
Vitaly Zaitsev
928658b111
Converted license tag to SPDX format. 2022-12-13 17:06:21 +01:00
Vitaly Zaitsev
e0a9051eae
Updated to version 0.9.1. 2022-10-02 10:34:58 +02:00
Fedora Release Engineering
4c25058ab3 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-23 14:01:24 +00:00
Vitaly Zaitsev
d12178f8d6
Rebuilt due to fmt library update. 2022-07-10 20:12:32 +02:00
Vitaly Zaitsev
a3281a9e4f
Removed obsolete __cmake_in_source_build definition. 2022-05-23 13:18:49 +02:00
Thomas Rodgers
aba4f4a916 Rebuilt for Boost 1.78 2022-05-04 11:36:43 +02:00
Vitaly Zaitsev
27c12ae72d
Updated to version 0.9.0. 2022-03-02 16:50:45 +01:00
Vitaly Zaitsev
89c279523c
Updated to version 0.8.0. 2022-02-12 15:00:17 +01:00
Fedora Release Engineering
dce358587f - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-22 05:57:22 +00:00
Vitaly Zaitsev
682032e379
Updated to versiom 0.7.0. 2021-12-22 15:19:00 +01:00
Vitaly Zaitsev
d94a2f98eb
Updated description. 2021-12-07 12:28:50 +01:00
Vitaly Zaitsev
798bc585d2
Updated to versiom 0.6.0. 2021-12-07 12:24:26 +01:00
Jonathan Wakely
ff0ae4b7ed Rebuilt for Boost 1.76 2021-08-07 04:21:14 +01:00
Fedora Release Engineering
71d82c1d01 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 22:23:33 +00:00
Vitaly Zaitsev
371d6c717d
Rebuilt due to fmt library update. 2021-07-04 16:43:33 +02:00
5 changed files with 32 additions and 49 deletions

3
.gitignore vendored
View file

@ -1,2 +1 @@
/zswap-cli-0.4.1.tar.gz
/zswap-cli-0.5.0.tar.gz
/zswap-cli-*.tar.gz

View file

@ -1,3 +0,0 @@
# zswap-cli
The zswap-cli package

2
changelog Normal file
View file

@ -0,0 +1,2 @@
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild

View file

@ -1 +1 @@
SHA512 (zswap-cli-0.5.0.tar.gz) = 0bc41a6a5389e1f92cde8b3b9c45acfe6840b12839a16ff8127a352fa7035b00606aae2b57e7c91e0a923e9e02f7043374107e331a0a405501287ed8e84141a9
SHA512 (zswap-cli-1.1.2.tar.gz) = 54d038f6e83ace215675d55c964ffac1b65a3cea31779a72676803631d0234e0e07abcb350bca76c79ce538795d7dd526b7a596ed6aa611470415a7988c11ebb

View file

@ -1,20 +1,23 @@
%undefine __cmake_in_source_build
Name: zswap-cli
Version: 0.5.0
Release: 1%{?dist}
Version: 1.1.2
Release: %autorelease
Summary: Command-line tool to control zswap options
License: MIT
Summary: Command-line tool to control the zswap options
URL: https://github.com/xvitaly/%{name}
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
%if 0%{?fedora} && 0%{?fedora} >= 42
ExcludeArch: %{ix86}
%endif
BuildRequires: boost-devel
BuildRequires: cmake
BuildRequires: fmt-devel
BuildRequires: gcc-c++
BuildRequires: glibc-headers
BuildRequires: kernel-headers
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: ninja-build
BuildRequires: pandoc
BuildRequires: systemd
@ -22,16 +25,26 @@ BuildRequires: systemd
%{?systemd_requires}
%description
ZSwap-cli is a command-line tool to control zswap options.
Zswap-cli is a command-line tool to control the zswap kernel module
options.
Zswap is a compressed cache for swap pages. It takes pages that are in the
process of being swapped out to disk and tries to compress them into a
RAM-based memory pool with dynamic allocation.
It trades CPU cycles for a significant performance boost since reading from
a compressed cache is much faster than reading from a swap device.
%prep
%autosetup
%autosetup -p1
%build
%cmake -G Ninja \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_DOCS:BOOL=OFF \
-DBUILD_MANPAGE:BOOL=ON
-DBUILD_MANPAGE:BOOL=ON \
-DBUILD_SHELL_COMPLETION:BOOL=ON \
-DSYSTEMD_INTEGRATION:BOOL=ON
%cmake_build
%post
@ -47,42 +60,14 @@ ZSwap-cli is a command-line tool to control zswap options.
%cmake_install
%files
%doc README.md docs/*
%doc docs/*
%license LICENSE
%{_sbindir}/%{name}
%{_bindir}/%{name}
%{_unitdir}/%{name}.service
%{_mandir}/man1/%{name}.*
%dir %{_sysconfdir}/%{name}
%config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf
%{bash_completions_dir}/%{name}
%changelog
* Thu Apr 01 2021 Vitaly Zaitsev <vitaly@easycoding.org> - 0.5.0-1
- Updated to version 0.5.0.
* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.4.1-5
- Rebuilt for updated systemd-rpm-macros
See https://pagure.io/fesco/issue/2583.
* Thu Jan 28 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Sat Jul 04 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.4.1-2
- Switch to the new CMake macros.
* Mon Apr 27 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 0.4.1-1
- Updated to version 0.4.1.
* Sun Apr 26 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 0.4.0-1
- Updated to version 0.4.0.
* Wed Apr 22 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 0.3.0-1
- Updated to version 0.3.0.
* Mon Apr 13 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 0.2.0-1
- Updated to version 0.2.0.
* Sat Apr 04 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 0.1.0-1
- Initial SPEC release.
%autochangelog