Initial import (serde_yaml 0.8 compat package)

epel9 imports/e9/rust-serde_yaml0.8-0.8.26-1.el9
Fabio Valentini 2 years ago
parent 0817ab7f02
commit e6276bc552
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

4
.gitignore vendored

@ -0,0 +1,4 @@
/results_*/
/*.src.rpm
/serde_yaml-0.8.26.crate

@ -1,3 +0,0 @@
# rust-serde_yaml0.8
The rust-serde_yaml0.8 package

@ -0,0 +1,71 @@
# Generated by rust2rpm 22
%bcond_without check
%global debug_package %{nil}
%global crate serde_yaml
Name: rust-serde_yaml0.8
Version: 0.8.26
Release: %autorelease
Summary: YAML support for Serde
License: MIT OR Apache-2.0
URL: https://crates.io/crates/serde_yaml
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging >= 21
%global _description %{expand:
YAML support for Serde.}
%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_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 (serde_yaml-0.8.26.crate) = f6bde42539fe35dcb09fd506149c564f2056102f15ce275034b33c40ae666e22d6beaecfed8a0048704547f153fe13d52b8b305c95a61007784ee42f6a8372dd
Loading…
Cancel
Save