Notification time stamped 2023-02-28 21:32:30 UTC
From f8ec7618e77d1841e5f1d892d53329bec2cbb25a Mon Sep 17 00:00:00 2001
From: Jan Baudisch <jan(a)baudisch.xyz>
Date: Feb 12 2022 11:35:47 +0000
Subject: Initial import (fedora#2005925).
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..f3e7f5f
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/atomic-0.5.1.crate
diff --git a/rust-atomic.spec b/rust-atomic.spec
new file mode 100644
index 0000000..e4138ce
--- /dev/null
+++ b/rust-atomic.spec
@@ -0,0 +1,95 @@
+# Generated by rust2rpm 20
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate atomic
+
+Name: rust-%{crate}
+Version: 0.5.1
+Release: %autorelease
+Summary: Generic Atomic<T> wrapper type
+
+# Upstream license specification: Apache-2.0/MIT
+License: ASL 2.0 or MIT
+URL:
https://crates.io/crates/atomic
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Generic Atomic<T> wrapper type.}
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "%{crate}" crate.
+
+%files devel
+%license LICENSE-APACHE LICENSE-MIT
+%doc README.md
+%{cargo_registry}/%{crate}-%{version_no_tilde}/
+
+%package -n %{name}+default-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+default-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "default" feature of the "%{crate}" crate.
+
+%files -n %{name}+default-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+fallback-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+fallback-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "fallback" feature of the "%{crate}" crate.
+
+%files -n %{name}+fallback-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+std-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+std-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "std" feature of the "%{crate}" crate.
+
+%files -n %{name}+std-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+%autochangelog
diff --git a/sources b/sources
new file mode 100644
index 0000000..04fc5c3
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (atomic-0.5.1.crate) =
d9983a39da849a9852237eb00e727fee10b30b15b2e75f6c7e091a2fbadd289c688744997ae1ea933f1541cf867b7df3531870e7628ae9ef75fc7a78dccc9bd4
https://src.fedoraproject.org/rpms/rust-atomic/c/f8ec7618e77d1841e5f1d892...