import rust-bigdecimal-0.4.2-1.el9

i9ce changed/i9ce/rust-bigdecimal-0.4.2-1.el9
Arkady L. Shane 1 year ago
commit f1107b6d5b
Signed by: tigro
GPG Key ID: 1EC08A25C9DB2503

Binary file not shown.

@ -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"

@ -0,0 +1,140 @@
## START: Set by rpmautospec
## (rpmautospec version 0.3.5)
## RPMAUTOSPEC: autorelease, autochangelog
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
release_number = 1;
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
print(release_number + base_release_number - 1);
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
## END: Set by rpmautospec
# Generated by rust2rpm 25
%bcond_without check
%global debug_package %{nil}
%global crate bigdecimal
Name: rust-bigdecimal
Version: 0.4.2
Release: %autorelease
Summary: Arbitrary precision decimal numbers
# Upstream license specification: MIT/Apache-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
BuildRequires: cargo-rpm-macros >= 24
%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 %{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}
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
%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}
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 %{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
* Mon Jan 15 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.4.2-1
- Rebuilt for MSVSphere 9.3
* Mon Nov 06 2023 Fabio Valentini <decathorpe@gmail.com> - 0.4.2-1
- Update to version 0.4.2
* Mon Nov 06 2023 Tomas Hrcka <thrcka@redhat.com> - 0.3.0-5
- Unretirement request: https://pagure.io/releng/issue/11756
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Mon Jan 10 2022 Michel Alexandre Salim <salimma@fedoraproject.org> - 0.3.0-1
- Initial Fedora package
Loading…
Cancel
Save