## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; 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 25 %bcond_without check %global debug_package %{nil} %global crate trybuild2 Name: rust-trybuild2 Version: 1.2.0 Release: %autorelease Summary: Test harness for ui tests of compiler diagnostics License: MIT OR Apache-2.0 URL: https://crates.io/crates/trybuild2 Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Test harness for ui tests of compiler diagnostics (with support for inline tests).} %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}+diff-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+diff-devel %{_description} This package contains library source intended for building other packages which use the "diff" feature of the "%{crate}" crate. %files -n %{name}+diff-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+dissimilar-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+dissimilar-devel %{_description} This package contains library source intended for building other packages which use the "dissimilar" feature of the "%{crate}" crate. %files -n %{name}+dissimilar-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires -a %build %cargo_build -a %install %cargo_install -a %if %{with check} %check %cargo_test -a %endif %changelog ## START: Generated by rpmautospec * Sat Jan 27 2024 Fedora Release Engineering - 1.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jan 11 2024 Fabio Valentini - 1.2.0-1 - Update to version 1.2.0; Fixes RHBZ#2253010 * Thu Jul 27 2023 Fabio Valentini - 1.1.0-1 - Update to version 1.1.0; Fixes RHBZ#2224729 * Sat Jul 22 2023 Fedora Release Engineering - 1.0.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed Apr 12 2023 Kalev Lember - 1.0.2-1 - Update to 1.0.2 (rhbz#2186280) * Tue Apr 11 2023 Kalev Lember - 1.0.1-1 - Update to 1.0.1 (rhbz#2185663) * Tue Apr 11 2023 Kalev Lember - 1.0.0-4 - Add rust2rpm.conf * Tue Apr 11 2023 Kalev Lember - 1.0.0-3 - Regenerate packaging with rust2rpm 24 * Sat Jan 21 2023 Fedora Release Engineering - 1.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Mon Nov 28 2022 Kalev Lember - 1.0.0-1 - Initial Fedora packaging (rhbz#2148560) ## END: Generated by rpmautospec