From 32f0e29427b650109cf66158a2fd4719773b2c90 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 20 Dec 2024 16:06:39 +0300 Subject: [PATCH] import rust-is_ci-1.2.0-4.el10 --- .gitignore | 1 + .rust-is_ci.metadata | 1 + SPECS/rust-is_ci.spec | 129 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 131 insertions(+) create mode 100644 .gitignore create mode 100644 .rust-is_ci.metadata create mode 100644 SPECS/rust-is_ci.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8945df9 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/is_ci-1.2.0.crate diff --git a/.rust-is_ci.metadata b/.rust-is_ci.metadata new file mode 100644 index 0000000..062b529 --- /dev/null +++ b/.rust-is_ci.metadata @@ -0,0 +1 @@ +3a2c9d18ccb9cdbf9f5000c8626fb68c5e38c646 SOURCES/is_ci-1.2.0.crate diff --git a/SPECS/rust-is_ci.spec b/SPECS/rust-is_ci.spec new file mode 100644 index 0000000..ae8ad8a --- /dev/null +++ b/SPECS/rust-is_ci.spec @@ -0,0 +1,129 @@ +## 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