## START: Set by rpmautospec ## (rpmautospec version 0.7.1) ## 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 26 %bcond_without check %global debug_package %{nil} %global crate gix-object Name: rust-gix-object Version: 0.44.0 Release: %autorelease Summary: Immutable and mutable git objects with decoding and encoding support License: MIT OR Apache-2.0 URL: https://crates.io/crates/gix-object Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 BuildRequires: tomcli %global _description %{expand: Immutable and mutable git objects with decoding and encoding support.} %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 %package -n %{name}+document-features-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+document-features-devel %{_description} This package contains library source intended for building other packages which use the "document-features" feature of the "%{crate}" crate. %files -n %{name}+document-features-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serde-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+serde-devel %{_description} This package contains library source intended for building other packages which use the "serde" feature of the "%{crate}" crate. %files -n %{name}+serde-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+verbose-object-parsing-errors-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+verbose-object-parsing-errors-devel %{_description} This package contains library source intended for building other packages which use the "verbose-object-parsing-errors" feature of the "%{crate}" crate. %files -n %{name}+verbose-object-parsing-errors-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version} -p1 # Drop benchmark dependency tomcli-set Cargo.toml del 'dev-dependencies.criterion' %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog ## START: Generated by rpmautospec * Sat Sep 07 2024 blinxen - 0.44.0-1 - Uncommitted changes * Thu Jul 25 2024 blinxen - 0.42.3-1 - Update to version 0.42.3 * Fri Jul 19 2024 Fedora Release Engineering - 0.42.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sun Jun 23 2024 blinxen - 0.42.2-1 - Update to version 0.42.2 (rhbz#2282454) * Fri Apr 05 2024 blinxen - 0.42.1-1 - Update to version 0.42.1 (rhbz#2253237) * Fri Jan 26 2024 Fedora Release Engineering - 0.38.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Oct 13 2023 blinxen - 0.38.0-1 - Update to version 0.38.0 * Thu Oct 05 2023 blinxen - 0.37.0-1 - Update to version 0.37.0 (rhbz#2240470) * Thu Sep 14 2023 blinxen - 0.36.0-1 - Update to version 0.36.0 (rhbz#2233477) * Fri Aug 18 2023 Fabio Valentini - 0.34.0-1 - Update to version 0.34.0; Fixes RHBZ#2229632 * Thu Aug 03 2023 Fabio Valentini - 0.33.1-1 - Initial import (#2228530) ## END: Generated by rpmautospec