|
|
|
@ -1,18 +1,18 @@
|
|
|
|
|
# Generated by rust2rpm 24
|
|
|
|
|
# Generated by rust2rpm 25
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate uuid
|
|
|
|
|
|
|
|
|
|
Name: rust-uuid
|
|
|
|
|
Version: 1.4.1
|
|
|
|
|
Version: 1.5.0
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
Summary: Library to generate and parse UUIDs
|
|
|
|
|
|
|
|
|
|
License: Apache-2.0 OR MIT
|
|
|
|
|
URL: https://crates.io/crates/uuid
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
# Automatically generated patch to strip foreign dependencies
|
|
|
|
|
# Automatically generated patch to strip dependencies and normalize metadata
|
|
|
|
|
Patch: uuid-fix-metadata-auto.diff
|
|
|
|
|
# Manually created patch for downstream crate metadata changes
|
|
|
|
|
# * drop unused optional dependency for borsh support
|
|
|
|
@ -20,7 +20,7 @@ Patch: uuid-fix-metadata-auto.diff
|
|
|
|
|
# * drop internal-only features
|
|
|
|
|
Patch: uuid-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
A library to generate and parse UUIDs.}
|
|
|
|
@ -82,6 +82,18 @@ use the "atomic" feature of the "%{crate}" crate.
|
|
|
|
|
%files -n %{name}+atomic-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+bytemuck-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+bytemuck-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "bytemuck" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+bytemuck-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+fast-rng-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
@ -299,7 +311,7 @@ use the "v8" feature of the "%{crate}" crate.
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|