import rust-bytecheck0.6-0.6.12-1.el10

i10ce changed/i10ce/rust-bytecheck0.6-0.6.12-1.el10
MSVSphere Packaging Team 2 months ago
commit 7407f3b825
Signed by: sys_gitsync
GPG Key ID: B2B0B9F29E528FE8

1
.gitignore vendored

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

@ -0,0 +1 @@
52fd03fdb0efac6686e71c2e3ba8d74aded1baad SOURCES/bytecheck-0.6.12.crate

@ -0,0 +1,135 @@
## START: Set by rpmautospec
## (rpmautospec version 0.7.3)
## RPMAUTOSPEC: autorelease, autochangelog
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
release_number = 1;
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
print(release_number + base_release_number - 1);
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
## END: Set by rpmautospec
# 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
* Fri Dec 20 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 0.6.12-1
- Rebuilt for MSVSphere 10
## START: Generated by rpmautospec
* Tue Oct 08 2024 Fabio Valentini <decathorpe@gmail.com> - 0.6.12-1
- Initial import (bytecheck 0.6 compat package)
## END: Generated by rpmautospec
Loading…
Cancel
Save