diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..52fc5be --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/fallible-iterator-0.3.0.crate diff --git a/.rust-fallible-iterator.metadata b/.rust-fallible-iterator.metadata index e69de29..731e9ce 100644 --- a/.rust-fallible-iterator.metadata +++ b/.rust-fallible-iterator.metadata @@ -0,0 +1 @@ +187465aa5834581d880f6152ae33aa0aa1a35570 SOURCES/fallible-iterator-0.3.0.crate diff --git a/SOURCES/fallible-iterator-0.2.0.crate b/SOURCES/fallible-iterator-0.2.0.crate deleted file mode 100644 index 98daeab..0000000 Binary files a/SOURCES/fallible-iterator-0.2.0.crate and /dev/null differ diff --git a/SPECS/rust-fallible-iterator.spec b/SPECS/rust-fallible-iterator.spec index 44d2492..6028944 100644 --- a/SPECS/rust-fallible-iterator.spec +++ b/SPECS/rust-fallible-iterator.spec @@ -1,34 +1,30 @@ ## START: Set by rpmautospec -## (rpmautospec version 0.2.5) -%define autorelease(e:s:pb:) %{?-p:0.}%{lua: - release_number = 11; +## (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*}}%{?dist} +}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec -# Generated by rust2rpm 19 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate fallible-iterator -Name: rust-%{crate} -Version: 0.2.0 +Name: rust-fallible-iterator +Version: 0.3.0 Release: %autorelease Summary: Fallible iterator traits # Upstream license specification: MIT/Apache-2.0 -License: MIT or ASL 2.0 +License: MIT OR Apache-2.0 URL: https://crates.io/crates/fallible-iterator Source: %{crates_source} -ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif - -BuildRequires: rust-packaging +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Fallible iterator traits.} @@ -42,12 +38,14 @@ BuildArch: noarch %description devel %{_description} This package contains library source intended for building other packages which -use "%{crate}" crate. +use the "%{crate}" crate. %files devel -%license LICENSE-APACHE LICENSE-MIT -%doc CHANGELOG.md README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/CHANGELOG.md +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -56,10 +54,10 @@ 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. +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}+alloc-devel Summary: %{summary} @@ -68,10 +66,10 @@ BuildArch: noarch %description -n %{name}+alloc-devel %{_description} This package contains library source intended for building other packages which -use "the alloc" feature of the "%{crate}" crate. +use the "alloc" feature of the "%{crate}" crate. %files -n %{name}+alloc-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} @@ -80,13 +78,13 @@ 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. +use the "std" feature of the "%{crate}" crate. %files -n %{name}+std-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 @@ -104,13 +102,19 @@ use "the std" feature of the "%{crate}" crate. %endif %changelog +* Wed Nov 29 2023 Fabio Valentini - 0.3.0-1 +- Update to version 0.3.0 + +* Wed Nov 29 2023 Fabio Valentini - 0.2.0-14 +- Regenerate with rust2rpm v24 + * Mon Nov 20 2023 Arkady L. Shane - 0.2.0-11 - Rebuilt for MSVSphere 9.2 -* Wed Dec 29 2021 Igor Raits 0.2.0-11 +* Wed Dec 29 2021 Igor Raits - 0.2.0-11 - Rebuild -* Sun Nov 28 2021 Igor Raits 0.2.0-10 +* Sun Nov 28 2021 Igor Raits - 0.2.0-10 - Regenerate * Tue Jul 27 2021 Fedora Release Engineering - 0.2.0-7