Initial import

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 6 years ago
parent 058154c507
commit 747e6df8e3
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

1
.gitignore vendored

@ -0,0 +1 @@
/sval-0.4.3.crate

@ -0,0 +1,198 @@
# Generated by rust2rpm 10
%bcond_without check
%global debug_package %{nil}
%global crate sval
Name: rust-%{crate}
Version: 0.4.3
Release: 1%{?dist}
Summary: No-std, object-safe serialization framework
# Upstream license specification: Apache-2.0 OR MIT
License: ASL 2.0 or MIT
URL: https://crates.io/crates/sval
Source: %{crates_source}
# Initial patched metadata
# * Exclude CI files, https://github.com/sval-rs/sval/pull/62
Patch0: sval-fix-metadata.diff
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%global _description %{expand:
No-std, object-safe serialization framework.}
%description %{_description}
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages
which use "%{crate}" crate.
%files devel
%license LICENSE-MIT LICENSE-APACHE
%doc README.md
%{cargo_registry}/%{crate}-%{version}/
%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 "default" feature of "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+arbitrary-depth-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+arbitrary-depth-devel %{_description}
This package contains library source intended for building other packages
which use "arbitrary-depth" feature of "%{crate}" crate.
%files -n %{name}+arbitrary-depth-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+derive-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+derive-devel %{_description}
This package contains library source intended for building other packages
which use "derive" feature of "%{crate}" crate.
%files -n %{name}+derive-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+fmt-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+fmt-devel %{_description}
This package contains library source intended for building other packages
which use "fmt" feature of "%{crate}" crate.
%files -n %{name}+fmt-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+serde-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+serde-devel %{_description}
This package contains library source intended for building other packages
which use "serde" feature of "%{crate}" crate.
%files -n %{name}+serde-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+serde_no_std-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+serde_no_std-devel %{_description}
This package contains library source intended for building other packages
which use "serde_no_std" feature of "%{crate}" crate.
%files -n %{name}+serde_no_std-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+serde_std-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+serde_std-devel %{_description}
This package contains library source intended for building other packages
which use "serde_std" feature of "%{crate}" crate.
%files -n %{name}+serde_std-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+smallvec-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+smallvec-devel %{_description}
This package contains library source intended for building other packages
which use "smallvec" feature of "%{crate}" crate.
%files -n %{name}+smallvec-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+std-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+std-devel %{_description}
This package contains library source intended for building other packages
which use "std" feature of "%{crate}" crate.
%files -n %{name}+std-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+sval_derive-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+sval_derive-devel %{_description}
This package contains library source intended for building other packages
which use "sval_derive" feature of "%{crate}" crate.
%files -n %{name}+sval_derive-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+test-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+test-devel %{_description}
This package contains library source intended for building other packages
which use "test" feature of "%{crate}" crate.
%files -n %{name}+test-devel
%ghost %{cargo_registry}/%{crate}-%{version}/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
* Mon Jul 29 06:59:59 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.3-1
- Initial package

@ -0,0 +1 @@
SHA512 (sval-0.4.3.crate) = 648593b7fbe99b5bd90e254ad1517998698f1b3cf12dfc5f202e613eded3a689d9b830b29aa2d4924bdf4588257a46120c276ed54dc4e0355999c3e539487bcb

@ -0,0 +1,11 @@
--- sval-0.4.3/Cargo.toml 1970-01-01T00:00:00+00:00
+++ sval-0.4.3/Cargo.toml 2019-07-29T04:59:59.668117+00:00
@@ -15,7 +15,7 @@
name = "sval"
version = "0.4.3"
authors = ["Ashley Mannix <ashleymannix@live.com.au>"]
-exclude = [".travis.yml"]
+exclude = [".travis.yml", "ci/*"]
description = "A no-std, object-safe serialization framework"
documentation = "https://docs.rs/sval"
readme = "README.md"

@ -0,0 +1,5 @@
---
standard-inventory-qcow2:
qemu:
# `cargo test` usually eats more than 1G.
m: 4G

@ -0,0 +1,13 @@
---
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
repositories:
- repo: "https://src.fedoraproject.org/tests/rust.git"
dest: rust
tests:
- rust/cargo-test
environment:
pkg: rust-sval
Loading…
Cancel
Save