Compare commits
38 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
72753b16a0 | ||
|
|
62b6c548d6 |
||
|
|
fe3ca00960 |
||
|
|
96e541d8b2 |
||
|
|
c119524516 | ||
|
|
9778a4a9cd | ||
|
|
0e948c4a13 |
||
|
|
6bcc6f738d |
||
|
|
e238cb45da |
||
|
|
1e3e9f00b5 | ||
|
|
1f15f11071 | ||
|
|
aa0420ef23 | ||
|
|
304016a213 | ||
|
|
aa13938c6d |
||
|
|
bf096e526d | ||
|
|
9402770520 | ||
|
|
928658b111 |
||
|
|
e0a9051eae |
||
|
|
4c25058ab3 | ||
|
|
d12178f8d6 |
||
|
|
a3281a9e4f |
||
|
|
aba4f4a916 | ||
|
|
27c12ae72d |
||
|
|
89c279523c |
||
|
|
dce358587f | ||
|
|
682032e379 |
||
|
|
d94a2f98eb |
||
|
|
798bc585d2 |
||
|
|
ff0ae4b7ed | ||
|
|
71d82c1d01 | ||
|
|
371d6c717d |
||
|
|
3f8dba25c7 |
||
|
|
1651843c46 |
||
|
|
6ac138db3a | ||
|
|
3b029f98d0 | ||
|
|
d7c627b6e9 | ||
|
|
4b5446c3ec |
||
|
|
22ec5dc645 |
5 changed files with 42 additions and 41 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -1 +1 @@
|
||||||
/zswap-cli-0.4.1.tar.gz
|
/zswap-cli-*.tar.gz
|
||||||
|
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
# zswap-cli
|
|
||||||
|
|
||||||
The zswap-cli package
|
|
||||||
2
changelog
Normal file
2
changelog
Normal 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
|
||||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
||||||
SHA512 (zswap-cli-0.4.1.tar.gz) = 247f4c1949ae1b320e73bf69fd000065f5595e58165a1100a4fb2546c27c1424775e30654ecb8863b67797f77d3f43cd79d63c9ff7b1adac913e0b6c646345ab
|
SHA512 (zswap-cli-1.1.2.tar.gz) = 54d038f6e83ace215675d55c964ffac1b65a3cea31779a72676803631d0234e0e07abcb350bca76c79ce538795d7dd526b7a596ed6aa611470415a7988c11ebb
|
||||||
|
|
|
||||||
|
|
@ -1,38 +1,51 @@
|
||||||
Name: zswap-cli
|
Name: zswap-cli
|
||||||
Version: 0.4.1
|
Version: 1.1.2
|
||||||
Release: 1%{?dist}
|
Release: %autorelease
|
||||||
|
|
||||||
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
|
||||||
|
|
||||||
BuildRequires: kernel-headers
|
# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
|
||||||
|
%if 0%{?fedora} && 0%{?fedora} >= 42
|
||||||
|
ExcludeArch: %{ix86}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
BuildRequires: boost-devel
|
||||||
BuildRequires: glibc-headers
|
BuildRequires: glibc-headers
|
||||||
BuildRequires: cxxopts-devel
|
BuildRequires: kernel-headers
|
||||||
BuildRequires: ninja-build
|
|
||||||
BuildRequires: fmt-devel
|
|
||||||
BuildRequires: systemd
|
|
||||||
BuildRequires: gcc-c++
|
|
||||||
BuildRequires: pandoc
|
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: ninja-build
|
||||||
|
BuildRequires: pandoc
|
||||||
|
BuildRequires: systemd
|
||||||
|
|
||||||
%{?systemd_requires}
|
%{?systemd_requires}
|
||||||
|
|
||||||
%description
|
%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
|
%prep
|
||||||
%autosetup
|
%autosetup -p1
|
||||||
mkdir -p %{_target_platform}
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
pushd %{_target_platform}
|
%cmake -G Ninja \
|
||||||
%cmake -G Ninja \
|
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
..
|
-DBUILD_DOCS:BOOL=OFF \
|
||||||
popd
|
-DBUILD_MANPAGE:BOOL=ON \
|
||||||
%ninja_build -C %{_target_platform}
|
-DBUILD_SHELL_COMPLETION:BOOL=ON \
|
||||||
|
-DSYSTEMD_INTEGRATION:BOOL=ON
|
||||||
|
%cmake_build
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%systemd_post %{name}.service
|
%systemd_post %{name}.service
|
||||||
|
|
@ -44,28 +57,17 @@ popd
|
||||||
%systemd_postun_with_restart %{name}.service
|
%systemd_postun_with_restart %{name}.service
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%ninja_install -C %{_target_platform}
|
%cmake_install
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc README.md docs/*
|
%doc docs/*
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{_sbindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
%{_unitdir}/%{name}.service
|
%{_unitdir}/%{name}.service
|
||||||
%{_mandir}/man1/%{name}.*
|
%{_mandir}/man1/%{name}.*
|
||||||
%config(noreplace) %{_sysconfdir}/%{name}.conf
|
%dir %{_sysconfdir}/%{name}
|
||||||
|
%config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf
|
||||||
|
%{bash_completions_dir}/%{name}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Mon Apr 27 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 0.4.1-1
|
%autochangelog
|
||||||
- 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.
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue