commit f79a1b10cb786ef6be32cd5c5cc395d33d72fdfe Author: tigro Date: Fri Oct 13 12:35:29 2023 +0300 import rust-bitstream-io-1.7.0-1.el9 diff --git a/.rust-bitstream-io.metadata b/.rust-bitstream-io.metadata new file mode 100644 index 0000000..e69de29 diff --git a/SOURCES/bitstream-io-1.7.0.crate b/SOURCES/bitstream-io-1.7.0.crate new file mode 100644 index 0000000..f3ff903 Binary files /dev/null and b/SOURCES/bitstream-io-1.7.0.crate differ diff --git a/SPECS/rust-bitstream-io.spec b/SPECS/rust-bitstream-io.spec new file mode 100644 index 0000000..f2b6d2b --- /dev/null +++ b/SPECS/rust-bitstream-io.spec @@ -0,0 +1,149 @@ +## 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 24 +%bcond_without check +%global debug_package %{nil} + +%global crate bitstream-io + +Name: rust-bitstream-io +Version: 1.7.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: rust-packaging >= 21 + +%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 + +%prep +%autosetup -n %{crate}-%{version_no_tilde} -p1 +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +* Fri Oct 13 2023 Arkady L. Shane - 1.7.0-1 +- Rebuilt for MSVSphere 9.2 + +* 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 +