Regenerate

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2019-07-22 21:31:22 +02:00
parent 6c72635271
commit e251a0e239
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C
2 changed files with 19 additions and 15 deletions

View File

@ -1,13 +1,15 @@
# Generated by rust2rpm
# Generated by rust2rpm 10
%bcond_without check
%global __cargo_skip_build 0
%global crate zram-generator
Name: rust-%{crate}
Version: 0.1.1
Release: 3%{?dist}
Release: 4%{?dist}
Summary: Systemd unit generator for zram devices
# Upstream license specification: MIT
License: MIT
URL: https://crates.io/crates/zram-generator
Source: %{crates_source}
@ -19,24 +21,19 @@ Patch0: zram-generator-fix-metadata.diff
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
BuildRequires: (crate(failure/default) >= 0.1.2 with crate(failure/default) < 0.2.0)
BuildRequires: (crate(failure_derive/default) >= 0.1.0 with crate(failure_derive/default) < 0.2.0)
BuildRequires: (crate(rust-ini/default) >= 0.13.0 with crate(rust-ini/default) < 0.14.0)
BuildRequires: systemd-rpm-macros
%global _description \
This is a systemd unit generator that creates a unit file to create a\
zram device. To activate, copy\
/usr/share/doc/rust-zram-generator/zram-generator.conf.example to\
/etc/systemd/zram-generator.conf and possibly edit to adjust the limits.
%global _description %{expand:
This is a systemd unit generator that creates a unit file to create a
zram device. To activate, copy
/usr/share/doc/rust-zram-generator/zram-generator.conf.example to
/etc/systemd/zram-generator.conf and possibly edit to adjust the limits.}
%description %{_description}
%package -n %{crate}
Summary: %{summary}
%description -n %{crate}
%{summary}.
%description -n %{crate} %{_description}
%files -n %{crate}
%license LICENSE
@ -48,6 +45,10 @@ Summary: %{summary}
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
echo 'systemd-rpm-macros'
%build
%cargo_build
@ -63,6 +64,9 @@ mv -v %{buildroot}%{_bindir}/zram-generator %{buildroot}%{_systemdgeneratordir}/
%endif
%changelog
* Mon Jul 22 21:30:22 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.1-4
- Regenerate
* Sat Mar 09 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.1-3
- Adapt to new packaging

View File

@ -1,5 +1,5 @@
--- zram-generator-0.1.1/Cargo.toml 1970-01-01T01:00:00+01:00
+++ zram-generator-0.1.1/Cargo.toml 2019-03-09T15:07:29.700946+01:00
--- zram-generator-0.1.1/Cargo.toml 1970-01-01T00:00:00+00:00
+++ zram-generator-0.1.1/Cargo.toml 2019-07-22T19:30:22.292519+00:00
@@ -18,10 +18,10 @@
homepage = "https://github.com/systemd/zram-generator"
license = "MIT"