Name: zram Version: 0.4 Release: 8%{?dist} Summary: ZRAM for swap config and services for Fedora # Automatically converted from old format: GPLv2+ - review is highly recommended. License: GPL-2.0-or-later # No upstream as it's Fedora specific. Source0: COPYING Source1: zram.conf Source2: zram-swap.service Source3: zramstart Source4: zramstop BuildArch: noarch %{?systemd_requires} BuildRequires: systemd Requires: util-linux gawk grep %description ZRAM is a Linux block device that can be used for compressed swap in memory. It's useful in memory constrained devices. This provides a service to setup ZRAM as a swap device based on criteria such as available memory. %prep # None required %build # None required %install install -d %{buildroot}%{_datadir}/licenses/%{name}/ install -pm 0644 %{SOURCE0} %{buildroot}%{_datadir}/licenses/%{name}/COPYING install -d %{buildroot}%{_sysconfdir}/ install -pm 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/ install -d %{buildroot}%{_unitdir}/ install -pm 0644 %{SOURCE2} %{buildroot}%{_unitdir}/ install -d %{buildroot}%{_sbindir} install -pm 0755 %{SOURCE3} %{buildroot}%{_sbindir} install -pm 0755 %{SOURCE4} %{buildroot}%{_sbindir} %postun %systemd_postun zram-swap.service %files %license COPYING %config(noreplace) %{_sysconfdir}/%{name}.conf %{_unitdir}/zram-swap.service %{_sbindir}/zramstart %{_sbindir}/zramstop %changelog * Fri Jul 26 2024 Miroslav Suchý - 0.4-8 - convert license to SPDX * Sat Jul 20 2024 Fedora Release Engineering - 0.4-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat Jan 27 2024 Fedora Release Engineering - 0.4-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jul 22 2023 Fedora Release Engineering - 0.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sat Jan 21 2023 Fedora Release Engineering - 0.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 0.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat Jan 22 2022 Fedora Release Engineering - 0.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Jun 26 2019 Peter Robinson 0.4-1 - General improvements (Chris Murphy) * Sat Nov 24 2018 Peter Robinson 0.3-1 - Add support for swap priority * Thu Jul 19 2018 Peter Robinson 0.2-1 - Service ordering fixes, minor cleanup * Tue Jul 17 2018 Peter Robinson 0.1-1 - Initial package