## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## 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 28 %bcond check 1 %global debug_package %{nil} %global crate atomic-write-file Name: rust-atomic-write-file Version: 0.3.1 Release: %autorelease Summary: Write files atomically to a file system License: BSD-3-Clause URL: https://crates.io/crates/atomic-write-file Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Write files atomically to a file system.} %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.md %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}+unnamed-tmpfile-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+unnamed-tmpfile-devel %{_description} This package contains library source intended for building other packages which use the "unnamed-tmpfile" feature of the "%{crate}" crate. %files -n %{name}+unnamed-tmpfile-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unstable-can_vector-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+unstable-can_vector-devel %{_description} This package contains library source intended for building other packages which use the "unstable-can_vector" feature of the "%{crate}" crate. %files -n %{name}+unstable-can_vector-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unstable-read_buf-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+unstable-read_buf-devel %{_description} This package contains library source intended for building other packages which use the "unstable-read_buf" feature of the "%{crate}" crate. %files -n %{name}+unstable-read_buf-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unstable-seek_stream_len-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+unstable-seek_stream_len-devel %{_description} This package contains library source intended for building other packages which use the "unstable-seek_stream_len" feature of the "%{crate}" crate. %files -n %{name}+unstable-seek_stream_len-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unstable-unix_file_vectored_at-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+unstable-unix_file_vectored_at-devel %{_description} This package contains library source intended for building other packages which use the "unstable-unix_file_vectored_at" feature of the "%{crate}" crate. %files -n %{name}+unstable-unix_file_vectored_at-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unstable-write_all_vectored-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+unstable-write_all_vectored-devel %{_description} This package contains library source intended for building other packages which use the "unstable-write_all_vectored" feature of the "%{crate}" crate. %files -n %{name}+unstable-write_all_vectored-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 * Thu Nov 26 2026 Dominik 'Rathann' Mierzejewski - 0.3.1-1 - initial package ## END: Generated by rpmautospec