Initial import; Fixes: RHBZ#2105872

epel9 imports/e9/rust-konst_proc_macros-0.2.11-1.el9
Davide Cavalca 2 years ago
parent 23df496667
commit 7cf7a709a0

1
.gitignore vendored

@ -0,0 +1 @@
/konst_proc_macros-0.2.11.crate

@ -0,0 +1,70 @@
# Generated by rust2rpm 21
%bcond_without check
%global debug_package %{nil}
%global crate konst_proc_macros
Name: rust-%{crate}
Version: 0.2.11
Release: %autorelease
Summary: Implementation detail of the konst crate
# Upstream license specification: Zlib
License: zlib
URL: https://crates.io/crates/konst_proc_macros
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Implementation detail of the konst crate.}
%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-ZLIB.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_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 (konst_proc_macros-0.2.11.crate) = d859b6ed34a54bf26ef2e82779e6b9661ddcfcdab0a18ac45e51cc8332c2ee04561f71942f7f39e07ca08814cce0b5cfbf35f859b27f7843f1612f43fa698a2d
Loading…
Cancel
Save