parent
2844ea0189
commit
96df7c7148
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: rust-%{crate}
|
Name: rust-%{crate}
|
||||||
Version: 0.3.2
|
Version: 0.3.2
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
Summary: Systemd unit generator for zram swap devices
|
Summary: Systemd unit generator for zram swap devices
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -20,10 +20,17 @@ BuildRequires: rust-toolset
|
|||||||
BuildRequires: systemd-devel systemd-rpm-macros
|
BuildRequires: systemd-devel systemd-rpm-macros
|
||||||
BuildRequires: /usr/bin/make
|
BuildRequires: /usr/bin/make
|
||||||
|
|
||||||
%description
|
%global _description %{expand:
|
||||||
This is a systemd unit generator that enables swap on zram.
|
This is a systemd unit generator that enables swap on zram.
|
||||||
(With zram, there is no physical swap device. Part of the avaialable RAM
|
(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
|
%prep
|
||||||
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
%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}/man8 man/zram-generator.8
|
||||||
install -Dpm0644 -t %{buildroot}%{_mandir}/man5 man/zram-generator.conf.5
|
install -Dpm0644 -t %{buildroot}%{_mandir}/man5 man/zram-generator.conf.5
|
||||||
|
|
||||||
%files
|
%files -n %{crate}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc zram-generator.conf.example
|
%doc zram-generator.conf.example
|
||||||
%doc README.md
|
%doc README.md
|
||||||
@ -58,6 +65,9 @@ install -Dpm0644 -t %{buildroot}%{_mandir}/man5 man/zram-generator.conf.5
|
|||||||
%{_mandir}/man5/zram-generator.conf.5*
|
%{_mandir}/man5/zram-generator.conf.5*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Aug 05 2021 <msekleta@redhat.com> - 0.3.2-6
|
||||||
|
- Rename binary rpm to zram-generator (#1990555)
|
||||||
|
|
||||||
* Thu Jun 24 2021 <msekleta@redhat.com> - 0.3.2-5
|
* Thu Jun 24 2021 <msekleta@redhat.com> - 0.3.2-5
|
||||||
- Adjust packaging to account for differences between Fedora and CentOS/RHEL rust packaging (#1930369)
|
- Adjust packaging to account for differences between Fedora and CentOS/RHEL rust packaging (#1930369)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user