Initial import (#2180444)

epel9
Fabio Valentini 2 years ago
parent bef77a5445
commit cb46607884
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -0,0 +1 @@
/basic-toml-0.1.2.crate

@ -1,3 +0,0 @@
# rust-basic-toml
The rust-basic-toml package

@ -0,0 +1,69 @@
# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate basic-toml
Name: rust-basic-toml
Version: 0.1.2
Release: %autorelease
Summary: Minimal TOML library with few dependencies
License: MIT OR Apache-2.0
URL: https://crates.io/crates/basic-toml
Source: %{crates_source}
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Minimal TOML library with few dependencies.}
%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 (basic-toml-0.1.2.crate) = b4f728fbd9e77826c76cefd4756329a7139d6557bde923d153bf0723481820d96269799cf3f04db3638fc12f99201601a96c8400960925f593760d6963f66af5
Loading…
Cancel
Save