Initial import (ptr_meta_derive 0.1 compat package)

epel10 imports/epel10/rust-ptr_meta_derive0.1-0.1.4-1.el10
Fabio Valentini 3 months ago
parent 6a10d57925
commit 26dd5b1892
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

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

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

@ -0,0 +1,67 @@
# Generated by rust2rpm 26
%bcond_without check
%global debug_package %{nil}
%global crate ptr_meta_derive
Name: rust-ptr_meta_derive0.1
Version: 0.1.4
Release: %autorelease
Summary: Macros for ptr_meta
License: MIT
URL: https://crates.io/crates/ptr_meta_derive
Source: %{crates_source}
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Macros for ptr_meta.}
%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
%{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
%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_derive-0.1.4.crate) = 15a72b2c36e9d1761c4dd42cee1623c2d85c52eadc3c3102c8334c14c9c5db9a43d74dbbab1d14a2600d789917fcb5bc2652877b172aaa02c37a6868462ff20e
Loading…
Cancel
Save