## 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 27 %bcond check 1 %global debug_package %{nil} %global crate bitflags Name: rust-bitflags Version: 2.9.0 Release: %autorelease Summary: Macro to generate structures which behave like bitflags License: MIT OR Apache-2.0 URL: https://crates.io/crates/bitflags Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: A macro to generate structures which behave like bitflags.} %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}/CHANGELOG.md %doc %{crate_instdir}/CODE_OF_CONDUCT.md %doc %{crate_instdir}/CONTRIBUTING.md %doc %{crate_instdir}/README.md %doc %{crate_instdir}/SECURITY.md %doc %{crate_instdir}/spec.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}+arbitrary-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+arbitrary-devel %{_description} This package contains library source intended for building other packages which use the "arbitrary" feature of the "%{crate}" crate. %files -n %{name}+arbitrary-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+bytemuck-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+bytemuck-devel %{_description} This package contains library source intended for building other packages which use the "bytemuck" feature of the "%{crate}" crate. %files -n %{name}+bytemuck-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+example_generated-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+example_generated-devel %{_description} This package contains library source intended for building other packages which use the "example_generated" feature of the "%{crate}" crate. %files -n %{name}+example_generated-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serde-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+serde-devel %{_description} This package contains library source intended for building other packages which use the "serde" feature of the "%{crate}" crate. %files -n %{name}+serde-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 # * test sources are not included in published crates %cargo_test %endif %changelog ## START: Generated by rpmautospec * Mon Mar 03 2025 Fabio Valentini - 2.9.0-1 - Update to version 2.9.0; Fixes RHBZ#2349145 * Sun Jan 26 2025 Fabio Valentini - 2.8.0-1 - Update to version 2.8.0; Fixes RHBZ#2338099 * Sun Jan 19 2025 Fedora Release Engineering - 2.7.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Tue Jan 14 2025 Fabio Valentini - 2.7.0-1 - Update to version 2.7.0; Fixes RHBZ#2336862 * Fri Jul 19 2024 Fedora Release Engineering - 2.6.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Thu Jun 27 2024 Fabio Valentini - 2.6.0-1 - Update to version 2.6.0; Fixes RHBZ#2294108 * Tue Mar 19 2024 Fabio Valentini - 2.5.0-1 - Update to version 2.5.0; Fixes RHBZ#2270212 * Tue Jan 30 2024 Fabio Valentini - 2.4.2-1 - Update to version 2.4.2; Fixes RHBZ#2258661 * Fri Jan 26 2024 Fedora Release Engineering - 2.4.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Tue Oct 17 2023 Fabio Valentini - 2.4.1-1 - Update to version 2.4.1; Fixes RHBZ#2244330 * Sun Aug 27 2023 Fabio Valentini - 2.4.0-1 - Update to version 2.4.0; Fixes RHBZ#2231345 * Fri Jul 21 2023 Fedora Release Engineering - 2.3.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jul 06 2023 Fabio Valentini - 2.3.3-1 - Update to version 2.3.3; Fixes RHBZ#2177627 * Fri Jan 20 2023 Fedora Release Engineering - 1.3.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 1.3.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 01 2022 Fabio Valentini - 1.3.2-4 - Skip trybuild tests that are broken due to cosmetic string differences * Mon May 09 2022 Fabio Valentini - 1.3.2-3 - Fix compilation of test suite with trybuild >= 1.0.57 * Fri Jan 21 2022 Fedora Release Engineering - 1.3.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Mon Sep 27 2021 Fabio Valentini - 1.3.2-1 - Update to version 1.3.2; Fixes RHBZ#1993743 * Fri Aug 13 2021 Fabio Valentini - 1.3.1-1 - Update to version 1.3.1; Fixes RHBZ#1992891 * Fri Jul 23 2021 Fedora Release Engineering - 1.2.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jan 27 2021 Fedora Release Engineering - 1.2.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 1.2.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jan 30 2020 Fedora Release Engineering - 1.2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Nov 15 2019 Josh Stone - 1.2.1-1 - Update to 1.2.1 * Thu Sep 26 13:14:26 CEST 2019 Igor Gnatenko - 1.2.0-1 - Update to 1.2.0 * Fri Jul 26 2019 Fedora Release Engineering - 1.1.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Wed Jun 19 23:10:21 CEST 2019 Igor Gnatenko - 1.1.0-3 - Regenerate * Sat Jun 08 23:44:48 CEST 2019 Igor Gnatenko - 1.1.0-2 - Regenerate * Sat Jun 08 10:08:10 CEST 2019 Igor Gnatenko - 1.1.0-1 - Update to 1.1.0 * Thu May 02 10:04:24 CEST 2019 Igor Gnatenko - 1.0.5-1 - Update to 1.0.5 * Sat Feb 02 2019 Fedora Release Engineering - 1.0.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Oct 26 2018 Igor Gnatenko - 1.0.4-3 - Adapt to new packaging * Sun Oct 07 2018 Igor Gnatenko - 1.0.4-2 - Run tests in infrastructure * Thu Aug 30 2018 Josh Stone - 1.0.4-1 - Update to 1.0.4 * Sat Jul 14 2018 Fedora Release Engineering - 1.0.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed May 02 2018 Josh Stone - 1.0.3-1 - Update to 1.0.3 * Fri Apr 27 2018 Josh Stone - 1.0.2-1 - Update to 1.0.2 * Fri Feb 09 2018 Fedora Release Engineering - 1.0.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Mon Jan 08 2018 Igor Gnatenko - 1.0.1-2 - Rebuild for rust-packaging v5 * Mon Nov 13 2017 Igor Gnatenko - 1.0.1-1 - Update to 1.0.1 * Sat Nov 04 2017 Igor Gnatenko - 1.0.0-1 - Update to 1.0.0 * Thu Jun 15 2017 Igor Gnatenko - 0.9.1-1 - Update to 0.9.1 * Wed Jun 14 2017 Igor Gnatenko - 0.8.2-2 - Port to use rust-packaging * Thu Mar 30 2017 Igor Gnatenko - 0.8.2-1 - Update to 0.8.2 * Thu Feb 16 2017 Igor Gnatenko - 0.8.0-1 - Update to 0.8.0 * Sun Feb 12 2017 Igor Gnatenko - 0.7.0-1 - Initial package ## END: Generated by rpmautospec