Initial import (ptr_meta 0.1 compat package)

epel10 imports/epel10/rust-ptr_meta0.1-0.1.4-1.el10
Fabio Valentini 4 months ago
parent b9e747e7de
commit a953539f11
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -0,0 +1 @@
/ptr_meta-0.1.4.crate

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

@ -0,0 +1,81 @@
# Generated by rust2rpm 26
%bcond_without check
%global debug_package %{nil}
%global crate ptr_meta
Name: rust-ptr_meta0.1
Version: 0.1.4
Release: %autorelease
Summary: Radioactive stabilization of the ptr_meta rfc
License: MIT
URL: https://crates.io/crates/ptr_meta
Source: %{crates_source}
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
A radioactive stabilization of the ptr_meta rfc.}
%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}+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 (ptr_meta-0.1.4.crate) = 9936264dd52ae40e6afc8cef8914dbdc5767f397b91ea965d65275fe547a2d9cde7ccdcf908f787e25f84fbc23a2e30df895793fca308e09f48f2adf2e30d2bf
Loading…
Cancel
Save