## START: Set by rpmautospec ## (rpmautospec version 0.5.1) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; 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 25 # * tests can only be run in-tree %bcond_with check %global debug_package %{nil} %global crate portable-atomic Name: rust-portable-atomic Version: 1.6.0 Release: %autorelease Summary: Portable atomic types including support for 128-bit atomics, atomic float, etc License: Apache-2.0 OR MIT URL: https://crates.io/crates/portable-atomic Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Portable atomic types including support for 128-bit atomics, atomic float, etc.} %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}/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}+critical-section-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+critical-section-devel %{_description} This package contains library source intended for building other packages which use the "critical-section" feature of the "%{crate}" crate. %files -n %{name}+critical-section-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+disable-fiq-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+disable-fiq-devel %{_description} This package contains library source intended for building other packages which use the "disable-fiq" feature of the "%{crate}" crate. %files -n %{name}+disable-fiq-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+fallback-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+fallback-devel %{_description} This package contains library source intended for building other packages which use the "fallback" feature of the "%{crate}" crate. %files -n %{name}+fallback-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+float-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+float-devel %{_description} This package contains library source intended for building other packages which use the "float" feature of the "%{crate}" crate. %files -n %{name}+float-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+force-amo-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+force-amo-devel %{_description} This package contains library source intended for building other packages which use the "force-amo" feature of the "%{crate}" crate. %files -n %{name}+force-amo-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+require-cas-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+require-cas-devel %{_description} This package contains library source intended for building other packages which use the "require-cas" feature of the "%{crate}" crate. %files -n %{name}+require-cas-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+s-mode-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+s-mode-devel %{_description} This package contains library source intended for building other packages which use the "s-mode" feature of the "%{crate}" crate. %files -n %{name}+s-mode-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 %package -n %{name}+unsafe-assume-single-core-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+unsafe-assume-single-core-devel %{_description} This package contains library source intended for building other packages which use the "unsafe-assume-single-core" feature of the "%{crate}" crate. %files -n %{name}+unsafe-assume-single-core-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 Jan 26 2024 Fedora Release Engineering - 1.6.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jan 11 2024 Fabio Valentini - 1.6.0-1 - Update to version 1.6.0; Fixes RHBZ#2253112 * Mon Nov 13 2023 Fabio Valentini - 1.5.1-1 - Update to version 1.5.1; Fixes RHBZ#2246855 * Tue Oct 24 2023 Fabio Valentini - 1.5.0-1 - Update to version 1.5.0; Fixes RHBZ#2245708 * Sat Aug 26 2023 Fabio Valentini - 1.4.3-1 - Update to version 1.4.3; Fixes RHBZ#2234893 * Tue Aug 01 2023 Fabio Valentini - 1.4.2-1 - Update to version 1.4.2; Fixes RHBZ#2227102 * Fri Jul 21 2023 Fabio Valentini - 1.4.1-1 - Update to version 1.4.1; Fixes RHBZ#2223114 * Wed Jul 12 2023 Fabio Valentini - 1.4.0-1 - Update to version 1.4.0; Fixes RHBZ#2222097 * Wed Jun 07 2023 Fabio Valentini - 1.3.3-1 - Update to version 1.3.3; Fixes RHBZ#2211250 * Wed May 17 2023 Fabio Valentini - 1.3.2-1 - Update to version 1.3.2; Fixes RHBZ#2196654 * Mon May 08 2023 Fabio Valentini - 1.3.1-1 - Update to version 1.3.1; Fixes RHBZ#2195953 * Sun Mar 26 2023 Fabio Valentini - 1.2.0-1 - Update to version 1.2.0 * Fri Jan 20 2023 Michel Alexandre Salim - 1.0.0-1 - Initial Fedora package ## END: Generated by rpmautospec