Initial import (#2247955)

epel9 imports/e9/rust-cvt-0.1.2-1.el9
Fabio Valentini 1 year ago
parent 04e2976621
commit 9a1bf57386
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -0,0 +1 @@
/cvt-0.1.2.crate

@ -1,3 +0,0 @@
# rust-cvt
The rust-cvt package

@ -0,0 +1,68 @@
# Generated by rust2rpm 25
%bcond_without check
%global debug_package %{nil}
%global crate cvt
Name: rust-cvt
Version: 0.1.2
Release: %autorelease
Summary: Expose the cvt function from Rust libstd
License: Apache-2.0
URL: https://crates.io/crates/cvt
Source: %{crates_source}
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Expose the cvt function from Rust libstd.}
%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 %{crate_instdir}/LICENSE
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%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 %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version} -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 (cvt-0.1.2.crate) = 88c5030e88ac367259017b3dd4940079b29c568343b922280eb0c558fe98c5d57b165008491d8cef0534c8f54e60e4179ce08ec5b01dc0fbc42db68c3527218d
Loading…
Cancel
Save