Update to 0.2.0-rc.1
Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
e44606d796
commit
6030cbe043
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
/zram-generator-0.1.1.crate
|
||||
/zram-generator-0.1.2.crate
|
||||
/zram-generator-0.2.0-beta.1.crate
|
||||
/zram-generator-0.2.0-rc.1.crate
|
||||
|
@ -1,12 +1,11 @@
|
||||
# Generated by rust2rpm 15
|
||||
# * https://github.com/systemd/zram-generator/issues/36
|
||||
%bcond_with check
|
||||
%bcond_without check
|
||||
|
||||
%global crate zram-generator
|
||||
|
||||
Name: rust-%{crate}
|
||||
Version: 0.2.0~beta.1
|
||||
Release: 3%{?dist}
|
||||
Version: 0.2.0~rc.1
|
||||
Release: 1%{?dist}
|
||||
Summary: Systemd unit generator for zram swap devices
|
||||
|
||||
# Upstream license specification: MIT
|
||||
@ -38,8 +37,7 @@ Summary: %{summary}
|
||||
# MIT
|
||||
# MIT or ASL 2.0
|
||||
License: MIT
|
||||
# for zramctl
|
||||
Recommends: util-linux
|
||||
Recommends: /usr/bin/zramctl
|
||||
|
||||
%description -n %{crate} %{_description}
|
||||
|
||||
@ -49,6 +47,8 @@ Recommends: util-linux
|
||||
%doc README.md TODO
|
||||
%{_systemdgeneratordir}/zram-generator
|
||||
%{_unitdir}/swap-create@.service
|
||||
%{_mandir}/man8/zram-generator.8*
|
||||
%{_mandir}/man5/zram-generator.5*
|
||||
|
||||
%package -n %{crate}-defaults
|
||||
Summary: Default configuration for %{crate}
|
||||
@ -95,9 +95,11 @@ cp -a %{S:1} .
|
||||
|
||||
%generate_buildrequires
|
||||
%cargo_generate_buildrequires
|
||||
echo '/usr/bin/ronn'
|
||||
|
||||
%build
|
||||
%cargo_build
|
||||
LC_ALL=C.UTF-8 ronn --roff --organization="zram-generator %{version_no_tilde}" man/*.md
|
||||
|
||||
%install
|
||||
%cargo_install
|
||||
@ -106,6 +108,8 @@ mkdir -p %{buildroot}%{_systemdgeneratordir}
|
||||
mv -v %{buildroot}%{_bindir}/zram-generator %{buildroot}%{_systemdgeneratordir}/
|
||||
install -Dpm0644 -t %{buildroot}%{_unitdir} units/swap-create@.service
|
||||
install -Dpm0644 -t %{buildroot}%{_prefix}/lib/systemd zram-generator.conf
|
||||
install -Dpm0644 -t %{buildroot}%{_mandir}/man8 man/zram-generator.8
|
||||
install -Dpm0644 -t %{buildroot}%{_mandir}/man5 man/zram-generator.5
|
||||
|
||||
%if %{with check}
|
||||
%check
|
||||
@ -113,6 +117,9 @@ install -Dpm0644 -t %{buildroot}%{_prefix}/lib/systemd zram-generator.conf
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Tue Jun 23 19:56:14 CEST 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.2.0~rc.1-1
|
||||
- Update to 0.2.0-rc.1
|
||||
|
||||
* Thu Jun 18 11:30:43 CEST 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.2.0~beta.1-3
|
||||
- Create a subpackage with default configuration
|
||||
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (zram-generator-0.2.0-beta.1.crate) = 9a1206cb69f9a771864f9894274cad534c8fab7272a5abda6498188d7c2627850741903311a158b515a8056034f5589127421d938779567598a849c889fc38b1
|
||||
SHA512 (zram-generator-0.2.0-rc.1.crate) = 29f9db011a4a81cb7f14b6706925879b2b3e22ffb380d0e56c1869af8f593b71909dd6eb3ce980eb31fd2db65d0649ccfadf3141a2d349b0fc34e322f47a9017
|
||||
|
@ -2,6 +2,6 @@
|
||||
# — size — half of available RAM or 4GB, whichever is less
|
||||
# — compression — most likely lzo-rle
|
||||
#
|
||||
# To disable, uninstall rust-zram-defaults or create empty
|
||||
# To disable, uninstall zram-generator-defaults or create empty
|
||||
# /etc/systemd/zram-generator.conf file.
|
||||
[zram0]
|
||||
|
Loading…
Reference in New Issue
Block a user