## START: Set by rpmautospec ## (rpmautospec version 0.7.1) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 4; 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 crate is_ci Name: rust-is_ci Version: 1.2.0 Release: %autorelease Summary: Super lightweight CI environment checker License: ISC URL: https://crates.io/crates/is_ci Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Super lightweight CI environment checker. Just tells you if you're in CI or not without much fuss.} %description %{_description} %package -n %{crate} Summary: %{summary} # ISC License: ISC # LICENSE.dependencies contains a full license breakdown %description -n %{crate} %{_description} %files -n %{crate} %license LICENSE %license LICENSE.dependencies %doc CHANGELOG.md %doc README.md %{_bindir}/is_ci %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}/CHANGELOG.md %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 %{cargo_license_summary} %{cargo_license} > LICENSE.dependencies %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog * Fri Dec 20 2024 MSVSphere Packaging Team - 1.2.0-4 - Rebuilt for MSVSphere 10 ## START: Generated by rpmautospec * Thu Aug 29 2024 Michel Lind - 1.2.0-4 - Fix license listing * Fri Jul 19 2024 Fedora Release Engineering - 1.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Thu May 23 2024 Fabio Valentini - 1.2.0-2 - Rebuild with Rust 1.78 to fix incomplete debuginfo and backtraces * Sat Feb 24 2024 Michel Lind - 1.2.0-1 - Update to 1.2.0 (rhbz#2262586) * Fri Jan 26 2024 Fedora Release Engineering - 1.1.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Aug 06 2023 Fabio Valentini - 1.1.1-5 - Regenerate with rust2rpm v24 * Fri Jul 21 2023 Fedora Release Engineering - 1.1.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jan 20 2023 Fedora Release Engineering - 1.1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 1.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Apr 04 2022 Michel Alexandre Salim - 1.1.1-1 - Initial Fedora package ## END: Generated by rpmautospec