Initial import (#2244275)

epel9 imports/e9/rust-powerfmt-macros-0.1.0-1.el9
Fabio Valentini 1 year ago
parent 7a1d85d036
commit 298cef3116
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -0,0 +1 @@
/powerfmt-macros-0.1.0.crate

@ -1,3 +0,0 @@
# rust-powerfmt-macros
The rust-powerfmt-macros package

@ -0,0 +1,70 @@
# Generated by rust2rpm 25
%bcond_without check
%global debug_package %{nil}
%global crate powerfmt-macros
Name: rust-powerfmt-macros
Version: 0.1.0
Release: %autorelease
Summary: Procedural macros for powerfmt
License: MIT OR Apache-2.0
URL: https://crates.io/crates/powerfmt-macros
Source: %{crates_source}
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Procedural macros for `powerfmt`. This crate is an implementation
detail and should not be relied upon directly.}
%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-Apache
%license %{crate_instdir}/LICENSE-MIT
%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
%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,2 @@
[package]
summary = "Procedural macros for powerfmt"

@ -0,0 +1 @@
SHA512 (powerfmt-macros-0.1.0.crate) = 5cf1bf1146ef54ad9a89339627a75cc71879ada1bea0f32a75aa597446087a13de7da94f70d95cb56b919ec5798bd95a2c3ac39d1d5ef3b78925e3bc65301b37
Loading…
Cancel
Save