Initial import (fedora#2005925).

epel9
Jan Baudisch 3 years ago
parent e842fc840c
commit f8ec7618e7
No known key found for this signature in database
GPG Key ID: F2233E7216A55A85

1
.gitignore vendored

@ -0,0 +1 @@
/atomic-0.5.1.crate

@ -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

@ -0,0 +1 @@
SHA512 (atomic-0.5.1.crate) = d9983a39da849a9852237eb00e727fee10b30b15b2e75f6c7e091a2fbadd289c688744997ae1ea933f1541cf867b7df3531870e7628ae9ef75fc7a78dccc9bd4
Loading…
Cancel
Save