commit d9c54da17123db40bf6a47ca62e5fb59d0f7d23a Author: MSVSphere Packaging Team Date: Fri Dec 20 14:56:25 2024 +0300 import rust-bitstream-io-2.6.0-1.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..90e07c6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/bitstream-io-2.6.0.crate diff --git a/.rust-bitstream-io.metadata b/.rust-bitstream-io.metadata new file mode 100644 index 0000000..343ffd6 --- /dev/null +++ b/.rust-bitstream-io.metadata @@ -0,0 +1 @@ +9c5cf502e8994fe142eec085ed5e78160cf68446 SOURCES/bitstream-io-2.6.0.crate diff --git a/SOURCES/rust2rpm.toml b/SOURCES/rust2rpm.toml new file mode 100644 index 0000000..176d5db --- /dev/null +++ b/SOURCES/rust2rpm.toml @@ -0,0 +1,4 @@ +[package] +summary = "Library for reading/writing un-aligned values from/to streams" + + diff --git a/SPECS/rust-bitstream-io.spec b/SPECS/rust-bitstream-io.spec new file mode 100644 index 0000000..5c1793d --- /dev/null +++ b/SPECS/rust-bitstream-io.spec @@ -0,0 +1,220 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.3) +## 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 26 +%bcond_without check +%global debug_package %{nil} + +%global crate bitstream-io + +Name: rust-bitstream-io +Version: 2.6.0 +Release: %autorelease +Summary: Library for reading/writing un-aligned values from/to streams + +# Upstream license specification: MIT/Apache-2.0 +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/bitstream-io +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Library for reading/writing un-aligned values from/to streams in big- +endian and little-endian formats.} + +%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}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%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}+alloc-devel +Summary: %{summary} +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. + +%files -n %{name}+alloc-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+core2-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+core2-devel %{_description} + +This package contains library source intended for building other packages which +use the "core2" feature of the "%{crate}" crate. + +%files -n %{name}+core2-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 - 2.6.0-1 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Tue Nov 05 2024 Fabio Valentini - 2.6.0-1 +- Update to version 2.6.0; Fixes RHBZ#2323871 + +* Wed Sep 18 2024 Fabio Valentini - 2.5.3-1 +- Update to version 2.5.3; Fixes RHBZ#2306446 + +* Mon Aug 05 2024 Fabio Valentini - 2.5.0-1 +- Update to version 2.5.0; Fixes RHBZ#2296379 + +* Fri Jul 19 2024 Fedora Release Engineering - 2.4.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Mon Jun 24 2024 Fabio Valentini - 2.4.2-1 +- Update to version 2.4.2; Fixes RHBZ#2292426 + +* Fri May 17 2024 Fabio Valentini - 2.3.0-1 +- Update to version 2.3.0; Fixes RHBZ#2279561 + +* Fri Jan 26 2024 Fedora Release Engineering - 2.2.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sat Jan 06 2024 Fabio Valentini - 2.2.0-1 +- Update to version 2.2.0; Fixes RHBZ#2253690 + +* Thu Nov 30 2023 Fabio Valentini - 1.10.0-1 +- Update to version 1.10.0; Fixes RHBZ#2251807 + +* Thu Nov 09 2023 Fabio Valentini - 1.8.0-1 +- Update to version 1.8.0; Fixes RHBZ#2247675 + +* Fri Jul 21 2023 Fedora Release Engineering - 1.7.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Wed Jul 05 2023 Fabio Valentini - 1.7.0-1 +- Update to version 1.7.0; Fixes RHBZ#2219889 + +* Fri Jan 20 2023 Fedora Release Engineering - 1.6.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Dec 10 2022 Fabio Valentini - 1.6.0-1 +- Update to version 1.6.0; Fixes RHBZ#2143721 + +* Sat Jul 23 2022 Fedora Release Engineering - 1.5.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Sat Jul 16 2022 Fabio Valentini - 1.5.0-1 +- Update to version 1.5.0; Fixes RHBZ#2095306 + +* Tue Mar 29 2022 Fabio Valentini - 1.3.0-1 +- Update to version 1.3.0; Fixes RHBZ#2068628 + +* Fri Jan 21 2022 Fedora Release Engineering - 1.2.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Wed Aug 11 2021 Fabio Valentini - 1.2.0-1 +- Update to version 1.2.0; Fixes RHBZ#1992225 + +* Fri Jul 23 2021 Fedora Release Engineering - 1.1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri Jun 18 2021 Fabio Valentini - 1.1.0-1 +- Update to version 1.1.0. +- Fixes RHBZ#1971645 + +* Mon Mar 29 16:55:25 CEST 2021 Robert-André Mauchin - 1.0.0-1 +- Update to 1.0.0 +- Close: rhbz#1911495 + +* Wed Jan 27 2021 Fedora Release Engineering - 0.9.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Thu Dec 10 17:40:45 CET 2020 Robert-André Mauchin - 0.9.0-1 +- Update to 0.9.0 +- Close: rhbz#1878217 + +* Wed Jul 29 2020 Fedora Release Engineering - 0.8.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Mar 17 16:49:12 CET 2020 Igor Raits - 0.8.5-1 +- Update to 0.8.5 + +* Thu Jan 30 2020 Fedora Release Engineering - 0.8.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Sun Sep 15 21:35:23 CEST 2019 Robert-André Mauchin - 0.8.4-1 +- Release 0.8.4 + +* Tue Aug 06 11:24:17 CEST 2019 Igor Gnatenko - 0.8.3-1 +- Update to 0.8.3 + +* Fri Jul 26 2019 Fedora Release Engineering - 0.8.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Wed Mar 20 09:39:58 CET 2019 Igor Gnatenko - 0.8.2-2 +- Run tests in infrastructure + +* Fri Mar 08 2019 Robert-André Mauchin - 0.8.2-1 +- Initial package + +## END: Generated by rpmautospec