Initial import (#2213209)

epel9 imports/e9/rust-serdect-0.2.0-1.el9
Fabio Valentini 2 years ago
parent 4ca29c04ed
commit a62fcc6fda
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -0,0 +1 @@
/serdect-0.2.0.crate

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

@ -0,0 +1,96 @@
# Generated by rust2rpm 24
# * missing dev-dependencies: serde-json-core ^0.5
%bcond_with check
%global debug_package %{nil}
%global crate serdect
Name: rust-serdect
Version: 0.2.0
Release: %autorelease
Summary: Constant-time serde serializer/deserializer helpers for data that potentially contains secrets
License: Apache-2.0 OR MIT
URL: https://crates.io/crates/serdect
Source: %{crates_source}
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Constant-time serde serializer/deserializer helpers for data that
potentially contains secrets (e.g. cryptographic keys).}
%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}/CHANGELOG.md
%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}+alloc-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+alloc-devel %{_description}
This package contains library source intended for building other packages which
use the "alloc" feature of the "%{crate}" crate.
%files -n %{name}+alloc-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+zeroize-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+zeroize-devel %{_description}
This package contains library source intended for building other packages which
use the "zeroize" feature of the "%{crate}" crate.
%files -n %{name}+zeroize-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,2 @@
[DEFAULT]
summary = Constant-time serializer/deserializer helpers for serde

@ -0,0 +1 @@
SHA512 (serdect-0.2.0.crate) = b96d631dae093e9852c2c71efd4fcf6f183e72817cb60944bfe7c90281e8e25b4167c3c71c7184bf8a42c23fade704b28c30d03d429cfd028d8a75eed4e2e0e6
Loading…
Cancel
Save