## 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 # * dev-dependencies are outdated %bcond check 0 %global debug_package %{nil} %global crate petgraph Name: rust-petgraph Version: 0.7.1 Release: %autorelease Summary: Graph data structure library License: MIT OR Apache-2.0 URL: https://crates.io/crates/petgraph Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * drop optional feature with outdated quickcheck dependency # * exclude files that are only useful for upstream development Patch: petgraph-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Graph data structure library. Provides graph types and graph algorithms.} %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}/CONTRIBUTING.rst %doc %{crate_instdir}/README.md %doc %{crate_instdir}/RELEASES.rst %{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}+all-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+all-devel %{_description} This package contains library source intended for building other packages which use the "all" feature of the "%{crate}" crate. %files -n %{name}+all-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+generate-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+generate-devel %{_description} This package contains library source intended for building other packages which use the "generate" feature of the "%{crate}" crate. %files -n %{name}+generate-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+graphmap-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+graphmap-devel %{_description} This package contains library source intended for building other packages which use the "graphmap" feature of the "%{crate}" crate. %files -n %{name}+graphmap-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+matrix_graph-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+matrix_graph-devel %{_description} This package contains library source intended for building other packages which use the "matrix_graph" feature of the "%{crate}" crate. %files -n %{name}+matrix_graph-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rayon-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rayon-devel %{_description} This package contains library source intended for building other packages which use the "rayon" feature of the "%{crate}" crate. %files -n %{name}+rayon-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}+serde-1-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+serde-1-devel %{_description} This package contains library source intended for building other packages which use the "serde-1" feature of the "%{crate}" crate. %files -n %{name}+serde-1-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serde_derive-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+serde_derive-devel %{_description} This package contains library source intended for building other packages which use the "serde_derive" feature of the "%{crate}" crate. %files -n %{name}+serde_derive-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+stable_graph-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+stable_graph-devel %{_description} This package contains library source intended for building other packages which use the "stable_graph" feature of the "%{crate}" crate. %files -n %{name}+stable_graph-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unstable-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+unstable-devel %{_description} This package contains library source intended for building other packages which use the "unstable" feature of the "%{crate}" crate. %files -n %{name}+unstable-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 * Thu Jan 16 2025 Benjamin A. Beasley - 0.7.1-1 - Update to version 0.7.1; Fixes RHBZ#2334959 * Mon Sep 23 2024 Benjamin A. Beasley - 0.6.5-1 - Update to version 0.6.5 * Sun Sep 22 2024 Benjamin A. Beasley - 0.6.4-4 - Port from rust2rpm.conf to rust2rpm.toml * Sat Jul 20 2024 Fedora Release Engineering - 0.6.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jan 26 2024 Fedora Release Engineering - 0.6.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Aug 23 2023 Fabio Valentini - 0.6.4-1 - Update to version 0.6.4; Fixes RHBZ#2233060 * Fri Jul 21 2023 Fedora Release Engineering - 0.6.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Feb 07 2023 Fabio Valentini - 0.6.3-1 - Update to version 0.6.3; Fixes RHBZ#2167552 * Sat Jan 21 2023 Fedora Release Engineering - 0.6.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 0.6.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat Jul 16 2022 Fabio Valentini - 0.6.2-1 - Update to version 0.6.2; Fixes RHBZ#2091335 * Tue May 24 2022 Fabio Valentini - 0.6.1-1 - Update to version 0.6.1; Fixes RHBZ#1979090 * Fri Jan 21 2022 Fedora Release Engineering - 0.5.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.5.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.5.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.5.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Josh Stone - 0.5.1-1 - Update to 0.5.1 * Wed May 06 2020 Josh Stone - 0.5.0-3 - Bump fixedbitset to 0.3 * Thu Jan 30 2020 Fedora Release Engineering - 0.5.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jan 16 2020 Josh Stone - 0.5.0-1 - Update to 0.5.0 * Fri Sep 13 21:41:23 CEST 2019 Robert-André Mauchin - 0.4.13-3 - Update quickcheck to 0.9 * Fri Jul 26 2019 Fedora Release Engineering - 0.4.13-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun Apr 28 19:27:03 CEST 2019 Igor Gnatenko - 0.4.13-1 - Initial package ## END: Generated by rpmautospec