From 96df7c71480f207772eded976f2025ee92f7963c Mon Sep 17 00:00:00 2001 From: Michal Sekletar Date: Thu, 5 Aug 2021 16:32:01 +0000 Subject: [PATCH] Rename binary rpm to zram-generator Resolves: #1990555 --- rust-zram-generator.spec | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/rust-zram-generator.spec b/rust-zram-generator.spec index acf33d6..c54c055 100644 --- a/rust-zram-generator.spec +++ b/rust-zram-generator.spec @@ -2,7 +2,7 @@ Name: rust-%{crate} Version: 0.3.2 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Systemd unit generator for zram swap devices License: MIT @@ -20,10 +20,17 @@ BuildRequires: rust-toolset BuildRequires: systemd-devel systemd-rpm-macros BuildRequires: /usr/bin/make -%description +%global _description %{expand: This is a systemd unit generator that enables swap on zram. (With zram, there is no physical swap device. Part of the avaialable RAM - is used to store compressed pages, essentially trading CPU cycles for memory.) +is used to store compressed pages, essentially trading CPU cycles for memory.)} + +%description %{_description} + +%package -n %{crate} +Summary: %{summary} +License: MIT +%description -n %{crate} %{_description} %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 @@ -47,7 +54,7 @@ install -Dpm0644 -t %{buildroot}%{_prefix}/lib/systemd %{SOURCE2} install -Dpm0644 -t %{buildroot}%{_mandir}/man8 man/zram-generator.8 install -Dpm0644 -t %{buildroot}%{_mandir}/man5 man/zram-generator.conf.5 -%files +%files -n %{crate} %license LICENSE %doc zram-generator.conf.example %doc README.md @@ -58,6 +65,9 @@ install -Dpm0644 -t %{buildroot}%{_mandir}/man5 man/zram-generator.conf.5 %{_mandir}/man5/zram-generator.conf.5* %changelog +* Thu Aug 05 2021 - 0.3.2-6 +- Rename binary rpm to zram-generator (#1990555) + * Thu Jun 24 2021 - 0.3.2-5 - Adjust packaging to account for differences between Fedora and CentOS/RHEL rust packaging (#1930369)