Compare commits

..

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

5 changed files with 87 additions and 21 deletions

8
.gitignore vendored
View file

@ -1 +1,7 @@
/zswap-cli-*.tar.gz /zswap-cli-0.4.1.tar.gz
/zswap-cli-0.5.0.tar.gz
/zswap-cli-0.6.0.tar.gz
/zswap-cli-0.7.0.tar.gz
/zswap-cli-0.8.0.tar.gz
/zswap-cli-0.9.0.tar.gz
/zswap-cli-0.9.1.tar.gz

3
README.md Normal file
View file

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

View file

@ -1,2 +0,0 @@
* 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-1.1.2.tar.gz) = 54d038f6e83ace215675d55c964ffac1b65a3cea31779a72676803631d0234e0e07abcb350bca76c79ce538795d7dd526b7a596ed6aa611470415a7988c11ebb SHA512 (zswap-cli-0.9.1.tar.gz) = e2a7c3264aff0a2b239912869328e9cea83436ff40d37a62af478ae0a1888af221b50f63335387761bf191c7cf81ba500d1a559e39d3c37cbd90ad4c04fa6de5

View file

@ -1,31 +1,27 @@
Name: zswap-cli Name: zswap-cli
Version: 1.1.2 Version: 0.9.1
Release: %autorelease Release: 1%{?dist}
Summary: Command-line tool to control zswap options
License: MIT License: MIT
Summary: Command-line tool to control the zswap options
URL: https://github.com/xvitaly/%{name} URL: https://github.com/xvitaly/%{name}
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz 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: boost-devel
BuildRequires: cmake
BuildRequires: fmt-devel
BuildRequires: gcc-c++
BuildRequires: glibc-headers BuildRequires: glibc-headers
BuildRequires: kernel-headers BuildRequires: kernel-headers
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: ninja-build BuildRequires: ninja-build
BuildRequires: pandoc BuildRequires: pandoc
BuildRequires: semver-devel
BuildRequires: systemd BuildRequires: systemd
%{?systemd_requires} %{?systemd_requires}
%description %description
Zswap-cli is a command-line tool to control the zswap kernel module Zswap-cli is a command-line tool to control zswap Linux kernel module
options. options.
Zswap is a compressed cache for swap pages. It takes pages that are in the Zswap is a compressed cache for swap pages. It takes pages that are in the
@ -36,14 +32,13 @@ It trades CPU cycles for a significant performance boost since reading from
a compressed cache is much faster than reading from a swap device. a compressed cache is much faster than reading from a swap device.
%prep %prep
%autosetup -p1 %autosetup
%build %build
%cmake -G Ninja \ %cmake -G Ninja \
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \
-DBUILD_DOCS:BOOL=OFF \ -DBUILD_DOCS:BOOL=OFF \
-DBUILD_MANPAGE:BOOL=ON \ -DBUILD_MANPAGE:BOOL=ON \
-DBUILD_SHELL_COMPLETION:BOOL=ON \
-DSYSTEMD_INTEGRATION:BOOL=ON -DSYSTEMD_INTEGRATION:BOOL=ON
%cmake_build %cmake_build
@ -62,12 +57,76 @@ a compressed cache is much faster than reading from a swap device.
%files %files
%doc docs/* %doc docs/*
%license LICENSE %license LICENSE
%{_bindir}/%{name} %{_sbindir}/%{name}
%{_unitdir}/%{name}.service %{_unitdir}/%{name}.service
%{_mandir}/man1/%{name}.* %{_mandir}/man1/%{name}.*
%dir %{_sysconfdir}/%{name} %dir %{_sysconfdir}/%{name}
%config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf %config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf
%{bash_completions_dir}/%{name}
%changelog %changelog
%autochangelog * Sun Oct 02 2022 Vitaly Zaitsev <vitaly@easycoding.org> - 0.9.1-1
- Updated to version 0.9.1.
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Sun Jul 10 2022 Vitaly Zaitsev <vitaly@easycoding.org> - 0.9.0-3
- Rebuilt due to fmt library update.
* Wed May 04 2022 Thomas Rodgers <trodgers@redhat.com> - 0.9.0-2
- Rebuilt for Boost 1.78
* Wed Mar 02 2022 Vitaly Zaitsev <vitaly@easycoding.org> - 0.9.0-1
- Updated to version 0.9.0.
* Sat Feb 12 2022 Vitaly Zaitsev <vitaly@easycoding.org> - 0.8.0-1
- Updated to version 0.8.0.
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Wed Dec 22 2021 Vitaly Zaitsev <vitaly@easycoding.org> - 0.7.0-1
- Updated to version 0.7.0.
* Tue Dec 07 2021 Vitaly Zaitsev <vitaly@easycoding.org> - 0.6.0-1
- Updated to version 0.6.0.
* Sat Aug 07 2021 Jonathan Wakely <jwakely@redhat.com> - 0.5.0-4
- Rebuilt for Boost 1.76
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Sun Jul 04 2021 Vitaly Zaitsev <vitaly@easycoding.org> - 0.5.0-2
- Rebuilt due to fmt library update.
* 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.