## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 5; 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 28 %bcond check 1 %global debug_package %{nil} %global crate tagptr Name: rust-tagptr Version: 0.2.0 Release: %autorelease Summary: Strongly typed atomic and non-atomic tagged pointers # Upstream license specification: MIT/Apache-2.0 License: MIT OR Apache-2.0 URL: https://crates.io/crates/tagptr Source: %{crates_source} # * Missing license text, https://github.com/oliver-giersch/tagptr/pull/3 Source2: https://github.com/oliver-giersch/tagptr/raw/81e5c6a5cbd86e0da1e47deb9ce134d1e5624137/LICENSE-APACHE # * Assertion “tag bits in raw pointer must be zeroed” fails on i686 (32-bit # x86) with Rust 1.93 and later # * https://github.com/oliver-giersch/tagptr/issues/5 # * This appears to be a real and serious bug, but propagating ExcludeArch # through this package’s reverse dependency tree would be unpleasant, the # direct reverse dependency rust-moka still builds and passes its tests, and # any latent bugs probably don’t affect anyone in practice given the fact that # most 32-bit multilib packages are not used by anyone at all. Therefore, # without much in the way of better options at hand, we choose to simply cover # up the problem. Patch10: tagptr-0.2.0-32bit-bug.patch BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Strongly typed atomic and non-atomic tagged pointers.} %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} -p1 cp -p '%{SOURCE2}' . %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 * Sun Jul 19 2026 Benjamin A. Beasley - 0.2.0-5 - Work around a test failure on i686 * Fri Jul 17 2026 Fedora Release Engineering - 0.2.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild * Sat Jan 17 2026 Fedora Release Engineering - 0.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Wed Sep 17 2025 Petr Menšík - 0.2.0-2 - Upload sources and add generic ignore pattern for crates * Wed Sep 17 2025 Petr Menšík - 0.2.0-1 - Initial commit from rhbz#2302630 ## END: Generated by rpmautospec