allow building against rust-ini 0.17
This commit is contained in:
parent
54d85c6833
commit
b79d3cfda4
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
Name: rust-%{crate}
|
Name: rust-%{crate}
|
||||||
Version: 0.3.2
|
Version: 0.3.2
|
||||||
Release: 3%{?dist}
|
Release: 4%{?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
|
||||||
@ -13,6 +13,9 @@ License: MIT
|
|||||||
URL: https://crates.io/crates/zram-generator
|
URL: https://crates.io/crates/zram-generator
|
||||||
Source: %{crates_source}
|
Source: %{crates_source}
|
||||||
Source1: zram-generator.conf
|
Source1: zram-generator.conf
|
||||||
|
# Initial patched metadata
|
||||||
|
# * allow building against rust-ini 0.17
|
||||||
|
Patch0: zram-generator-fix-metadata.diff
|
||||||
|
|
||||||
ExclusiveArch: %{rust_arches}
|
ExclusiveArch: %{rust_arches}
|
||||||
%if %{__cargo_skip_build}
|
%if %{__cargo_skip_build}
|
||||||
@ -123,6 +126,9 @@ export SYSTEMD_UTIL_DIR=%{_systemd_util_dir}
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu May 27 2021 Fabio Valentini <decathorpe@gmail.com> - 0.3.2-4
|
||||||
|
- Allow building against rust-ini 0.17.
|
||||||
|
|
||||||
* Tue Mar 23 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.3.2-3
|
* Tue Mar 23 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.3.2-3
|
||||||
- Fix missing path to generator dir
|
- Fix missing path to generator dir
|
||||||
|
|
||||||
|
11
zram-generator-fix-metadata.diff
Normal file
11
zram-generator-fix-metadata.diff
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- zram-generator-0.3.2/Cargo.toml 1970-01-01T00:00:00+00:00
|
||||||
|
+++ zram-generator-0.3.2/Cargo.toml 2021-05-27T19:27:06.480757+00:00
|
||||||
|
@@ -35,7 +35,7 @@
|
||||||
|
features = ["std"]
|
||||||
|
|
||||||
|
[dependencies.rust-ini]
|
||||||
|
-version = ">=0.13, <0.17"
|
||||||
|
+version = ">=0.13, <0.18"
|
||||||
|
[dev-dependencies.fs_extra]
|
||||||
|
version = "1.1"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user