diff --git a/SOURCES/byteorder-1.5.0.crate b/SOURCES/byteorder-1.5.0.crate new file mode 100644 index 0000000..a63d78a Binary files /dev/null and b/SOURCES/byteorder-1.5.0.crate differ diff --git a/SPECS/rust-byteorder.spec b/SPECS/rust-byteorder.spec index 16b99e3..1f4529d 100644 --- a/SPECS/rust-byteorder.spec +++ b/SPECS/rust-byteorder.spec @@ -1,25 +1,29 @@ -# Generated by rust2rpm 16 +## 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 byteorder -Name: rust-%{crate} -Version: 1.4.3 -Release: 4%{?dist} +Name: rust-byteorder +Version: 1.5.0 +Release: %autorelease Summary: Library for reading/writing numbers in big-endian and little-endian -# Upstream license specification: Unlicense OR MIT -License: Unlicense or MIT +License: Unlicense OR MIT URL: https://crates.io/crates/byteorder Source: %{crates_source} -ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Library for reading/writing numbers in big-endian and little-endian.} @@ -32,13 +36,16 @@ 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 COPYING UNLICENSE LICENSE-MIT -%doc README.md CHANGELOG.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/COPYING +%license %{crate_instdir}/LICENSE-MIT +%license %{crate_instdir}/UNLICENSE +%doc %{crate_instdir}/CHANGELOG.md +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -46,11 +53,11 @@ 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 +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+i128-devel Summary: %{summary} @@ -58,11 +65,11 @@ BuildArch: noarch %description -n %{name}+i128-devel %{_description} -This package contains library source intended for building other packages -which use "i128" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "i128" feature of the "%{crate}" crate. %files -n %{name}+i128-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} @@ -70,14 +77,14 @@ BuildArch: noarch %description -n %{name}+std-devel %{_description} -This package contains library source intended for building other packages -which use "std" feature of "%{crate}" crate. +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 %{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 @@ -95,9 +102,21 @@ which use "std" feature of "%{crate}" crate. %endif %changelog -* Fri Oct 13 2023 Arkady L. Shane - 1.4.3-4 +* Mon Nov 20 2023 Arkady L. Shane - 1.5.0-1 - Rebuilt for MSVSphere 9.2 +* Sat Oct 07 2023 Fabio Valentini - 1.5.0-1 +- Update to version 1.5.0; Fixes RHBZ#2242411 + +* Fri Jul 21 2023 Fedora Release Engineering - 1.4.3-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Wed May 17 2023 Fabio Valentini - 1.4.3-7 +- Regenerate with rust2rpm v24 + +* Fri Jan 20 2023 Fedora Release Engineering - 1.4.3-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Sat Jul 23 2022 Fedora Release Engineering - 1.4.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild @@ -191,3 +210,4 @@ which use "std" feature of "%{crate}" crate. * Fri Jun 16 2017 Igor Gnatenko - 1.0.0-1 - Initial package +