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.1.crate
|
||||||
/zram-generator-0.1.2.crate
|
/zram-generator-0.1.2.crate
|
||||||
/zram-generator-0.2.0-beta.1.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
|
# Generated by rust2rpm 15
|
||||||
# * https://github.com/systemd/zram-generator/issues/36
|
%bcond_without check
|
||||||
%bcond_with check
|
|
||||||
|
|
||||||
%global crate zram-generator
|
%global crate zram-generator
|
||||||
|
|
||||||
Name: rust-%{crate}
|
Name: rust-%{crate}
|
||||||
Version: 0.2.0~beta.1
|
Version: 0.2.0~rc.1
|
||||||
Release: 3%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Systemd unit generator for zram swap devices
|
Summary: Systemd unit generator for zram swap devices
|
||||||
|
|
||||||
# Upstream license specification: MIT
|
# Upstream license specification: MIT
|
||||||
@ -38,8 +37,7 @@ Summary: %{summary}
|
|||||||
# MIT
|
# MIT
|
||||||
# MIT or ASL 2.0
|
# MIT or ASL 2.0
|
||||||
License: MIT
|
License: MIT
|
||||||
# for zramctl
|
Recommends: /usr/bin/zramctl
|
||||||
Recommends: util-linux
|
|
||||||
|
|
||||||
%description -n %{crate} %{_description}
|
%description -n %{crate} %{_description}
|
||||||
|
|
||||||
@ -49,6 +47,8 @@ Recommends: util-linux
|
|||||||
%doc README.md TODO
|
%doc README.md TODO
|
||||||
%{_systemdgeneratordir}/zram-generator
|
%{_systemdgeneratordir}/zram-generator
|
||||||
%{_unitdir}/swap-create@.service
|
%{_unitdir}/swap-create@.service
|
||||||
|
%{_mandir}/man8/zram-generator.8*
|
||||||
|
%{_mandir}/man5/zram-generator.5*
|
||||||
|
|
||||||
%package -n %{crate}-defaults
|
%package -n %{crate}-defaults
|
||||||
Summary: Default configuration for %{crate}
|
Summary: Default configuration for %{crate}
|
||||||
@ -95,9 +95,11 @@ cp -a %{S:1} .
|
|||||||
|
|
||||||
%generate_buildrequires
|
%generate_buildrequires
|
||||||
%cargo_generate_buildrequires
|
%cargo_generate_buildrequires
|
||||||
|
echo '/usr/bin/ronn'
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cargo_build
|
%cargo_build
|
||||||
|
LC_ALL=C.UTF-8 ronn --roff --organization="zram-generator %{version_no_tilde}" man/*.md
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%cargo_install
|
%cargo_install
|
||||||
@ -106,6 +108,8 @@ mkdir -p %{buildroot}%{_systemdgeneratordir}
|
|||||||
mv -v %{buildroot}%{_bindir}/zram-generator %{buildroot}%{_systemdgeneratordir}/
|
mv -v %{buildroot}%{_bindir}/zram-generator %{buildroot}%{_systemdgeneratordir}/
|
||||||
install -Dpm0644 -t %{buildroot}%{_unitdir} units/swap-create@.service
|
install -Dpm0644 -t %{buildroot}%{_unitdir} units/swap-create@.service
|
||||||
install -Dpm0644 -t %{buildroot}%{_prefix}/lib/systemd zram-generator.conf
|
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}
|
%if %{with check}
|
||||||
%check
|
%check
|
||||||
@ -113,6 +117,9 @@ install -Dpm0644 -t %{buildroot}%{_prefix}/lib/systemd zram-generator.conf
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%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
|
* 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
|
- 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
|
# — size — half of available RAM or 4GB, whichever is less
|
||||||
# — compression — most likely lzo-rle
|
# — 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.
|
# /etc/systemd/zram-generator.conf file.
|
||||||
[zram0]
|
[zram0]
|
||||||
|
Loading…
Reference in New Issue
Block a user