|
|
@ -1,4 +1,4 @@
|
|
|
|
# Generated by rust2rpm 24
|
|
|
|
# Generated by rust2rpm 25
|
|
|
|
# * tests can only be run in-tree
|
|
|
|
# * tests can only be run in-tree
|
|
|
|
%bcond_with check
|
|
|
|
%bcond_with check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
@ -6,7 +6,7 @@
|
|
|
|
%global crate portable-atomic
|
|
|
|
%global crate portable-atomic
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-portable-atomic
|
|
|
|
Name: rust-portable-atomic
|
|
|
|
Version: 1.4.3
|
|
|
|
Version: 1.5.0
|
|
|
|
Release: %autorelease
|
|
|
|
Release: %autorelease
|
|
|
|
Summary: Portable atomic types including support for 128-bit atomics, atomic float, etc
|
|
|
|
Summary: Portable atomic types including support for 128-bit atomics, atomic float, etc
|
|
|
|
|
|
|
|
|
|
|
@ -14,7 +14,7 @@ License: Apache-2.0 OR MIT
|
|
|
|
URL: https://crates.io/crates/portable-atomic
|
|
|
|
URL: https://crates.io/crates/portable-atomic
|
|
|
|
Source: %{crates_source}
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
%global _description %{expand:
|
|
|
|
Portable atomic types including support for 128-bit atomics, atomic
|
|
|
|
Portable atomic types including support for 128-bit atomics, atomic
|
|
|
@ -98,6 +98,18 @@ use the "float" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+float-devel
|
|
|
|
%files -n %{name}+float-devel
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+force-amo-devel
|
|
|
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+force-amo-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
|
|
|
use the "force-amo" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+force-amo-devel
|
|
|
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+require-cas-devel
|
|
|
|
%package -n %{name}+require-cas-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
@ -159,7 +171,7 @@ use the "unsafe-assume-single-core" 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
|
|
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
%generate_buildrequires
|
|
|
|