## 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 26 %bcond_without check %global debug_package %{nil} %global crate fs4 Name: rust-fs4 Version: 0.9.1 Release: %autorelease Summary: No libc, pure Rust cross-platform file locks License: MIT OR Apache-2.0 URL: https://crates.io/crates/fs4 Source: %{crates_source} # Automatically generated patch to strip dependencies and normalize metadata Patch: fs4-fix-metadata-auto.diff # Manually created patch for downstream crate metadata changes # * Disable feature 'smol' (missing dependencies: smol, smol-potat) Patch: fs4-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: No libc, pure Rust cross-platform file locks. Original fs2, now supports async and replace libc by rustix.} %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}+async-std-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+async-std-devel %{_description} This package contains library source intended for building other packages which use the "async-std" feature of the "%{crate}" crate. %files -n %{name}+async-std-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+fs-err-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+fs-err-devel %{_description} This package contains library source intended for building other packages which use the "fs-err" feature of the "%{crate}" crate. %files -n %{name}+fs-err-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+fs-err-tokio-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+fs-err-tokio-devel %{_description} This package contains library source intended for building other packages which use the "fs-err-tokio" feature of the "%{crate}" crate. %files -n %{name}+fs-err-tokio-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+sync-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+sync-devel %{_description} This package contains library source intended for building other packages which use the "sync" feature of the "%{crate}" crate. %files -n %{name}+sync-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+tokio-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+tokio-devel %{_description} This package contains library source intended for building other packages which use the "tokio" feature of the "%{crate}" crate. %files -n %{name}+tokio-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 * Sun Oct 27 2024 Aleksei Bavshin - 0.9.1-1 - Update to 0.9.1 * Fri Jul 19 2024 Fedora Release Engineering - 0.8.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sun Jun 16 2024 Fabio Valentini - 0.8.4-1 - Update to version 0.8.4; Fixes RHBZ#2291278 * Sat Apr 13 2024 Aleksei Bavshin - 0.8.2-1 - Update to 0.8.2 (#2272617) * Wed Mar 20 2024 Aleksei Bavshin - 0.8.1-1 - Initial import (rhbz#2267095) ## END: Generated by rpmautospec