## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## 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.3.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 ## START: Generated by rpmautospec * 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