commit 2a591d295e22ad4504c59a3ac49d676327896e91 Author: tigro Date: Mon Jan 15 12:02:30 2024 +0300 import rust-is_ci-1.1.1-2.el9 diff --git a/.rust-is_ci.metadata b/.rust-is_ci.metadata new file mode 100644 index 0000000..e69de29 diff --git a/SOURCES/is_ci-1.1.1.crate b/SOURCES/is_ci-1.1.1.crate new file mode 100644 index 0000000..718d35f Binary files /dev/null and b/SOURCES/is_ci-1.1.1.crate differ diff --git a/SPECS/rust-is_ci.spec b/SPECS/rust-is_ci.spec new file mode 100644 index 0000000..9076f99 --- /dev/null +++ b/SPECS/rust-is_ci.spec @@ -0,0 +1,89 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.3.0) +%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 21 +%bcond_without check +%global debug_package %{nil} + +%global crate is_ci + +Name: rust-%{crate} +Version: 1.1.1 +Release: %autorelease +Summary: Super lightweight CI environment checker + +# Upstream license specification: ISC +License: ISC +URL: https://crates.io/crates/is_ci +Source: %{crates_source} + +ExclusiveArch: %{rust_arches} + +BuildRequires: rust-packaging >= 21 + +%global _description %{expand: +Super lightweight CI environment checker. Just tells you if you're in CI or not +without much fuss.} + +%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}/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_no_tilde} -p1 +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +* Mon Jan 15 2024 Arkady L. Shane - 1.1.1-2 +- Rebuilt for MSVSphere 9.3 + +* 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