Update to 0.2.0-beta.1

Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Raits 2020-06-18 09:28:52 +02:00
parent ca4100f971
commit 0bd13b4079
No known key found for this signature in database
GPG Key ID: 115D5AB89C5C1E1E
3 changed files with 44 additions and 6 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
/zram-generator-0.1.1.crate
/zram-generator-0.1.2.crate
/zram-generator-0.2.0-beta.1.crate

View File

@ -1,13 +1,12 @@
# Generated by rust2rpm 10
# Generated by rust2rpm 15
%bcond_without check
%global __cargo_skip_build 0
%global crate zram-generator
Name: rust-%{crate}
Version: 0.1.2
Release: 2%{?dist}
Summary: Systemd unit generator for zram devices
Version: 0.2.0~beta.1
Release: 1%{?dist}
Summary: Systemd unit generator for zram swap devices
# Upstream license specification: MIT
License: MIT
@ -15,6 +14,9 @@ URL: https://crates.io/crates/zram-generator
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
@ -26,8 +28,13 @@ zram device. To activate, copy
%description %{_description}
%if ! %{__cargo_skip_build}
%package -n %{crate}
Summary: %{summary}
# MIT
# MIT or ASL 2.0
License: MIT
Recommends: /usr/bin/systemd-detect-virt
%description -n %{crate} %{_description}
@ -36,6 +43,33 @@ Summary: %{summary}
%doc zram-generator.conf.example
%doc README.md TODO
%{_systemdgeneratordir}/zram-generator
%endif
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages
which use "%{crate}" crate.
%files devel
%license LICENSE
%readme README.md TODO
%{cargo_registry}/%{crate}-%{version_no_tilde}/
%package -n %{name}+default-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages
which use "default" feature of "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
@ -60,6 +94,9 @@ mv -v %{buildroot}%{_bindir}/zram-generator %{buildroot}%{_systemdgeneratordir}/
%endif
%changelog
* Thu Jun 18 09:27:37 CEST 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.2.0~beta.1-1
- Update to 0.2.0-beta.1
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (zram-generator-0.1.2.crate) = 1b45fac0b4aa12f149b5e0c202b2a6fed36e245145b091e36bea26952e929ede412d1b1407e88ee8cc48ae3fb3b7c530966d1752b02f2473bc9fed188c4c1395
SHA512 (zram-generator-0.2.0-beta.1.crate) = 9a1206cb69f9a771864f9894274cad534c8fab7272a5abda6498188d7c2627850741903311a158b515a8056034f5589127421d938779567598a849c889fc38b1