|
|
@ -1,11 +1,11 @@
|
|
|
|
# Generated by rust2rpm 16
|
|
|
|
# Generated by rust2rpm 18
|
|
|
|
%bcond_without check
|
|
|
|
%bcond_without check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
%global crate nix
|
|
|
|
%global crate nix
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 0.20.0
|
|
|
|
Version: 0.22.0
|
|
|
|
Release: %autorelease
|
|
|
|
Release: %autorelease
|
|
|
|
Summary: Rust friendly bindings to *nix APIs
|
|
|
|
Summary: Rust friendly bindings to *nix APIs
|
|
|
|
|
|
|
|
|
|
|
@ -14,7 +14,7 @@ License: MIT
|
|
|
|
URL: https://crates.io/crates/nix
|
|
|
|
URL: https://crates.io/crates/nix
|
|
|
|
Source: %{crates_source}
|
|
|
|
Source: %{crates_source}
|
|
|
|
# Initial patched metadata
|
|
|
|
# Initial patched metadata
|
|
|
|
# * No dragonfly/freebsd
|
|
|
|
# * drop DragonflyBSD/FreeBSD-specific dependencies
|
|
|
|
Patch0: nix-fix-metadata.diff
|
|
|
|
Patch0: nix-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
@ -40,7 +40,7 @@ which use "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
|
%license LICENSE
|
|
|
|
%license LICENSE
|
|
|
|
%doc CHANGELOG.md CONTRIBUTING.md CONVENTIONS.md README.md
|
|
|
|
%doc README.md CONVENTIONS.md CONTRIBUTING.md CHANGELOG.md
|
|
|
|
%{cargo_registry}/%{crate}-%{version_no_tilde}/
|
|
|
|
%{cargo_registry}/%{crate}-%{version_no_tilde}/
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+default-devel
|
|
|
|
%package -n %{name}+default-devel
|
|
|
@ -70,8 +70,8 @@ which use "default" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with check}
|
|
|
|
%if %{with check}
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
# Testing parts are not distributed
|
|
|
|
# skip a test that tends to hang in systemd-nspawn environments
|
|
|
|
%cargo_test -- --doc
|
|
|
|
%cargo_test -- -- --skip sys::test_socket::test_af_alg_aead
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|