Compare commits

..

No commits in common. 'i10ce' and 'epel9' have entirely different histories.
i10ce ... epel9

3
.gitignore vendored

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

@ -1 +0,0 @@
9ec0f9ca0306717224f1d7bb2f52495b3009e87e SOURCES/bigdecimal-0.4.7.crate

@ -1,19 +0,0 @@
--- bigdecimal-0.4.7/Cargo.toml 1970-01-01T00:00:01+00:00
+++ bigdecimal-0.4.7/Cargo.toml 2024-12-09T19:44:27.136438+00:00
@@ -37,6 +37,7 @@
]
license = "MIT/Apache-2.0"
repository = "https://github.com/akubera/bigdecimal-rs"
+exclude = ["/scripts/"]
[lib]
name = "bigdecimal"
@@ -92,7 +93,7 @@
version = "1"
[dev-dependencies.serde_test]
-version = "<1.0.176"
+version = "1.0"
[dev-dependencies.siphasher]
version = "0.3.10"

@ -1,6 +0,0 @@
[package]
cargo-toml-patch-comments = [
"relax serde_test dev-dependency to allow building with version >=1.0.176",
"exclude files that are only useful for upstream development",
]

@ -1,190 +0,0 @@
## START: Set by rpmautospec
## (rpmautospec version 0.7.3)
## 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 27
%bcond check 1
%global debug_package %{nil}
%global crate bigdecimal
Name: rust-bigdecimal
Version: 0.4.7
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_test dev-dependency to allow building with version >=1.0.176
# * 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}+serde-json-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+serde-json-devel %{_description}
This package contains library source intended for building other packages which
use the "serde-json" feature of the "%{crate}" crate.
%files -n %{name}+serde-json-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+serde_json-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+serde_json-devel %{_description}
This package contains library source intended for building other packages which
use the "serde_json" feature of the "%{crate}" crate.
%files -n %{name}+serde_json-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
* Fri Dec 20 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 0.4.7-1
- Rebuilt for MSVSphere 10
## START: Generated by rpmautospec
* Mon Dec 09 2024 Fabio Valentini <decathorpe@gmail.com> - 0.4.7-1
- Update to version 0.4.7; Fixes RHBZ#2331060
* Wed Oct 30 2024 Fabio Valentini <decathorpe@gmail.com> - 0.4.6-1
- Update to version 0.4.6; Fixes RHBZ#2322093
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Mon Jun 17 2024 Fabio Valentini <decathorpe@gmail.com> - 0.4.5-1
- Update to version 0.4.5
* Sun Jun 16 2024 Fabio Valentini <decathorpe@gmail.com> - 0.4.4-2
- Relax some dependencies to allow newer versions
* Sun Jun 16 2024 Fabio Valentini <decathorpe@gmail.com> - 0.4.4-1
- Update to version 0.4.4; Fixes RHBZ#2292499
* Tue Mar 05 2024 Fabio Valentini <decathorpe@gmail.com> - 0.4.3-1
- Update to version 0.4.3; Fixes RHBZ#2267868
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* 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
## END: Generated by rpmautospec

@ -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,111 @@
# 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
%autochangelog

@ -0,0 +1 @@
SHA512 (bigdecimal-0.4.2.crate) = 8d788e7be59e121a40b1f348499c458b86b6b96fc58ad2ed2d6d49acb353c46eb2486efba92bf4e047a9a4c036ec48159b380483aa87c999915c93b910c26355
Loading…
Cancel
Save