Initial import (#2246011)

epel9 imports/e9/rust-schemars_derive-0.8.16-1.el9
Fabio Valentini 1 year ago
parent 04789975c2
commit 9e62cf090e
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -0,0 +1 @@
/schemars_derive-0.8.16.crate

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

@ -0,0 +1,68 @@
# Generated by rust2rpm 25
%bcond_without check
%global debug_package %{nil}
%global crate schemars_derive
Name: rust-schemars_derive
Version: 0.8.16
Release: %autorelease
Summary: Macros for #[derive(JsonSchema)], for use with schemars
License: MIT
URL: https://crates.io/crates/schemars_derive
Source: %{crates_source}
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Macros for #[derive(JsonSchema)], for use with schemars.}
%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
%{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 (schemars_derive-0.8.16.crate) = 000554c30ea0b8d50752244204d3eeaa76f8b96c9e22f3a40df840cb68308dc94ac072c52fbc8cf25658af88011a69a5fc1b9ebe910c20253a8f5a1162601f46
Loading…
Cancel
Save