From 5c083a6608df34a459242a78a32bb97ccae03bcf Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Wed, 12 Feb 2025 01:55:04 +0300 Subject: [PATCH] import rust-rand_pcg-0.9.0-1.el10 --- .gitignore | 2 +- .rust-rand_pcg.metadata | 2 +- SPECS/rust-rand_pcg.spec | 38 ++++++++++++++++++++++---------------- 3 files changed, 24 insertions(+), 18 deletions(-) diff --git a/.gitignore b/.gitignore index 7003732..9ff818c 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/rand_pcg-0.3.1.crate +SOURCES/rand_pcg-0.9.0.crate diff --git a/.rust-rand_pcg.metadata b/.rust-rand_pcg.metadata index 4a9b970..55f4fb1 100644 --- a/.rust-rand_pcg.metadata +++ b/.rust-rand_pcg.metadata @@ -1 +1 @@ -2c831aa645feaf8c5544f7524c95f424d8c74cf2 SOURCES/rand_pcg-0.3.1.crate +df1558b380d47566c0ef4529bebf2bb1a6e9d3c8 SOURCES/rand_pcg-0.9.0.crate diff --git a/SPECS/rust-rand_pcg.spec b/SPECS/rust-rand_pcg.spec index 1d41e32..c1a6745 100644 --- a/SPECS/rust-rand_pcg.spec +++ b/SPECS/rust-rand_pcg.spec @@ -1,21 +1,21 @@ ## START: Set by rpmautospec -## (rpmautospec version 0.7.1) +## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: - release_number = 10; + 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 24 -%bcond_without check +# Generated by rust2rpm 27 +%bcond check 1 %global debug_package %{nil} %global crate rand_pcg Name: rust-rand_pcg -Version: 0.3.1 +Version: 0.9.0 Release: %autorelease Summary: Selected PCG random number generators @@ -23,7 +23,7 @@ License: MIT OR Apache-2.0 URL: https://crates.io/crates/rand_pcg Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Selected PCG random number generators.} @@ -59,32 +59,32 @@ use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+serde-devel +%package -n %{name}+os_rng-devel Summary: %{summary} BuildArch: noarch -%description -n %{name}+serde-devel %{_description} +%description -n %{name}+os_rng-devel %{_description} This package contains library source intended for building other packages which -use the "serde" feature of the "%{crate}" crate. +use the "os_rng" feature of the "%{crate}" crate. -%files -n %{name}+serde-devel +%files -n %{name}+os_rng-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+serde1-devel +%package -n %{name}+serde-devel Summary: %{summary} BuildArch: noarch -%description -n %{name}+serde1-devel %{_description} +%description -n %{name}+serde-devel %{_description} This package contains library source intended for building other packages which -use the "serde1" feature of the "%{crate}" crate. +use the "serde" feature of the "%{crate}" crate. -%files -n %{name}+serde1-devel +%files -n %{name}+serde-devel %ghost %{crate_instdir}/Cargo.toml %prep -%autosetup -n %{crate}-%{version_no_tilde} -p1 +%autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires @@ -102,10 +102,16 @@ use the "serde1" feature of the "%{crate}" crate. %endif %changelog +## START: Generated by rpmautospec +* Wed Jan 29 2025 Benjamin A. Beasley - 0.9.0-1 +- Update to version 0.9.0; Fixes RHBZ#2342271 + +* Sun Jan 19 2025 Fedora Release Engineering - 0.3.1-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Fri Dec 20 2024 MSVSphere Packaging Team - 0.3.1-10 - Rebuilt for MSVSphere 10 -## START: Generated by rpmautospec * Sat Jul 20 2024 Fedora Release Engineering - 0.3.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild