commit 9014920a4c04560907644ede5012f9357a7cee77 Author: MSVSphere Packaging Team Date: Fri Dec 20 15:00:37 2024 +0300 import rust-byteorder-1.5.0-4.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1d83180 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/byteorder-1.5.0.crate diff --git a/.rust-byteorder.metadata b/.rust-byteorder.metadata new file mode 100644 index 0000000..afd92a7 --- /dev/null +++ b/.rust-byteorder.metadata @@ -0,0 +1 @@ +54b42fdf58e72ceb84f59b3a6d4ff230b83d2389 SOURCES/byteorder-1.5.0.crate diff --git a/SOURCES/rust2rpm.toml b/SOURCES/rust2rpm.toml new file mode 100644 index 0000000..198783d --- /dev/null +++ b/SOURCES/rust2rpm.toml @@ -0,0 +1,4 @@ +[tests] +run = ["none"] +comments = ["outdated dev-dependencies: quickcheck ^0.9, rand ^0.7"] + diff --git a/SPECS/rust-byteorder.spec b/SPECS/rust-byteorder.spec new file mode 100644 index 0000000..4486f8e --- /dev/null +++ b/SPECS/rust-byteorder.spec @@ -0,0 +1,225 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.1) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 4; + 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 26 +# * outdated dev-dependencies: quickcheck ^0.9, rand ^0.7 +%bcond_with 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: cargo-rpm-macros >= 24 + +%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 +* Fri Dec 20 2024 MSVSphere Packaging Team - 1.5.0-4 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Wed Aug 28 2024 Fabio Valentini - 1.5.0-4 +- Disable tests to avoid pulling in outdated dev-dependencies + +* Fri Jul 19 2024 Fedora Release Engineering - 1.5.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jan 26 2024 Fedora Release Engineering - 1.5.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* 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 + +## END: Generated by rpmautospec