From bf096e526d635e727fff1d030d5cf5c2b9a1f801 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Mon, 20 Feb 2023 22:20:21 +0000 Subject: [PATCH 01/15] Rebuilt for Boost 1.81 --- zswap-cli.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zswap-cli.spec b/zswap-cli.spec index c74182b..7416850 100644 --- a/zswap-cli.spec +++ b/zswap-cli.spec @@ -1,6 +1,6 @@ Name: zswap-cli Version: 0.9.1 -Release: 2%{?dist} +Release: 3%{?dist} License: MIT Summary: Command-line tool to control zswap options @@ -64,6 +64,9 @@ a compressed cache is much faster than reading from a swap device. %config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf %changelog +* Mon Feb 20 2023 Jonathan Wakely - 0.9.1-3 +- Rebuilt for Boost 1.81 + * Sat Jan 21 2023 Fedora Release Engineering - 0.9.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From aa13938c6d662c318b7dd6ca64d1f0e05ae940c3 Mon Sep 17 00:00:00 2001 From: Vitaly Zaitsev Date: Wed, 28 Jun 2023 10:45:01 +0200 Subject: [PATCH 02/15] Rebuilt due to fmt 10 update. --- zswap-cli.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zswap-cli.spec b/zswap-cli.spec index 7416850..c3d24ca 100644 --- a/zswap-cli.spec +++ b/zswap-cli.spec @@ -1,6 +1,6 @@ Name: zswap-cli Version: 0.9.1 -Release: 3%{?dist} +Release: 4%{?dist} License: MIT Summary: Command-line tool to control zswap options @@ -64,6 +64,9 @@ a compressed cache is much faster than reading from a swap device. %config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf %changelog +* Wed Jun 28 2023 Vitaly Zaitsev - 0.9.1-4 +- Rebuilt due to fmt 10 update. + * Mon Feb 20 2023 Jonathan Wakely - 0.9.1-3 - Rebuilt for Boost 1.81 From 304016a2131065ad066df3c7db5a3a70086aa0bb Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 22 Jul 2023 19:48:22 +0000 Subject: [PATCH 03/15] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- zswap-cli.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zswap-cli.spec b/zswap-cli.spec index c3d24ca..d3a6a9e 100644 --- a/zswap-cli.spec +++ b/zswap-cli.spec @@ -1,6 +1,6 @@ Name: zswap-cli Version: 0.9.1 -Release: 4%{?dist} +Release: 5%{?dist} License: MIT Summary: Command-line tool to control zswap options @@ -64,6 +64,9 @@ a compressed cache is much faster than reading from a swap device. %config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf %changelog +* Sat Jul 22 2023 Fedora Release Engineering - 0.9.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Wed Jun 28 2023 Vitaly Zaitsev - 0.9.1-4 - Rebuilt due to fmt 10 update. From aa0420ef23c2c850a5cb07e9f89d736cf0197024 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Thu, 18 Jan 2024 00:08:23 +0000 Subject: [PATCH 04/15] Rebuilt for Boost 1.83 --- zswap-cli.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zswap-cli.spec b/zswap-cli.spec index d3a6a9e..643a5cb 100644 --- a/zswap-cli.spec +++ b/zswap-cli.spec @@ -1,6 +1,6 @@ Name: zswap-cli Version: 0.9.1 -Release: 5%{?dist} +Release: 6%{?dist} License: MIT Summary: Command-line tool to control zswap options @@ -64,6 +64,9 @@ a compressed cache is much faster than reading from a swap device. %config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf %changelog +* Thu Jan 18 2024 Jonathan Wakely - 0.9.1-6 +- Rebuilt for Boost 1.83 + * Sat Jul 22 2023 Fedora Release Engineering - 0.9.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild From 1f15f110711f426a6eb537c88d6b2f2a709ce2da Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 27 Jan 2024 11:19:32 +0000 Subject: [PATCH 05/15] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- zswap-cli.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zswap-cli.spec b/zswap-cli.spec index 643a5cb..2cd3aa1 100644 --- a/zswap-cli.spec +++ b/zswap-cli.spec @@ -1,6 +1,6 @@ Name: zswap-cli Version: 0.9.1 -Release: 6%{?dist} +Release: 7%{?dist} License: MIT Summary: Command-line tool to control zswap options @@ -64,6 +64,9 @@ a compressed cache is much faster than reading from a swap device. %config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf %changelog +* Sat Jan 27 2024 Fedora Release Engineering - 0.9.1-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Thu Jan 18 2024 Jonathan Wakely - 0.9.1-6 - Rebuilt for Boost 1.83 From 1e3e9f00b51228ab342c98377253918faa17780a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 20 Jul 2024 10:58:21 +0000 Subject: [PATCH 06/15] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- zswap-cli.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zswap-cli.spec b/zswap-cli.spec index 2cd3aa1..472aaa4 100644 --- a/zswap-cli.spec +++ b/zswap-cli.spec @@ -1,6 +1,6 @@ Name: zswap-cli Version: 0.9.1 -Release: 7%{?dist} +Release: 8%{?dist} License: MIT Summary: Command-line tool to control zswap options @@ -64,6 +64,9 @@ a compressed cache is much faster than reading from a swap device. %config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf %changelog +* Sat Jul 20 2024 Fedora Release Engineering - 0.9.1-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Sat Jan 27 2024 Fedora Release Engineering - 0.9.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From e238cb45daeeb1d814bfc9f050ab6ad9e2f15b71 Mon Sep 17 00:00:00 2001 From: Vitaly Date: Tue, 15 Oct 2024 10:06:05 +0200 Subject: [PATCH 07/15] Converted to %autorelease and %autochangelog. [skip changelog] --- changelog | 2 ++ zswap-cli.spec | 90 ++------------------------------------------------ 2 files changed, 4 insertions(+), 88 deletions(-) create mode 100644 changelog diff --git a/changelog b/changelog new file mode 100644 index 0000000..a0ca62a --- /dev/null +++ b/changelog @@ -0,0 +1,2 @@ +* Sat Jul 20 2024 Fedora Release Engineering - 0.9.1-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild diff --git a/zswap-cli.spec b/zswap-cli.spec index 472aaa4..b37de8b 100644 --- a/zswap-cli.spec +++ b/zswap-cli.spec @@ -1,6 +1,6 @@ Name: zswap-cli Version: 0.9.1 -Release: 8%{?dist} +Release: %autorelease License: MIT Summary: Command-line tool to control zswap options @@ -64,90 +64,4 @@ a compressed cache is much faster than reading from a swap device. %config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf %changelog -* Sat Jul 20 2024 Fedora Release Engineering - 0.9.1-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - -* Sat Jan 27 2024 Fedora Release Engineering - 0.9.1-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Thu Jan 18 2024 Jonathan Wakely - 0.9.1-6 -- Rebuilt for Boost 1.83 - -* Sat Jul 22 2023 Fedora Release Engineering - 0.9.1-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Wed Jun 28 2023 Vitaly Zaitsev - 0.9.1-4 -- Rebuilt due to fmt 10 update. - -* Mon Feb 20 2023 Jonathan Wakely - 0.9.1-3 -- Rebuilt for Boost 1.81 - -* Sat Jan 21 2023 Fedora Release Engineering - 0.9.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Sun Oct 02 2022 Vitaly Zaitsev - 0.9.1-1 -- Updated to version 0.9.1. - -* Sat Jul 23 2022 Fedora Release Engineering - 0.9.0-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Sun Jul 10 2022 Vitaly Zaitsev - 0.9.0-3 -- Rebuilt due to fmt library update. - -* Wed May 04 2022 Thomas Rodgers - 0.9.0-2 -- Rebuilt for Boost 1.78 - -* Wed Mar 02 2022 Vitaly Zaitsev - 0.9.0-1 -- Updated to version 0.9.0. - -* Sat Feb 12 2022 Vitaly Zaitsev - 0.8.0-1 -- Updated to version 0.8.0. - -* Sat Jan 22 2022 Fedora Release Engineering - 0.7.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Wed Dec 22 2021 Vitaly Zaitsev - 0.7.0-1 -- Updated to version 0.7.0. - -* Tue Dec 07 2021 Vitaly Zaitsev - 0.6.0-1 -- Updated to version 0.6.0. - -* Sat Aug 07 2021 Jonathan Wakely - 0.5.0-4 -- Rebuilt for Boost 1.76 - -* Fri Jul 23 2021 Fedora Release Engineering - 0.5.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Sun Jul 04 2021 Vitaly Zaitsev - 0.5.0-2 -- Rebuilt due to fmt library update. - -* Thu Apr 01 2021 Vitaly Zaitsev - 0.5.0-1 -- Updated to version 0.5.0. - -* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek - 0.4.1-5 -- Rebuilt for updated systemd-rpm-macros - See https://pagure.io/fesco/issue/2583. - -* Thu Jan 28 2021 Fedora Release Engineering - 0.4.1-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Wed Jul 29 2020 Fedora Release Engineering - 0.4.1-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Sat Jul 04 2020 Igor Raits - 0.4.1-2 -- Switch to the new CMake macros. - -* Mon Apr 27 2020 Vitaly Zaitsev - 0.4.1-1 -- Updated to version 0.4.1. - -* Sun Apr 26 2020 Vitaly Zaitsev - 0.4.0-1 -- Updated to version 0.4.0. - -* Wed Apr 22 2020 Vitaly Zaitsev - 0.3.0-1 -- Updated to version 0.3.0. - -* Mon Apr 13 2020 Vitaly Zaitsev - 0.2.0-1 -- Updated to version 0.2.0. - -* Sat Apr 04 2020 Vitaly Zaitsev - 0.1.0-1 -- Initial SPEC release. +%autochangelog From 6bcc6f738d1a92d92cc91276bd5426c2379c91fa Mon Sep 17 00:00:00 2001 From: Vitaly Date: Sun, 20 Oct 2024 12:17:34 +0200 Subject: [PATCH 08/15] Updated to version 1.0.0. --- sources | 2 +- zswap-cli.spec | 17 ++++++++--------- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/sources b/sources index 2f2f1e2..3f1364f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (zswap-cli-0.9.1.tar.gz) = e2a7c3264aff0a2b239912869328e9cea83436ff40d37a62af478ae0a1888af221b50f63335387761bf191c7cf81ba500d1a559e39d3c37cbd90ad4c04fa6de5 +SHA512 (zswap-cli-1.0.0.tar.gz) = 668a31b9d52bbe279a60bb1c56c6d38dd933a1d713d3d01faa5fbc798f0e8ee81012081f09b3e2130eeae49d8204eeaebb41aa544c30d0d0d32c491874e76a34 diff --git a/zswap-cli.spec b/zswap-cli.spec index b37de8b..33e61d0 100644 --- a/zswap-cli.spec +++ b/zswap-cli.spec @@ -1,27 +1,26 @@ Name: zswap-cli -Version: 0.9.1 +Version: 1.0.0 Release: %autorelease License: MIT -Summary: Command-line tool to control zswap options +Summary: Command-line tool to control the zswap options URL: https://github.com/xvitaly/%{name} Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz 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: semver-devel BuildRequires: systemd %{?systemd_requires} %description -Zswap-cli is a command-line tool to control zswap Linux kernel module +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 @@ -32,7 +31,7 @@ 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 \ @@ -57,7 +56,7 @@ a compressed cache is much faster than reading from a swap device. %files %doc docs/* %license LICENSE -%{_sbindir}/%{name} +%{_bindir}/%{name} %{_unitdir}/%{name}.service %{_mandir}/man1/%{name}.* %dir %{_sysconfdir}/%{name} From 0e948c4a134b8dddb287da687a145e9d4a95d084 Mon Sep 17 00:00:00 2001 From: Vitaly Date: Sun, 12 Jan 2025 09:47:43 +0100 Subject: [PATCH 09/15] Disabled 32-bit builds on F42+. --- zswap-cli.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/zswap-cli.spec b/zswap-cli.spec index 33e61d0..ede0d77 100644 --- a/zswap-cli.spec +++ b/zswap-cli.spec @@ -7,6 +7,11 @@ 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: glibc-headers BuildRequires: kernel-headers From 9778a4a9cd29de99997513de6365693e5c29e9d8 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 19 Jan 2025 16:53:54 +0000 Subject: [PATCH 10/15] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From c11952451650e9b8d186306ca4c13d736d0c085c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 21:21:30 +0000 Subject: [PATCH 11/15] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From 96e541d8b271e5f23bf80431c88b440db83d2580 Mon Sep 17 00:00:00 2001 From: Vitaly Date: Wed, 20 Aug 2025 11:15:58 +0200 Subject: [PATCH 12/15] Updated to version 1.1.0. --- sources | 2 +- zswap-cli.spec | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/sources b/sources index 3f1364f..72c78c7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (zswap-cli-1.0.0.tar.gz) = 668a31b9d52bbe279a60bb1c56c6d38dd933a1d713d3d01faa5fbc798f0e8ee81012081f09b3e2130eeae49d8204eeaebb41aa544c30d0d0d32c491874e76a34 +SHA512 (zswap-cli-1.1.0.tar.gz) = 58d55f6e31017b5182b4039f4fbed47bf4eab4bb07608383eddb14fe98fd6a87577508ef876f0fcccea520d5350ba32780dd12c98a8f8a3ae8e3f252fc337b8f diff --git a/zswap-cli.spec b/zswap-cli.spec index ede0d77..503ad1b 100644 --- a/zswap-cli.spec +++ b/zswap-cli.spec @@ -1,5 +1,5 @@ Name: zswap-cli -Version: 1.0.0 +Version: 1.1.0 Release: %autorelease License: MIT @@ -43,6 +43,7 @@ a compressed cache is much faster than reading from a swap device. -DCMAKE_BUILD_TYPE=Release \ -DBUILD_DOCS:BOOL=OFF \ -DBUILD_MANPAGE:BOOL=ON \ + -DBUILD_SHELL_COMPLETION:BOOL=ON \ -DSYSTEMD_INTEGRATION:BOOL=ON %cmake_build @@ -66,6 +67,7 @@ a compressed cache is much faster than reading from a swap device. %{_mandir}/man1/%{name}.* %dir %{_sysconfdir}/%{name} %config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf +%{bash_completions_dir}/%{name} %changelog %autochangelog From fe3ca0096090be4b300092405dac97a869f14b15 Mon Sep 17 00:00:00 2001 From: Vitaly Date: Sat, 25 Oct 2025 12:14:23 +0200 Subject: [PATCH 13/15] Updated to version 1.1.1. --- sources | 2 +- zswap-cli.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sources b/sources index 72c78c7..fb55473 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (zswap-cli-1.1.0.tar.gz) = 58d55f6e31017b5182b4039f4fbed47bf4eab4bb07608383eddb14fe98fd6a87577508ef876f0fcccea520d5350ba32780dd12c98a8f8a3ae8e3f252fc337b8f +SHA512 (zswap-cli-1.1.1.tar.gz) = 4f382fdef34f09baaa326d17cee2bc1cb1a28b905f5c09f78c62506e25ebf9d68f6b80af42e3747a6edfd4d8f8944849120610f88f58d3ab9f7bd630d78aca08 diff --git a/zswap-cli.spec b/zswap-cli.spec index 503ad1b..4748274 100644 --- a/zswap-cli.spec +++ b/zswap-cli.spec @@ -1,5 +1,5 @@ Name: zswap-cli -Version: 1.1.0 +Version: 1.1.1 Release: %autorelease License: MIT From 62b6c548d683a5dbd79089d90cafe772a5d6d576 Mon Sep 17 00:00:00 2001 From: Vitaly Date: Fri, 26 Dec 2025 07:55:56 +0100 Subject: [PATCH 14/15] Updated to version 1.1.2. --- sources | 2 +- zswap-cli.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sources b/sources index fb55473..adf8097 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (zswap-cli-1.1.1.tar.gz) = 4f382fdef34f09baaa326d17cee2bc1cb1a28b905f5c09f78c62506e25ebf9d68f6b80af42e3747a6edfd4d8f8944849120610f88f58d3ab9f7bd630d78aca08 +SHA512 (zswap-cli-1.1.2.tar.gz) = 54d038f6e83ace215675d55c964ffac1b65a3cea31779a72676803631d0234e0e07abcb350bca76c79ce538795d7dd526b7a596ed6aa611470415a7988c11ebb diff --git a/zswap-cli.spec b/zswap-cli.spec index 4748274..85e05a9 100644 --- a/zswap-cli.spec +++ b/zswap-cli.spec @@ -1,5 +1,5 @@ Name: zswap-cli -Version: 1.1.1 +Version: 1.1.2 Release: %autorelease License: MIT From 72753b16a075867f3219815525a52fec999aedf0 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Tue, 13 Jan 2026 11:35:56 +0000 Subject: [PATCH 15/15] Rebuilt for Boost 1.90