## 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 human-panic Name: rust-human-panic Version: 1.2.3 Release: %autorelease Summary: Panic messages for humans License: MIT OR Apache-2.0 URL: https://crates.io/crates/human-panic Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Panic messages for humans.} %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}+color-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+color-devel %{_description} This package contains library source intended for building other packages which use the "color" feature of the "%{crate}" crate. %files -n %{name}+color-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+nightly-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+nightly-devel %{_description} This package contains library source intended for building other packages which use the "nightly" feature of the "%{crate}" crate. %files -n %{name}+nightly-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 * Fri Jan 26 2024 Fedora Release Engineering - 1.2.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jan 13 2024 Fabio Valentini - 1.2.3-1 - Update to version 1.2.3; Fixes RHBZ#2258007 * Thu Jan 04 2024 Fabio Valentini - 1.2.2-1 - Update to version 1.2.2; Fixes RHBZ#2248421 * Sat Oct 14 2023 Fabio Valentini - 1.2.1-1 - Update to version 1.2.1; Fixes RHBZ#2241256 * Wed Sep 20 2023 Fabio Valentini - 1.2.0-1 - Update to version 1.2.0; Fixes RHBZ#2234502 * Fri Jul 21 2023 Fedora Release Engineering - 1.1.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jun 23 2023 Fabio Valentini - 1.1.5-1 - Update to version 1.1.5; Fixes RHBZ#2214627 * Thu May 11 2023 Fabio Valentini - 1.1.4-1 - Update to version 1.1.4; Fixes RHBZ#2186530 * Sat Apr 08 2023 Fabio Valentini - 1.1.3-1 - Update to version 1.1.3; Fixes RHBZ#2174601 * Tue Feb 21 2023 Fabio Valentini - 1.1.0-1 - Update to version 1.1.0; Fixes RHBZ#2166384 * Fri Jan 20 2023 Fedora Release Engineering - 1.0.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 1.0.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jan 21 2022 Fedora Release Engineering - 1.0.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Sep 03 2021 Fabio Valentini - 1.0.3-1 - Initial import (#2000083) ## END: Generated by rpmautospec