Initial import (memoffset 0.7 compat package)

epel9 imports/e9/rust-memoffset0.7-0.7.1-1.el9
Fabio Valentini 2 years ago
parent e2a1375e6b
commit 93c3b28f42
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

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

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

@ -0,0 +1,80 @@
# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate memoffset
Name: rust-memoffset0.7
Version: 0.7.1
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.7.1.crate) = 40ca3c4b1fb929bec75bfcde0135037f81a6c5aa80181bc7dd7bbcd9c0946288eea8d23fca95e296567ccb02155ed0f66c7c23644b5cb3e6d3932be9f9742157
Loading…
Cancel
Save