Update to version 0.4.2

epel9 imports/e9/rust-bigdecimal-0.4.2-1.el9
Fabio Valentini 1 year ago
parent 1fb423baaf
commit b2dfe4d4f1
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -1 +1,2 @@
/bigdecimal-0.3.0.crate
/bigdecimal-0.4.2.crate

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

@ -0,0 +1,19 @@
--- bigdecimal-0.4.2/Cargo.toml 1970-01-01T00:00:01+00:00
+++ bigdecimal-0.4.2/Cargo.toml 2023-11-01T12:54:02.751431+00:00
@@ -31,6 +31,7 @@
]
license = "MIT/Apache-2.0"
repository = "https://github.com/akubera/bigdecimal-rs"
+exclude = ["/scripts/"]
[lib]
bench = false
@@ -59,7 +60,7 @@
version = "1"
[dev-dependencies.serde_json]
-version = "<1.0.101"
+version = "1.0.101"
[dev-dependencies.siphasher]
version = "0.3.10"

@ -1,22 +1,24 @@
# Generated by rust2rpm 20
# Generated by rust2rpm 25
%bcond_without check
%global debug_package %{nil}
%global crate bigdecimal
Name: rust-%{crate}
Version: 0.3.0
Name: rust-bigdecimal
Version: 0.4.2
Release: %autorelease
Summary: Arbitrary precision decimal numbers
# Upstream license specification: MIT/Apache-2.0
License: MIT or ASL 2.0
License: MIT OR Apache-2.0
URL: https://crates.io/crates/bigdecimal
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * relax serde dev-dependency to allow newer versions
# * exclude files that are only useful for upstream development
Patch: bigdecimal-fix-metadata.diff
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Arbitrary precision decimal numbers.}
@ -33,9 +35,11 @@ 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}/
%license %{crate_instdir}/COPYRIGHT
%license %{crate_instdir}/LICENSE-APACHE
%license %{crate_instdir}/LICENSE-MIT
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@ -47,7 +51,7 @@ 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
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+serde-devel
Summary: %{summary}
@ -59,7 +63,19 @@ 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
%ghost %{crate_instdir}/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 the "std" feature of the "%{crate}" crate.
%files -n %{name}+std-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+string-only-devel
Summary: %{summary}
@ -71,10 +87,10 @@ 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
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%autosetup -n %{crate}-%{version} -p1
%cargo_prep
%generate_buildrequires

@ -1 +1 @@
SHA512 (bigdecimal-0.3.0.crate) = 3a55f6ab1450974fe58dac268019fa7f76b0dee131ed66f5c5529ea28da5d9e7d11579585f28c0d3d45a6456992cdeee81df524c0c7bcc5c3dc86b26d4f12981
SHA512 (bigdecimal-0.4.2.crate) = 8d788e7be59e121a40b1f348499c458b86b6b96fc58ad2ed2d6d49acb353c46eb2486efba92bf4e047a9a4c036ec48159b380483aa87c999915c93b910c26355

Loading…
Cancel
Save