## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## 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 nu-cmd-extra Name: rust-nu-cmd-extra Version: 0.99.1 Release: %autorelease Summary: Nushell's extra commands that are not part of the 1.0 api standard License: MIT URL: https://crates.io/crates/nu-cmd-extra Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * Update fancy-regex from 0.13 to 0.16: # https://github.com/nushell/nushell/commit/0e3ca7b355bd62f1cfc372b414defd528da04718, # https://github.com/nushell/nushell/commit/1e2fa68db0f7e877fe9c4cd95ab16f1c0df793e8 Patch: nu-cmd-extra-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Nushell's extra commands that are not part of the 1.0 api standard.} %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 %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 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install %if %{with check} %check # * disable tests that depend on unshipped files %{cargo_test -- -- %{shrink: --skip commands::bits::into:: --skip commands::bytes::ends_with:: --skip commands::bytes::starts_with:: }} %endif %changelog ## START: Generated by rpmautospec * Tue Feb 03 2026 Benjamin A. Beasley - 0.99.1-5 - Update fancy-regex from 0.13 to 0.16 * Sat Jan 17 2026 Fedora Release Engineering - 0.99.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Fri Jul 25 2025 Fedora Release Engineering - 0.99.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Sun Jan 19 2025 Fedora Release Engineering - 0.99.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Sat Nov 16 2024 Michel Lind - 0.99.1-1 - Update to version 0.99.1 * Thu Aug 01 2024 Michel Lind - 0.96.1-1 - Initial package; Fixes: RHBZ#2302183 ## END: Generated by rpmautospec