Initial import (bytecheck_derive 0.6 compat package)

epel10 imports/epel10/rust-bytecheck_derive0.6-0.6.12-1.el10
Fabio Valentini 4 months ago
parent 6cf196c12e
commit 0cf2e56abd
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -0,0 +1 @@
/bytecheck_derive-0.6.12.crate

@ -1,3 +0,0 @@
# rust-bytecheck_derive0.6
The rust-bytecheck_derive0.6 package

@ -0,0 +1,79 @@
# Generated by rust2rpm 26
%bcond_without check
%global debug_package %{nil}
%global crate bytecheck_derive
Name: rust-bytecheck_derive0.6
Version: 0.6.12
Release: %autorelease
Summary: Derive macro for bytecheck
License: MIT
URL: https://crates.io/crates/bytecheck_derive
Source: %{crates_source}
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Derive macro for bytecheck.}
%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
%{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
%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 %{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 (bytecheck_derive-0.6.12.crate) = 57f8480ddb76d8620095962acd203231fb7938c0caf9c216d89466f22464a6970f13adca5f4d5b10c9e1ec99d6e0b260ba7586c2bb895fad0380f8f9ac9a4fc8
Loading…
Cancel
Save