diff --git a/.gitignore b/.gitignore index ac740bb..42a7106 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ /nix-0.19.1.crate /nix-0.20.0.crate /nix-0.22.0.crate +/nix-0.22.1.crate diff --git a/nix-fix-metadata.diff b/nix-fix-metadata.diff index 62b5de7..02bf515 100644 --- a/nix-fix-metadata.diff +++ b/nix-fix-metadata.diff @@ -1,6 +1,15 @@ ---- nix-0.22.0/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ nix-0.22.0/Cargo.toml 2021-07-29T11:04:40.286153+00:00 -@@ -74,7 +74,3 @@ +--- nix-0.22.1/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ nix-0.22.1/Cargo.toml 2021-08-21T09:57:51.652654+00:00 +@@ -47,7 +47,7 @@ + name = "test-ptymaster-drop" + path = "test/test_ptymaster_drop.rs" + [dependencies.bitflags] +-version = ">= 1.1.0, < 1.3.0" ++version = "1.1.0" + + [dependencies.cfg-if] + version = "1.0" +@@ -73,7 +73,3 @@ version = "0.5.1" [target."cfg(not(target_os = \"redox\"))".dependencies.memoffset] version = "0.6.3" diff --git a/rust-nix.spec b/rust-nix.spec index 327f6c6..741a5e8 100644 --- a/rust-nix.spec +++ b/rust-nix.spec @@ -5,7 +5,7 @@ %global crate nix Name: rust-%{crate} -Version: 0.22.0 +Version: 0.22.1 Release: %autorelease Summary: Rust friendly bindings to *nix APIs @@ -14,6 +14,7 @@ License: MIT URL: https://crates.io/crates/nix Source: %{crates_source} # Initial patched metadata +# * relax bitflags dependency (compatibility with Rust < 1.46 is not required) # * drop DragonflyBSD/FreeBSD-specific dependencies Patch0: nix-fix-metadata.diff diff --git a/sources b/sources index cc58301..837302f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (nix-0.22.0.crate) = 73e18e87814dc98bb77f99705c45537afeadb04790c3db54a55688b3e925d3df5e7911282e997244316e310d5286ac10880b00487f706f9c7babde9225a4a14f +SHA512 (nix-0.22.1.crate) = abed04c906173956a706ca5906c666336bc5730895aec25a7eed33dd0e6d49be499483242577637f72f86b852dd616b019a14931a7568cb72f165acd0e41901d