From cb9e7de877430048002a5e61149f982ddf0c97ad Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 20 Dec 2024 15:43:05 +0300 Subject: [PATCH] import rust-gix-lock-14.0.0-2.el10 --- .gitignore | 1 + .rust-gix-lock.metadata | 1 + SPECS/rust-gix-lock.spec | 100 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 102 insertions(+) create mode 100644 .gitignore create mode 100644 .rust-gix-lock.metadata create mode 100644 SPECS/rust-gix-lock.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1ffb73f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/gix-lock-14.0.0.crate diff --git a/.rust-gix-lock.metadata b/.rust-gix-lock.metadata new file mode 100644 index 0000000..a3aade4 --- /dev/null +++ b/.rust-gix-lock.metadata @@ -0,0 +1 @@ +779d838d957e4bec20566ef4c18aa543ee6f8cf5 SOURCES/gix-lock-14.0.0.crate diff --git a/SPECS/rust-gix-lock.spec b/SPECS/rust-gix-lock.spec new file mode 100644 index 0000000..e3182dd --- /dev/null +++ b/SPECS/rust-gix-lock.spec @@ -0,0 +1,100 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.2) +## 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 26 +%bcond_without check +%global debug_package %{nil} + +%global crate gix-lock + +Name: rust-gix-lock +Version: 14.0.0 +Release: %autorelease +Summary: Git-style lock-file implementation + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/gix-lock +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +A git-style lock-file implementation.} + +%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 + +%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 - 14.0.0-2 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Fri Jul 19 2024 Fedora Release Engineering - 14.0.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Sun Jun 23 2024 blinxen - 14.0.0-1 +- Update to version 14.0.0 (rhbz#2282450) + +* Fri Apr 05 2024 blinxen - 13.1.1-1 +- Update to version 13.1.1 (rhbz#2253267) + +* Fri Jan 26 2024 Fedora Release Engineering - 11.0.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Oct 13 2023 blinxen - 11.0.0-1 +- Update to version 11.0.0 + +* Thu Sep 21 2023 blinxen - 9.0.0-1 +- Initial package (rhbz#2239506) +## END: Generated by rpmautospec