diff --git a/.gitignore b/.gitignore index 875f59a..aa346be 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,4 @@ /nix-0.23.1.crate /nix-0.24.1.crate /nix-0.24.2.crate +/nix-0.26.2.crate diff --git a/nix-fix-metadata-auto.diff b/nix-fix-metadata-auto.diff index c5e6caf..68c5fcf 100644 --- a/nix-fix-metadata-auto.diff +++ b/nix-fix-metadata-auto.diff @@ -1,8 +1,8 @@ ---- nix-0.24.2/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ nix-0.24.2/Cargo.toml 1970-01-01T00:00:01+00:00 -@@ -178,5 +178,3 @@ - version = "0.6.3" +--- nix-0.26.2/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ nix-0.26.2/Cargo.toml 1970-01-01T00:00:01+00:00 +@@ -181,5 +181,3 @@ + version = "0.7" optional = true -[target."cfg(target_os = \"freebsd\")".dev-dependencies.sysctl] --version = "0.1" +-version = "0.4" diff --git a/rust-nix.spec b/rust-nix.spec index a79cd12..eb0443a 100644 --- a/rust-nix.spec +++ b/rust-nix.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 22 +# Generated by rust2rpm 23 %bcond_without check %global debug_package %{nil} %global crate nix Name: rust-nix -Version: 0.24.2 +Version: 0.26.2 Release: %autorelease Summary: Rust friendly bindings to *nix APIs @@ -15,8 +15,6 @@ Source: %{crates_source} # Automatically generated patch to strip foreign dependencies Patch: nix-fix-metadata-auto.diff -ExclusiveArch: %{rust_arches} - BuildRequires: rust-packaging >= 21 %global _description %{expand: @@ -255,6 +253,18 @@ use the "personality" feature of the "%{crate}" crate. %files -n %{name}+personality-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+pin-utils-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+pin-utils-devel %{_description} + +This package contains library source intended for building other packages which +use the "pin-utils" feature of the "%{crate}" crate. + +%files -n %{name}+pin-utils-devel +%ghost %{crate_instdir}/Cargo.toml + %package -n %{name}+poll-devel Summary: %{summary} BuildArch: noarch @@ -462,8 +472,10 @@ use the "zerocopy" feature of the "%{crate}" crate. %if %{with check} %check -# * skip two tests that don't work in mock environments -%cargo_test -- -- --skip sys::test_socket::test_af_alg_cipher --skip src/sys/socket/mod.rs +# * skip tests that don't work in mock environments +%cargo_test -- -- \ + --skip sys::test_ioctl::linux_ioctls::test_ioctl_write_int \ + --skip test_fcntl::linux_android::test_copy_file_range %endif %changelog diff --git a/sources b/sources index 518dcd0..7f90e7b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (nix-0.24.2.crate) = 9502f899868466165d898b1dee676188e9761cbf7ad7be21e231d6d5c993f109b48edf06b659f547712ccec2d648dcdb689626845ecce22965aad2dfd7ed75ff +SHA512 (nix-0.26.2.crate) = abf2d0a4eb83cd4bd43836e8b533f0f07f07979619c86c11302a2df0800d569f33f0dda0bc2c4136d36c79789d175eaf5d3928ecf16286319aabf93c720a1704