## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 5; 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 %bcond check 1 %global debug_package %{nil} %global crate asyncgit Name: rust-asyncgit Version: 0.27.0 Release: %autorelease Summary: Allow using git2 in a asynchronous context License: MIT URL: https://crates.io/crates/asyncgit Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * bump gix dependency to 0.73 # * remove feature for building / statically linking vendored OpenSSL sources # * allow dirs 6: # https://github.com/gitui-org/gitui/commit/9781608584151ae4932515b8d356f77110e24a0a Patch: asyncgit-fix-metadata.diff # * Backport PR 2567 (https://github.com/gitui-org/gitui/pull/2567 Patch10: pr-2567.diff BuildRequires: cargo-rpm-macros >= 24 %if %{with check} BuildRequires: /usr/bin/git %endif %global _description %{expand: Allow using git2 in a asynchronous context.} %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.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 %package -n %{name}+trace-libgit-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+trace-libgit-devel %{_description} This package contains library source intended for building other packages which use the "trace-libgit" feature of the "%{crate}" crate. %files -n %{name}+trace-libgit-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 # * skip tests which require internet connectivity %cargo_test -- -- --skip sync::submodules::tests::test_smoke %endif %changelog ## START: Generated by rpmautospec * Sun Nov 23 2025 Benjamin A. Beasley - 0.27.0-5 - Allow dirs 6 * Tue Aug 12 2025 blinxen - 0.27.0-4 - Update gix dependency to 0.73 * Fri Jul 25 2025 Fedora Release Engineering - 0.27.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Mon Jul 21 2025 blinxen - 0.27.0-2 - Backport upstream PR 2567 * Mon Jul 21 2025 blinxen - 0.27.0-1 - Update to version 0.27.0 (rhbz#2337480) * Sun Jan 19 2025 Fedora Release Engineering - 0.26.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Tue Oct 29 2024 Fabio Valentini - 0.26.3-3 - Bump git2 from 0.18 to 0.19 and git2-hooks from 0.3 to 0.4 * Fri Jul 19 2024 Fedora Release Engineering - 0.26.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sun Jun 02 2024 Fabio Valentini - 0.26.3-1 - Update to version 0.26.3; Fixes RHBZ#2265321 * Tue Feb 13 2024 Fabio Valentini - 0.24.3-3 - Bump git2 dependency from 0.17 to 0.18 * Fri Jan 26 2024 Fedora Release Engineering - 0.24.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Nov 13 2023 Fabio Valentini - 0.24.3-1 - Update to version 0.24.3; Fixes RHBZ#2235175 * Sun Jul 30 2023 Fabio Valentini - 0.23.0-1 - Update to version 0.23.0; Fixes RHBZ#2119183 * Fri Jul 21 2023 Fedora Release Engineering - 0.20.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jan 20 2023 Fedora Release Engineering - 0.20.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 0.20.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sun Feb 20 2022 Igor Raits - 0.20.1-1 - Update to 0.20.1 * Fri Jan 21 2022 Fedora Release Engineering - 0.16.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.16.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sun Jul 18 2021 Igor Raits - 0.16.3-2 - fixup! Update to 0.16.3 * Sun Jul 18 2021 Igor Raits - 0.16.3-1 - Update to 0.16.3 * Sun Mar 21 2021 Igor Raits - 0.13.0-2 - Skip more tests that require internet * Sun Mar 21 2021 Igor Raits - 0.13.0-1 - Update to 0.13.0 * Wed Jan 27 2021 Fedora Release Engineering - 0.11.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Dec 28 2020 Igor Raits - 0.11.0-4 - Skip some test * Sun Dec 27 2020 Igor Raits - 0.11.0-3 - fixup! Fixup build * Sun Dec 27 2020 Igor Raits - 0.11.0-2 - Fixup build * Sun Dec 27 2020 Igor Raits - 0.11.0-1 - Update to 0.11.0 * Sat Aug 29 2020 Igor Raits - 0.10.0-1 - Update to 0.10.0 * Tue Aug 18 2020 Igor Raits - 0.9.0-1 - Update to 0.9.0 * Wed Jul 29 2020 Fedora Release Engineering - 0.8.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jul 10 2020 Josh Stone - 0.8.1-1 - Update to 0.8.1 * Mon Jul 06 2020 Igor Raits - 0.8.0-1 - Update to 0.8.0 * Mon Jun 15 2020 Igor Raits - 0.7.0-1 - Update to 0.7.0 * Wed Jun 10 2020 Josh Stone - 0.6.0-1 - Update to 0.6.0 * Mon Jun 01 2020 Josh Stone - 0.5.0-1 - Update to 0.5.0 * Thu May 28 2020 Igor Raits - 0.4.0-2 - BR: git for tests * Thu May 28 2020 Igor Raits - 0.4.0-1 - Initial import ## END: Generated by rpmautospec