From 97c1d22adcdc31f085d7a8e934888071d7742e68 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 20 Dec 2024 15:40:06 +0300 Subject: [PATCH] import rust-gix-command-0.3.11-1.el10 --- .gitignore | 1 + .rust-gix-command.metadata | 1 + SOURCES/rust2rpm.toml | 6 ++ SPECS/rust-gix-command.spec | 118 ++++++++++++++++++++++++++++++++++++ 4 files changed, 126 insertions(+) create mode 100644 .gitignore create mode 100644 .rust-gix-command.metadata create mode 100644 SOURCES/rust2rpm.toml create mode 100644 SPECS/rust-gix-command.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5e2f26d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/gix-command-0.3.11.crate diff --git a/.rust-gix-command.metadata b/.rust-gix-command.metadata new file mode 100644 index 0000000..21efc07 --- /dev/null +++ b/.rust-gix-command.metadata @@ -0,0 +1 @@ +3997954bfb8762cf5b8cb2495fee92eec5c72810 SOURCES/gix-command-0.3.11.crate diff --git a/SOURCES/rust2rpm.toml b/SOURCES/rust2rpm.toml new file mode 100644 index 0000000..4de7ed2 --- /dev/null +++ b/SOURCES/rust2rpm.toml @@ -0,0 +1,6 @@ +[package] +summary = "Handle gitoxide internal git command execution" + +[tests] +run = ["none"] +comments = ["Deactivate tests because of a missing dev-dependency (gix-testtools)"] diff --git a/SPECS/rust-gix-command.spec b/SPECS/rust-gix-command.spec new file mode 100644 index 0000000..3062b45 --- /dev/null +++ b/SPECS/rust-gix-command.spec @@ -0,0 +1,118 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.3) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 1; + 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 27 +# * Deactivate tests because of a missing dev-dependency (gix-testtools) +%bcond check 0 +%global debug_package %{nil} + +%global crate gix-command + +Name: rust-gix-command +Version: 0.3.11 +Release: %autorelease +Summary: Handle gitoxide internal git command execution + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/gix-command +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +A crate of the gitoxide project handling internal git command execution.} + +%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 +%{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 + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +* Fri Dec 20 2024 MSVSphere Packaging Team - 0.3.11-1 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Thu Nov 28 2024 Fabio Valentini - 0.3.11-1 +- Update to version 0.3.11; Fixes RHBZ#2321150 + +* Tue Sep 10 2024 blinxen - 0.3.9-1 +- Update to version 0.3.9 (rhbz#2307377) + +* Thu Jul 25 2024 blinxen - 0.3.8-1 +- Update to version 0.3.8 (rhbz#2299563) + +* Fri Jul 19 2024 Fedora Release Engineering - 0.3.7-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Sun Jun 23 2024 blinxen - 0.3.7-1 +- Update to version 0.3.7 (rhbz#2282444) + +* Fri Apr 05 2024 blinxen - 0.3.6-1 +- Update to version 0.3.6 (rhbz#2253262) + +* Fri Jan 26 2024 Fedora Release Engineering - 0.2.10-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Oct 13 2023 blinxen - 0.2.10-1 +- Update to version 0.2.10 + +* Wed Aug 23 2023 Fabio Valentini - 0.2.9-1 +- Update to version 0.2.9; Fixes RHBZ#2233471 + +* Thu Jul 27 2023 Fabio Valentini - 0.2.8-1 +- Update to version 0.2.8; Fixes RHBZ#2224734 + +* Thu Jul 20 2023 blinxen - 0.2.7-1 +- Update to version 0.2.7 (rhbz#2223899) + +* Wed Jul 05 2023 blinxen - 0.2.6-1 +- Initial package +## END: Generated by rpmautospec