## START: Set by rpmautospec ## (rpmautospec version 0.6.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; 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 # prevent library files from being installed %global cargo_install_lib 0 %global crate rust2rpm-helper Name: rust2rpm-helper Version: 0.1.5 Release: %autorelease Summary: Helper program for rust2rpm #SourceLicense: MIT # (MIT OR Apache-2.0) AND Unicode-DFS-2016 # Apache-2.0 # Apache-2.0 OR MIT # Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT # MIT # MIT OR Apache-2.0 # Unlicense OR MIT License: Apache-2.0 AND MIT AND Unicode-DFS-2016 AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (Unlicense OR MIT) # LICENSE.dependencies contains a full license breakdown URL: https://pagure.io/fedora-rust/rust2rpm-helper Source: %{url}/archive/%{version}/rust2rpm-helper-%{version}.tar.gz Source1: vendor.tar.gz BuildRequires: cargo-rpm-macros >= 26 BuildRequires: cargo2rpm Provides: bundled(crate(aho-corasick)) = 1.1.2 Provides: bundled(crate(anstream)) = 0.6.12 Provides: bundled(crate(anstyle)) = 1.0.6 Provides: bundled(crate(anstyle-parse)) = 0.2.3 Provides: bundled(crate(anstyle-query)) = 1.0.2 Provides: bundled(crate(anstyle-wincon)) = 3.0.2 Provides: bundled(crate(anyhow)) = 1.0.80 Provides: bundled(crate(cfg-expr)) = 0.15.7 Provides: bundled(crate(clap)) = 4.5.1 Provides: bundled(crate(clap_builder)) = 4.5.1 Provides: bundled(crate(clap_derive)) = 4.5.0 Provides: bundled(crate(clap_lex)) = 0.7.0 Provides: bundled(crate(colorchoice)) = 1.0.0 Provides: bundled(crate(diff)) = 0.1.13 Provides: bundled(crate(env_logger)) = 0.10.2 Provides: bundled(crate(equivalent)) = 1.0.1 Provides: bundled(crate(hashbrown)) = 0.14.3 Provides: bundled(crate(heck)) = 0.4.1 Provides: bundled(crate(hermit-abi)) = 0.3.6 Provides: bundled(crate(humantime)) = 2.1.0 Provides: bundled(crate(indexmap)) = 2.2.3 Provides: bundled(crate(is-terminal)) = 0.4.12 Provides: bundled(crate(libc)) = 0.2.153 Provides: bundled(crate(log)) = 0.4.20 Provides: bundled(crate(memchr)) = 2.7.1 Provides: bundled(crate(pretty_assertions)) = 1.4.0 Provides: bundled(crate(proc-macro2)) = 1.0.78 Provides: bundled(crate(quote)) = 1.0.35 Provides: bundled(crate(regex)) = 1.10.3 Provides: bundled(crate(regex-automata)) = 0.4.5 Provides: bundled(crate(regex-syntax)) = 0.8.2 Provides: bundled(crate(similar)) = 2.4.0 Provides: bundled(crate(smallvec)) = 1.13.1 Provides: bundled(crate(strsim)) = 0.11.0 Provides: bundled(crate(syn)) = 2.0.50 Provides: bundled(crate(termcolor)) = 1.4.1 Provides: bundled(crate(toml_datetime)) = 0.6.5 Provides: bundled(crate(toml_edit)) = 0.22.6 Provides: bundled(crate(unicode-ident)) = 1.0.12 Provides: bundled(crate(utf8parse)) = 0.2.1 Provides: bundled(crate(winnow)) = 0.6.2 Provides: bundled(crate(yansi)) = 0.5.1 %global _description %{expand: Helper program for rust2rpm.} %description %{_description} %prep %autosetup -n %{crate}-%{version} -p1 -a1 %cargo_prep -v vendor %build %cargo_build %{cargo_license_summary} %{cargo_license} > LICENSE.dependencies %install %cargo_install %if %{with check} %check %cargo_test %endif %files %license LICENSE %license LICENSE.dependencies %doc CHANGELOG.md %doc README.md %{_bindir}/rust2rpm-helper %changelog ## START: Generated by rpmautospec * Thu May 23 2024 Fabio Valentini - 0.1.5-3 - Rebuild with Rust 1.78 to fix incomplete debuginfo and backtraces * Mon Mar 18 2024 Fabio Valentini - 0.1.5-2 - Regenerate with rust2rpm v26 * Thu Feb 29 2024 Fabio Valentini - 0.1.5-1 - Update to version 0.1.5; Fixes RHBZ#2265159 * Sat Jan 27 2024 Fedora Release Engineering - 0.1.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Dec 01 2023 Fabio Valentini - 0.1.4-1 - Update to version 0.1.4; Fixes RHBZ#2252420 * Fri Oct 06 2023 Fabio Valentini - 0.1.3-1 - Initial import (#2242017) ## END: Generated by rpmautospec