Initial import (#2262293)

epel10
Fabio Valentini 1 year ago
parent 08efd1520d
commit 5590611a47
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -0,0 +1 @@
/rust_decimal_macros-1.34.2.crate

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

@ -0,0 +1,80 @@
# Generated by rust2rpm 25
%bcond_without check
%global debug_package %{nil}
%global crate rust_decimal_macros
Name: rust-rust_decimal_macros
Version: 1.34.2
Release: %autorelease
Summary: Shorthand macros to assist creating Decimal types
License: MIT
URL: https://crates.io/crates/rust_decimal_macros
Source: %{crates_source}
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Shorthand macros to assist creating Decimal types.}
%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
%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}+reexportable-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+reexportable-devel %{_description}
This package contains library source intended for building other packages which
use the "reexportable" feature of the "%{crate}" crate.
%files -n %{name}+reexportable-devel
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version} -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 (rust_decimal_macros-1.34.2.crate) = 8545eba9d3084516091aa1da13ac5199a6d09ae35d73edc15fad5c159a14c5906d95580c7acf7aaf162cbdfbf6d48a8e309471fc928309ea9dfea40cc0796a18
Loading…
Cancel
Save