Initial import (#2245087)

epel9 imports/e9/rust-sval_derive_macros-2.10.2-1.el9
Fabio Valentini 1 year ago
parent 859b70d582
commit 322fa666b7
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -0,0 +1 @@
/sval_derive_macros-2.10.2.crate

@ -1,3 +0,0 @@
# rust-sval_derive_macros
The rust-sval_derive_macros package

@ -0,0 +1,81 @@
# Generated by rust2rpm 25
%bcond_without check
%global debug_package %{nil}
%global crate sval_derive_macros
Name: rust-sval_derive_macros
Version: 2.10.2
Release: %autorelease
Summary: Minimal derive support for sval
License: Apache-2.0 OR MIT
URL: https://crates.io/crates/sval_derive_macros
Source: %{crates_source}
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Minimal derive support for `sval`.}
%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
%package -n %{name}+flatten-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+flatten-devel %{_description}
This package contains library source intended for building other packages which
use the "flatten" feature of the "%{crate}" crate.
%files -n %{name}+flatten-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 (sval_derive_macros-2.10.2.crate) = 51c15ac60c72af32d4f58826b7efb6e4a47c355bc721d7e196ae74d5a3e97718fff4ce96a251b2c1970d68954169212f8f01620eee126ed349bedb0f21943eaf
Loading…
Cancel
Save