## 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-byteorder Version: 1.5.0 Release: %autorelease Summary: Library for reading/writing numbers in big-endian and little-endian License: Unlicense OR MIT URL: https://crates.io/crates/byteorder Source: %{crates_source} BuildRequires: rust-packaging >= 21 %global _description %{expand: Library for reading/writing numbers in big-endian and little-endian.} %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}/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} 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}+i128-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+i128-devel %{_description} 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 %{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 %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 * 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 * Fri Jan 21 2022 Fedora Release Engineering - 1.4.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 1.4.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Mar 26 2021 Fabio Valentini - 1.4.3-1 - Update to version 1.4.3. - Fixes RHBZ#1914348 * Wed Jan 27 2021 Fedora Release Engineering - 1.3.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 1.3.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Feb 10 2020 Josh Stone - 1.3.4-1 - Update to 1.3.4 * Thu Jan 30 2020 Fedora Release Engineering - 1.3.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Sep 13 17:57:06 CEST 2019 Robert-André Mauchin - 1.3.2-4 - Bump quickcheck to 0.9 * Fri Jul 26 2019 Fedora Release Engineering - 1.3.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Wed Jun 19 23:11:29 CEST 2019 Igor Gnatenko - 1.3.2-2 - Regenerate * Sun Jun 09 17:01:45 CEST 2019 Igor Gnatenko - 1.3.2-1 - Update to 1.3.2 * Sun Jun 09 12:28:17 CEST 2019 Igor Gnatenko - 1.3.1-4 - Fix skip_build * Sat Jun 08 23:51:46 CEST 2019 Igor Gnatenko - 1.3.1-3 - Regenerate * Sat Feb 02 2019 Fedora Release Engineering - 1.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Wed Jan 23 2019 Josh Stone - 1.3.1-1 - Update to 1.3.1 * Sat Jan 19 2019 Igor Gnatenko - 1.3.0-1 - Update to 1.3.0 * Fri Oct 26 2018 Igor Gnatenko - 1.2.7-1 - Update to 1.2.7 * Fri Oct 26 2018 Igor Gnatenko - 1.2.6-2 - Adapt to new packaging * Thu Aug 30 2018 Josh Stone - 1.2.6-1 - Update to 1.2.6 * Tue Jul 31 2018 Josh Stone - 1.2.4-1 - Update to 1.2.4 * Sat Jul 28 2018 Igor Gnatenko - 1.2.3-3 - Rebuild to trigger tests * Sat Jul 14 2018 Fedora Release Engineering - 1.2.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Mon May 14 2018 Igor Gnatenko - 1.2.3-1 - Update to 1.2.3 * Mon Apr 02 2018 Igor Gnatenko - 1.2.2-1 - Update to 1.2.2 * Fri Feb 09 2018 Fedora Release Engineering - 1.2.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Mon Jan 08 2018 Igor Gnatenko - 1.2.1-3 - Rebuild for rust-packaging v5 * Sun Dec 31 2017 Igor Gnatenko - 1.2.1-2 - Bump rand to 0.4 * Thu Nov 30 2017 Igor Gnatenko - 1.2.1-1 - Update to 1.2.1 * Fri Nov 10 2017 Igor Gnatenko - 1.1.0-1 - Update to 1.1.0 * Fri Jun 16 2017 Igor Gnatenko - 1.0.0-1 - Initial package