Initial import (bytecheck 0.6 compat package)

epel10 imports/epel10/rust-bytecheck0.6-0.6.12-1.el10
Fabio Valentini 4 months ago
parent 18eaf7be1d
commit 30ce69c1c4
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

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

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

@ -0,0 +1,119 @@
# Generated by rust2rpm 26
%bcond_without check
%global debug_package %{nil}
%global crate bytecheck
Name: rust-bytecheck0.6
Version: 0.6.12
Release: %autorelease
Summary: Derive macro for bytecheck
License: MIT
URL: https://crates.io/crates/bytecheck
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
%doc %{crate_instdir}/README.md
%doc %{crate_instdir}/crates-io.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
%package -n %{name}+simdutf8-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+simdutf8-devel %{_description}
This package contains library source intended for building other packages which
use the "simdutf8" feature of the "%{crate}" crate.
%files -n %{name}+simdutf8-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
%package -n %{name}+uuid-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+uuid-devel %{_description}
This package contains library source intended for building other packages which
use the "uuid" feature of the "%{crate}" crate.
%files -n %{name}+uuid-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+verbose-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+verbose-devel %{_description}
This package contains library source intended for building other packages which
use the "verbose" feature of the "%{crate}" crate.
%files -n %{name}+verbose-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
# * skip tests that fail with Rust 1.71:
# https://github.com/rkyv/bytecheck/issues/32
%cargo_test -- -- --skip "src/lib.rs"
%endif
%changelog
%autochangelog

@ -0,0 +1 @@
SHA512 (bytecheck-0.6.12.crate) = 49a85f9bbfe8bccceffcd94e3eac1f4407d93159358428ea07652714e06e97fbcb41f22f72d9d10318bc9a019be8afc99727764162f18e8de01ea4069f44dda6
Loading…
Cancel
Save