# Generated by rust2rpm 10 # * Dependencies are outdated %bcond_with check %global debug_package %{nil} %global crate petgraph Name: rust-%{crate} Version: 0.4.13 Release: 4%{?dist} Summary: Graph data structure library # Upstream license specification: MIT/Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/petgraph Source: %{crates_source} # Initial patched metadata # * Update dependencies, taken from upstream commits # * Update itertools to 0.8, https://github.com/bluss/petgraph/pull/247 # * Update quickcheck to 0.9, https://github.com/bluss/petgraph/pull/248 Patch0: petgraph-fix-metadata.diff # Complete update of indexmap and quickcheck Patch0001: 0001-upgrade-bincode-indexmap-quickcheck-and-rand.patch Patch0002: 0002-FIX-quickcheck-support-without-including-rand.patch ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} BuildArch: noarch %endif BuildRequires: rust-packaging %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 "%{crate}" crate. %files devel %license LICENSE-MIT LICENSE-APACHE %doc README.rst %{cargo_registry}/%{crate}-%{version}/ %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 "default" feature of "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version}/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 "all" feature of "%{crate}" crate. %files -n %{name}+all-devel %ghost %{cargo_registry}/%{crate}-%{version}/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 "generate" feature of "%{crate}" crate. %files -n %{name}+generate-devel %ghost %{cargo_registry}/%{crate}-%{version}/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 "graphmap" feature of "%{crate}" crate. %files -n %{name}+graphmap-devel %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %package -n %{name}+indexmap-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+indexmap-devel %{_description} This package contains library source intended for building other packages which use "indexmap" feature of "%{crate}" crate. %files -n %{name}+indexmap-devel %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %package -n %{name}+quickcheck-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+quickcheck-devel %{_description} This package contains library source intended for building other packages which use "quickcheck" feature of "%{crate}" crate. %files -n %{name}+quickcheck-devel %ghost %{cargo_registry}/%{crate}-%{version}/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 "serde" feature of "%{crate}" crate. %files -n %{name}+serde-devel %ghost %{cargo_registry}/%{crate}-%{version}/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 "serde-1" feature of "%{crate}" crate. %files -n %{name}+serde-1-devel %ghost %{cargo_registry}/%{crate}-%{version}/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 "serde_derive" feature of "%{crate}" crate. %files -n %{name}+serde_derive-devel %ghost %{cargo_registry}/%{crate}-%{version}/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 "stable_graph" feature of "%{crate}" crate. %files -n %{name}+stable_graph-devel %ghost %{cargo_registry}/%{crate}-%{version}/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 "unstable" feature of "%{crate}" crate. %files -n %{name}+unstable-devel %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog * 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