## START: Set by rpmautospec ## (rpmautospec version 0.8.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 28 %bcond check 1 %global debug_package %{nil} %global crate cargo-lock Name: rust-cargo-lock Version: 11.0.1 Release: %autorelease Summary: Self-contained Cargo.lock parser with optional dependency graph analysis License: Apache-2.0 OR MIT URL: https://crates.io/crates/cargo-lock Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * prevent unused executable from being built and shipped Patch: cargo-lock-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Self-contained Cargo.lock parser with optional dependency graph analysis.} %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}/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 %package -n %{name}+dependency-tree-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+dependency-tree-devel %{_description} This package contains library source intended for building other packages which use the "dependency-tree" feature of the "%{crate}" crate. %files -n %{name}+dependency-tree-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+petgraph-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+petgraph-devel %{_description} This package contains library source intended for building other packages which use the "petgraph" feature of the "%{crate}" crate. %files -n %{name}+petgraph-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 ## START: Generated by rpmautospec * Fri Mar 20 2026 Fabio Valentini - 11.0.1-1 - Update to version 11.0.1; Fixes RHBZ#2430786 * Sat Jan 17 2026 Fedora Release Engineering - 11.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Fri Dec 12 2025 Benjamin A. Beasley - 11.0.0-1 - Update to version 11.0.0; Fixes RHBZ#2413481 * Fri Jul 25 2025 Fedora Release Engineering - 10.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Thu Jan 23 2025 Fabio Valentini - 10.1.0-1 - Update to version 10.1.0; Fixes RHBZ#2338801 * Sun Jan 19 2025 Fedora Release Engineering - 10.0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Mon Dec 02 2024 Fabio Valentini - 10.0.1-1 - Update to version 10.0.1; Fixes RHBZ#2318979 * Fri Jul 19 2024 Fedora Release Engineering - 9.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jan 26 2024 Fedora Release Engineering - 9.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Oct 18 2023 Fabio Valentini - 9.0.0-1 - Initial import (#2242763) ## END: Generated by rpmautospec