Initial import (memoffset 0.6 compat package)

epel9 imports/e9/rust-memoffset0.6-0.6.5-1.el9
Fabio Valentini 2 years ago
parent 2dd8762115
commit d92e285747
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -0,0 +1 @@
/memoffset-0.6.5.crate

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

@ -0,0 +1,80 @@
# Generated by rust2rpm 23
%bcond_without check
%global debug_package %{nil}
%global crate memoffset
Name: rust-memoffset0.6
Version: 0.6.5
Release: %autorelease
Summary: Offset_of functionality for Rust structs
License: MIT
URL: https://crates.io/crates/memoffset
Source: %{crates_source}
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Offset_of functionality for Rust structs.}
%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
%package -n %{name}+unstable_const-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+unstable_const-devel %{_description}
This package contains library source intended for building other packages which
use the "unstable_const" feature of the "%{crate}" crate.
%files -n %{name}+unstable_const-devel
%ghost %{crate_instdir}/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 (memoffset-0.6.5.crate) = 11bdd9185b99dfee8e659e051b09ee301c7142a372a8117864745a5085c015436d2efbb1478192886f09cbc562529e209d2e3325d94938a64bc75b1d91d2bf3f
Loading…
Cancel
Save