|
|
@ -1,18 +1,18 @@
|
|
|
|
# Generated by rust2rpm 24
|
|
|
|
# Generated by rust2rpm 25
|
|
|
|
%bcond_without check
|
|
|
|
%bcond_without check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
%global crate rustix
|
|
|
|
%global crate rustix
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-rustix0.37
|
|
|
|
Name: rust-rustix0.37
|
|
|
|
Version: 0.37.23
|
|
|
|
Version: 0.37.26
|
|
|
|
Release: %autorelease
|
|
|
|
Release: %autorelease
|
|
|
|
Summary: Safe Rust bindings to POSIX/Unix/Linux/Winsock2-like syscalls
|
|
|
|
Summary: Safe Rust bindings to POSIX/Unix/Linux/Winsock2-like syscalls
|
|
|
|
|
|
|
|
|
|
|
|
License: Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT
|
|
|
|
License: Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT
|
|
|
|
URL: https://crates.io/crates/rustix
|
|
|
|
URL: https://crates.io/crates/rustix
|
|
|
|
Source: %{crates_source}
|
|
|
|
Source: %{crates_source}
|
|
|
|
# Automatically generated patch to strip foreign dependencies
|
|
|
|
# Automatically generated patch to strip dependencies and normalize metadata
|
|
|
|
Patch: rustix-fix-metadata-auto.diff
|
|
|
|
Patch: rustix-fix-metadata-auto.diff
|
|
|
|
# Manually created patch for downstream crate metadata changes
|
|
|
|
# Manually created patch for downstream crate metadata changes
|
|
|
|
# * drop dependencies on compiler internals
|
|
|
|
# * drop dependencies on compiler internals
|
|
|
@ -21,7 +21,7 @@ Patch: rustix-fix-metadata.diff
|
|
|
|
# * unconditionally rebuild static objects from Assembly
|
|
|
|
# * unconditionally rebuild static objects from Assembly
|
|
|
|
Patch: 0001-Unconditionally-compile-C-Assembly-code-from-source.patch
|
|
|
|
Patch: 0001-Unconditionally-compile-C-Assembly-code-from-source.patch
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
%global _description %{expand:
|
|
|
|
Safe Rust bindings to POSIX/Unix/Linux/Winsock2-like syscalls.}
|
|
|
|
Safe Rust bindings to POSIX/Unix/Linux/Winsock2-like syscalls.}
|
|
|
@ -398,7 +398,7 @@ use the "use-libc-auxv" feature of the "%{crate}" crate.
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
%cargo_prep
|
|
|
|
%cargo_prep
|
|
|
|
# Remove pre-built binaries
|
|
|
|
# Remove pre-built binaries
|
|
|
|
rm -r src/backend/linux_raw/arch/outline/debug/
|
|
|
|
rm -r src/backend/linux_raw/arch/outline/debug/
|
|
|
|