Tomas Hrcka 1 year ago
parent d9379850f0
commit 1fb423baaf

1
.gitignore vendored

@ -0,0 +1 @@
/bigdecimal-0.3.0.crate

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

@ -1 +0,0 @@
unused leaf package for more than two release cycles

@ -0,0 +1,95 @@
# Generated by rust2rpm 20
%bcond_without check
%global debug_package %{nil}
%global crate bigdecimal
Name: rust-%{crate}
Version: 0.3.0
Release: %autorelease
Summary: Arbitrary precision decimal numbers
# Upstream license specification: MIT/Apache-2.0
License: MIT or ASL 2.0
URL: https://crates.io/crates/bigdecimal
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
%global _description %{expand:
Arbitrary precision decimal numbers.}
%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 COPYRIGHT LICENSE-APACHE LICENSE-MIT
%doc README.rst
%{cargo_registry}/%{crate}-%{version_no_tilde}/
%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 %{cargo_registry}/%{crate}-%{version_no_tilde}/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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+string-only-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+string-only-devel %{_description}
This package contains library source intended for building other packages which
use the "string-only" feature of the "%{crate}" crate.
%files -n %{name}+string-only-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 (bigdecimal-0.3.0.crate) = 3a55f6ab1450974fe58dac268019fa7f76b0dee131ed66f5c5529ea28da5d9e7d11579585f28c0d3d45a6456992cdeee81df524c0c7bcc5c3dc86b26d4f12981
Loading…
Cancel
Save