From 18b5fc5de64c77480854749efde8a36a163316f9 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Sat, 20 Jan 2024 02:11:42 +0300 Subject: [PATCH] import rust-num-derive-0.4.1-1.el9.el9 --- .gitignore | 2 +- .rust-num-derive.metadata | 2 +- SPECS/rust-num-derive.spec | 77 +++++++++++++++++++++----------------- 3 files changed, 45 insertions(+), 36 deletions(-) diff --git a/.gitignore b/.gitignore index 04b7019..42d4c26 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/num-derive-0.3.3.crate +SOURCES/num-derive-0.4.1.crate diff --git a/.rust-num-derive.metadata b/.rust-num-derive.metadata index 8b4f808..5bd7312 100644 --- a/.rust-num-derive.metadata +++ b/.rust-num-derive.metadata @@ -1 +1 @@ -5824a5bc8b652e92afc8c88d1f9967f1ceae1c5e SOURCES/num-derive-0.3.3.crate +907f963ff312e6f04fab8051f56b9c3aac4e7b4c SOURCES/num-derive-0.4.1.crate diff --git a/SPECS/rust-num-derive.spec b/SPECS/rust-num-derive.spec index 4113c9e..9570d54 100644 --- a/SPECS/rust-num-derive.spec +++ b/SPECS/rust-num-derive.spec @@ -1,25 +1,29 @@ -# Generated by rust2rpm 15 +## START: Set by rpmautospec +## (rpmautospec version 0.5.1) +## 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 num-derive -Name: rust-%{crate} -Version: 0.3.3 -Release: 5%{?dist} +Name: rust-num-derive +Version: 0.4.1 +Release: %autorelease Summary: Numeric syntax extensions -# Upstream license specification: MIT OR Apache-2.0 -License: MIT or ASL 2.0 +License: MIT OR Apache-2.0 URL: https://crates.io/crates/num-derive Source: %{crates_source} -ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif - -BuildRequires: rust-packaging +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Numeric syntax extensions.} @@ -32,13 +36,15 @@ BuildArch: noarch %description devel %{_description} -This package contains library source intended for building other packages -which use "%{crate}" crate. +This package contains library source intended for building other packages which +use the "%{crate}" crate. %files devel -%license LICENSE-MIT LICENSE-APACHE -%doc README.md RELEASES.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/README.md +%doc %{crate_instdir}/RELEASES.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -46,26 +52,14 @@ BuildArch: noarch %description -n %{name}+default-devel %{_description} -This package contains library source intended for building other packages -which use "default" feature of "%{crate}" crate. +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 - -%package -n %{name}+full-syntax-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+full-syntax-devel %{_description} - -This package contains library source intended for building other packages -which use "full-syntax" feature of "%{crate}" crate. - -%files -n %{name}+full-syntax-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 @@ -83,9 +77,22 @@ which use "full-syntax" feature of "%{crate}" crate. %endif %changelog -* Sun Nov 19 2023 Arkady L. Shane - 0.3.3-5 +## START: Generated by rpmautospec +* Mon Jan 15 2024 Fabio Valentini - 0.4.1-1 +- Update to version 0.4.1; Fixes RHBZ#2218732 + +* Sun Nov 19 2023 Arkady L. Shane - 0.3.3-9 - Rebuilt for MSVSphere 9.2 +* Fri Jul 21 2023 Fedora Release Engineering - 0.3.3-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Wed May 17 2023 Fabio Valentini - 0.3.3-8 +- Regenerate with rust2rpm v24 + +* Sat Jan 21 2023 Fedora Release Engineering - 0.3.3-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Sat Jul 23 2022 Fedora Release Engineering - 0.3.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild @@ -131,3 +138,5 @@ which use "full-syntax" feature of "%{crate}" crate. * Fri Mar 15 2019 Igor Gnatenko - 0.2.4-1 - Initial package + +## END: Generated by rpmautospec