Initial import (#2183334)

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

1
.gitignore vendored

@ -0,0 +1 @@
/toml_datetime-0.6.1.crate

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

@ -0,0 +1,81 @@
# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate toml_datetime
Name: rust-toml_datetime
Version: 0.6.1
Release: %autorelease
Summary: TOML-compatible datetime type
License: MIT OR Apache-2.0
URL: https://crates.io/crates/toml_datetime
Source: %{crates_source}
BuildRequires: rust-packaging >= 21
%global _description %{expand:
A TOML-compatible datetime type.}
%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
%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 the "serde" feature of the "%{crate}" crate.
%files -n %{name}+serde-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 (toml_datetime-0.6.1.crate) = 024fc32f5c3b8efa764bc3fc59af710627513ba2e536f01f227d36661eaee099ed78320ea65b15a15e39c0fc30ff2b44c501f96d5a2618034daeb290524694e0
Loading…
Cancel
Save