From 961bc0085ef458e2649a0a9d9549ae21d7de8ae0 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Feb 12 2019 08:39:52 +0000 Subject: Update nix to 0.13 Signed-off-by: Igor Gnatenko --- diff --git a/rust-devicemapper.spec b/rust-devicemapper.spec index 711fd73..baf5e66 100644 --- a/rust-devicemapper.spec +++ b/rust-devicemapper.spec @@ -6,13 +6,16 @@ Name: rust-%{crate} Version: 0.26.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Library for using Linux device mapper # Upstream license specification: MPL-2.0 License: MPLv2.0 URL: https://crates.io/crates/devicemapper -Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +Source: %{crates_source} +# Initial patched metadata +# * Bump nix to 0.13, https://github.com/stratis-storage/devicemapper-rs/pull/419 +Patch0: devicemapper-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -22,7 +25,7 @@ BuildRequires: (crate(error-chain/default) >= 0.12.0 with crate(error-chain/def BuildRequires: (crate(libc/default) >= 0.2.36 with crate(libc/default) < 0.3.0) BuildRequires: (crate(macro-attr/default) >= 0.2.0 with crate(macro-attr/default) < 0.3.0) BuildRequires: (crate(newtype_derive/default) >= 0.1.0 with crate(newtype_derive/default) < 0.2.0) -BuildRequires: (crate(nix/default) >= 0.11.0 with crate(nix/default) < 0.12.0) +BuildRequires: (crate(nix/default) >= 0.13.0 with crate(nix/default) < 0.14.0) BuildRequires: (crate(serde/default) >= 1.0.0 with crate(serde/default) < 2.0.0) %if %{with check} BuildRequires: (crate(libmount/default) >= 0.1.11 with crate(libmount/default) < 0.2.0) @@ -65,7 +68,7 @@ which use "default" feature of "%{crate}" crate. %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %prep -%autosetup -n %{crate}-%{version} -p1 +%autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep %build @@ -80,6 +83,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Tue Feb 12 2019 Igor Gnatenko - 0.26.1-3 +- Update nix to 0.13 + * Sat Feb 02 2019 Fedora Release Engineering - 0.26.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild