The package rpms/rust-inferno.git has added or updated architecture specific content in
its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/rust-inferno.git/commit/?id=f2f44....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 707f6ecb3335745524a473fc3b0569c809dc0546
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Thu Jul 28 22:58:55 2022 +0200
Update to version 0.11.7; Fixes RHBZ#2060252
diff --git a/.gitignore b/.gitignore
index d54c749..6eb4a3f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/inferno-0.10.8.crate
+/inferno-0.11.7.crate
diff --git a/LICENSE.dependencies b/LICENSE.dependencies
new file mode 100644
index 0000000..9158790
--- /dev/null
+++ b/LICENSE.dependencies
@@ -0,0 +1,44 @@
+ASL 2.0 or MIT: rust-autocfg 1.1.0
+ASL 2.0 or MIT: rust-indexmap 1.9.1
+MIT OR Apache-2.0: rust-clap 3.2.15
+MIT OR Apache-2.0: rust-clap_derive 3.2.15
+MIT OR Apache-2.0: rust-clap_lex 0.2.4
+MIT OR Apache-2.0: rust-crossbeam-channel 0.5.6
+MIT OR Apache-2.0: rust-crossbeam-utils 0.8.11
+MIT or ASL 2.0: rust-ahash 0.7.6
+MIT or ASL 2.0: rust-arrayvec0.5 0.5.2
+MIT or ASL 2.0: rust-bitflags 1.3.2
+MIT or ASL 2.0: rust-cfg-if 1.0.0
+MIT or ASL 2.0: rust-env_logger 0.9.0
+MIT or ASL 2.0: rust-getrandom 0.2.7
+MIT or ASL 2.0: rust-hashbrown 0.12.3
+MIT or ASL 2.0: rust-heck 0.4.0
+MIT or ASL 2.0: rust-itoa 1.0.2
+MIT or ASL 2.0: rust-itoa0.4 0.4.8
+MIT or ASL 2.0: rust-libc 0.2.126
+MIT or ASL 2.0: rust-lock_api 0.4.7
+MIT or ASL 2.0: rust-log 0.4.17
+MIT or ASL 2.0: rust-num-format 0.4.0
+MIT or ASL 2.0: rust-num_cpus 1.13.1
+MIT or ASL 2.0: rust-once_cell 1.13.0
+MIT or ASL 2.0: rust-os_str_bytes 6.1.0
+MIT or ASL 2.0: rust-parking_lot_core 0.9.3
+MIT or ASL 2.0: rust-proc-macro-error 1.0.4
+MIT or ASL 2.0: rust-proc-macro-error-attr 1.0.4
+MIT or ASL 2.0: rust-proc-macro2 1.0.40
+MIT or ASL 2.0: rust-quote 1.0.20
+MIT or ASL 2.0: rust-scopeguard 1.1.0
+MIT or ASL 2.0: rust-smallvec 1.9.0
+MIT or ASL 2.0: rust-str_stack 0.1.0
+MIT or ASL 2.0: rust-syn 1.0.98
+MIT or ASL 2.0: rust-unicode-ident 1.0.1
+MIT or ASL 2.0: rust-version_check 0.9.4
+MIT: rust-atty 0.2.14
+MIT: rust-dashmap 5.3.4
+MIT: rust-quick-xml 0.23.0
+MIT: rust-rgb 0.8.33
+MIT: rust-strsim 0.10.0
+MIT: rust-textwrap 0.15.0
+Unlicense or MIT: rust-memchr 2.5.0
+Unlicense or MIT: rust-termcolor 1.1.3
+Zlib OR Apache-2.0 OR MIT: rust-bytemuck 1.11.0
diff --git a/inferno-fix-metadata.diff b/inferno-fix-metadata.diff
new file mode 100644
index 0000000..91a0d8a
--- /dev/null
+++ b/inferno-fix-metadata.diff
@@ -0,0 +1,12 @@
+--- inferno-0.11.7/Cargo.toml 1970-01-01T00:00:01+00:00
++++ inferno-0.11.7/Cargo.toml 2022-07-28T20:49:16.776955+00:00
+@@ -154,9 +154,6 @@
+ [dev-dependencies.assert_cmd]
+ version = "2"
+
+-[dev-dependencies.criterion]
+-version = "0.3"
+-
+ [dev-dependencies.libflate]
+ version = "1"
+
diff --git a/rust-inferno.spec b/rust-inferno.spec
index 7979027..acd30c8 100644
--- a/rust-inferno.spec
+++ b/rust-inferno.spec
@@ -1,21 +1,24 @@
-# Generated by rust2rpm 20
+# Generated by rust2rpm 22
%bcond_without check
%global crate inferno
-Name: rust-%{crate}
-Version: 0.10.8
+Name: rust-inferno
+Version: 0.11.7
Release: %autorelease
Summary: Rust port of the FlameGraph performance profiling tool suite
-# Upstream license specification: CDDL-1.0
License: CDDL-1.0
URL:
https://crates.io/crates/inferno
-Source: %{crates_source}
+Source0: %{crates_source}
+Source1: LICENSE.dependencies
+# Manually created patch for downstream crate metadata changes
+# * drop unused, benchmark-only criterion dev-dependency to speed up builds
+Patch: inferno-fix-metadata.diff
ExclusiveArch: %{rust_arches}
-BuildRequires: rust-packaging
+BuildRequires: rust-packaging >= 21
%global _description %{expand:
Rust port of the FlameGraph performance profiling tool suite.}
@@ -31,19 +34,23 @@ Summary: %{summary}
# Unlicense or MIT
# zlib or ASL 2.0 or MIT
License: CDDL-1.0 and MIT
+# LICENSE.dependencies contains a full license breakdown
%description -n %{crate} %{_description}
%files -n %{crate}
%license LICENSE
-%doc README.md CHANGELOG.md
-%{_bindir}/inferno-diff-folded
+%license LICENSE.dependencies
+%doc CHANGELOG.md
+%doc README.md
%{_bindir}/inferno-collapse-dtrace
+%{_bindir}/inferno-collapse-guess
+%{_bindir}/inferno-collapse-perf
%{_bindir}/inferno-collapse-sample
+%{_bindir}/inferno-collapse-vsprof
%{_bindir}/inferno-collapse-vtune
-%{_bindir}/inferno-collapse-guess
+%{_bindir}/inferno-diff-folded
%{_bindir}/inferno-flamegraph
-%{_bindir}/inferno-collapse-perf
%package devel
Summary: %{summary}
@@ -55,9 +62,10 @@ This package contains library source intended for building other
packages which
use the "%{crate}" crate.
%files devel
-%license LICENSE
-%doc README.md CHANGELOG.md
-%{cargo_registry}/%{crate}-%{version_no_tilde}/
+%license %{crate_instdir}/LICENSE
+%doc %{crate_instdir}/CHANGELOG.md
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@@ -69,7 +77,19 @@ 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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+clap-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+clap-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "clap" feature of the "%{crate}" crate.
+
+%files -n %{name}+clap-devel
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+cli-devel
Summary: %{summary}
@@ -81,7 +101,7 @@ This package contains library source intended for building other
packages which
use the "cli" feature of the "%{crate}" crate.
%files -n %{name}+cli-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+crossbeam-channel-devel
Summary: %{summary}
@@ -93,7 +113,7 @@ This package contains library source intended for building other
packages which
use the "crossbeam-channel" feature of the "%{crate}" crate.
%files -n %{name}+crossbeam-channel-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+crossbeam-utils-devel
Summary: %{summary}
@@ -105,7 +125,7 @@ This package contains library source intended for building other
packages which
use the "crossbeam-utils" feature of the "%{crate}" crate.
%files -n %{name}+crossbeam-utils-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+dashmap-devel
Summary: %{summary}
@@ -117,7 +137,7 @@ This package contains library source intended for building other
packages which
use the "dashmap" feature of the "%{crate}" crate.
%files -n %{name}+dashmap-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+env_logger-devel
Summary: %{summary}
@@ -129,7 +149,7 @@ This package contains library source intended for building other
packages which
use the "env_logger" feature of the "%{crate}" crate.
%files -n %{name}+env_logger-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+indexmap-devel
Summary: %{summary}
@@ -141,7 +161,7 @@ This package contains library source intended for building other
packages which
use the "indexmap" feature of the "%{crate}" crate.
%files -n %{name}+indexmap-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+multithreaded-devel
Summary: %{summary}
@@ -153,7 +173,7 @@ This package contains library source intended for building other
packages which
use the "multithreaded" feature of the "%{crate}" crate.
%files -n %{name}+multithreaded-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+nameattr-devel
Summary: %{summary}
@@ -165,7 +185,7 @@ This package contains library source intended for building other
packages which
use the "nameattr" feature of the "%{crate}" crate.
%files -n %{name}+nameattr-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+num_cpus-devel
Summary: %{summary}
@@ -177,22 +197,11 @@ This package contains library source intended for building other
packages which
use the "num_cpus" feature of the "%{crate}" crate.
%files -n %{name}+num_cpus-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
-
-%package -n %{name}+structopt-devel
-Summary: %{summary}
-BuildArch: noarch
-
-%description -n %{name}+structopt-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "structopt" feature of the "%{crate}" crate.
-
-%files -n %{name}+structopt-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
+cp %{SOURCE1} .
%cargo_prep
%generate_buildrequires
@@ -206,8 +215,8 @@ use the "structopt" feature of the "%{crate}"
crate.
%if %{with check}
%check
-# Skip failing tests due to missing files
-%cargo_test -- -- --skip collapse::dtrace::tests::test_collapse_multi_dtrace --skip
collapse::dtrace::tests::test_collapse_multi_dtrace_simple --skip
collapse::perf::tests::test_collapse_multi_perf --skip
collapse::perf::tests::test_collapse_multi_perf_simple --skip
collapse::perf::tests::test_skip_after
+# * skip tests that require files which are not included in published crates
+%cargo_test -- -- --skip test_collapse_multi_dtrace --skip test_collapse_multi_perf
--skip test_multiple_skip_after --skip test_one_skip_after
%endif
%changelog
diff --git a/sources b/sources
index 15e9515..baac88c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (inferno-0.10.8.crate) =
1d5f3c2dc67c6ab4ad1b7f379dbd33ebd596ae35808ae998247a1f8448b57299d9b66a40f4cca03bf9448a8f274682dafec1fa1e6cbf17ea8e66e2f623c0c12d
+SHA512 (inferno-0.11.7.crate) =
102def82a4f7c3cc5d61d8f07580199735c4b2f86f2744bb3bb08a911198393771d50363526bc5b583cc4b39d4aa45f9471effe62dd09d9cc7c75df7b14507a9
commit e208d050d004fb62d3f07173f5380d43468d7b23
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Sat Jul 23 04:40:16 2022 +0000
Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
commit 34963a5dd920916b4bbc63d085c36b8f04c04ed0
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Fri Feb 25 18:22:10 2022 +0100
Remove obsolete version downgrades; fix license of binary subpackage
diff --git a/inferno-fix-metadata.diff b/inferno-fix-metadata.diff
deleted file mode 100644
index 7501c34..0000000
--- a/inferno-fix-metadata.diff
+++ /dev/null
@@ -1,29 +0,0 @@
---- inferno-0.10.8/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ inferno-0.10.8/Cargo.toml 2021-11-08T22:52:13.133699+00:00
-@@ -91,7 +91,7 @@
- optional = true
-
- [dependencies.env_logger]
--version = "0.9"
-+version = "0.8"
- optional = true
- default-features = false
-
-@@ -130,7 +130,7 @@
- version = "0.3"
- optional = true
- [dev-dependencies.assert_cmd]
--version = "2"
-+version = "1"
-
- [dev-dependencies.criterion]
- version = "0.3"
-@@ -142,7 +142,7 @@
- version = "1.0.1"
-
- [dev-dependencies.pretty_assertions]
--version = "1"
-+version = "0.7"
-
- [dev-dependencies.rand]
- version = "0.8"
diff --git a/rust-inferno.spec b/rust-inferno.spec
index 7e12e0c..7979027 100644
--- a/rust-inferno.spec
+++ b/rust-inferno.spec
@@ -1,4 +1,4 @@
-# Generated by rust2rpm 18
+# Generated by rust2rpm 20
%bcond_without check
%global crate inferno
@@ -12,14 +12,8 @@ Summary: Rust port of the FlameGraph performance profiling tool
suite
License: CDDL-1.0
URL:
https://crates.io/crates/inferno
Source: %{crates_source}
-# Initial patched metadata
-# Temporarily downgrade assert_cmd, env_logger, pretty_assertions
-Patch0: inferno-fix-metadata.diff
ExclusiveArch: %{rust_arches}
-%if %{__cargo_skip_build}
-BuildArch: noarch
-%endif
BuildRequires: rust-packaging
@@ -28,9 +22,15 @@ Rust port of the FlameGraph performance profiling tool suite.}
%description %{_description}
-%if ! %{__cargo_skip_build}
%package -n %{crate}
Summary: %{summary}
+# ASL 2.0 or MIT
+# CDDL-1.0
+# MIT
+# MIT or ASL 2.0
+# Unlicense or MIT
+# zlib or ASL 2.0 or MIT
+License: CDDL-1.0 and MIT
%description -n %{crate} %{_description}
@@ -44,7 +44,6 @@ Summary: %{summary}
%{_bindir}/inferno-collapse-guess
%{_bindir}/inferno-flamegraph
%{_bindir}/inferno-collapse-perf
-%endif
%package devel
Summary: %{summary}
@@ -52,8 +51,8 @@ BuildArch: noarch
%description devel %{_description}
-This package contains library source intended for building other packages
-which use "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "%{crate}" crate.
%files devel
%license LICENSE
@@ -66,8 +65,8 @@ 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.
+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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
@@ -78,8 +77,8 @@ BuildArch: noarch
%description -n %{name}+cli-devel %{_description}
-This package contains library source intended for building other packages
-which use "cli" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "cli" feature of the "%{crate}" crate.
%files -n %{name}+cli-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
@@ -90,8 +89,8 @@ BuildArch: noarch
%description -n %{name}+crossbeam-channel-devel %{_description}
-This package contains library source intended for building other packages
-which use "crossbeam-channel" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "crossbeam-channel" feature of the "%{crate}" crate.
%files -n %{name}+crossbeam-channel-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
@@ -102,8 +101,8 @@ BuildArch: noarch
%description -n %{name}+crossbeam-utils-devel %{_description}
-This package contains library source intended for building other packages
-which use "crossbeam-utils" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "crossbeam-utils" feature of the "%{crate}" crate.
%files -n %{name}+crossbeam-utils-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
@@ -114,8 +113,8 @@ BuildArch: noarch
%description -n %{name}+dashmap-devel %{_description}
-This package contains library source intended for building other packages
-which use "dashmap" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "dashmap" feature of the "%{crate}" crate.
%files -n %{name}+dashmap-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
@@ -126,8 +125,8 @@ BuildArch: noarch
%description -n %{name}+env_logger-devel %{_description}
-This package contains library source intended for building other packages
-which use "env_logger" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "env_logger" feature of the "%{crate}" crate.
%files -n %{name}+env_logger-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
@@ -138,8 +137,8 @@ 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.
+This package contains library source intended for building other packages which
+use the "indexmap" feature of the "%{crate}" crate.
%files -n %{name}+indexmap-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
@@ -150,8 +149,8 @@ BuildArch: noarch
%description -n %{name}+multithreaded-devel %{_description}
-This package contains library source intended for building other packages
-which use "multithreaded" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "multithreaded" feature of the "%{crate}" crate.
%files -n %{name}+multithreaded-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
@@ -162,8 +161,8 @@ BuildArch: noarch
%description -n %{name}+nameattr-devel %{_description}
-This package contains library source intended for building other packages
-which use "nameattr" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "nameattr" feature of the "%{crate}" crate.
%files -n %{name}+nameattr-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
@@ -174,8 +173,8 @@ BuildArch: noarch
%description -n %{name}+num_cpus-devel %{_description}
-This package contains library source intended for building other packages
-which use "num_cpus" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "num_cpus" feature of the "%{crate}" crate.
%files -n %{name}+num_cpus-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
@@ -186,8 +185,8 @@ BuildArch: noarch
%description -n %{name}+structopt-devel %{_description}
-This package contains library source intended for building other packages
-which use "structopt" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "structopt" feature of the "%{crate}" crate.
%files -n %{name}+structopt-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
commit d578d35307ce81c64af8956146e64f8e25a1842e
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Fri Jan 21 21:25:27 2022 +0000
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
commit f2f443f17666d248ea13f7c1402657233af6d717
Author: Davide Cavalca <dcavalca(a)fedoraproject.org>
Date: Thu Nov 18 10:42:39 2021 -0800
Initial import; Fixes: RHBZ#2021345
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..d54c749
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/inferno-0.10.8.crate
diff --git a/inferno-fix-metadata.diff b/inferno-fix-metadata.diff
new file mode 100644
index 0000000..7501c34
--- /dev/null
+++ b/inferno-fix-metadata.diff
@@ -0,0 +1,29 @@
+--- inferno-0.10.8/Cargo.toml 1970-01-01T00:00:01+00:00
++++ inferno-0.10.8/Cargo.toml 2021-11-08T22:52:13.133699+00:00
+@@ -91,7 +91,7 @@
+ optional = true
+
+ [dependencies.env_logger]
+-version = "0.9"
++version = "0.8"
+ optional = true
+ default-features = false
+
+@@ -130,7 +130,7 @@
+ version = "0.3"
+ optional = true
+ [dev-dependencies.assert_cmd]
+-version = "2"
++version = "1"
+
+ [dev-dependencies.criterion]
+ version = "0.3"
+@@ -142,7 +142,7 @@
+ version = "1.0.1"
+
+ [dev-dependencies.pretty_assertions]
+-version = "1"
++version = "0.7"
+
+ [dev-dependencies.rand]
+ version = "0.8"
diff --git a/rust-inferno.spec b/rust-inferno.spec
new file mode 100644
index 0000000..7e12e0c
--- /dev/null
+++ b/rust-inferno.spec
@@ -0,0 +1,215 @@
+# Generated by rust2rpm 18
+%bcond_without check
+
+%global crate inferno
+
+Name: rust-%{crate}
+Version: 0.10.8
+Release: %autorelease
+Summary: Rust port of the FlameGraph performance profiling tool suite
+
+# Upstream license specification: CDDL-1.0
+License: CDDL-1.0
+URL:
https://crates.io/crates/inferno
+Source: %{crates_source}
+# Initial patched metadata
+# Temporarily downgrade assert_cmd, env_logger, pretty_assertions
+Patch0: inferno-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Rust port of the FlameGraph performance profiling tool suite.}
+
+%description %{_description}
+
+%if ! %{__cargo_skip_build}
+%package -n %{crate}
+Summary: %{summary}
+
+%description -n %{crate} %{_description}
+
+%files -n %{crate}
+%license LICENSE
+%doc README.md CHANGELOG.md
+%{_bindir}/inferno-diff-folded
+%{_bindir}/inferno-collapse-dtrace
+%{_bindir}/inferno-collapse-sample
+%{_bindir}/inferno-collapse-vtune
+%{_bindir}/inferno-collapse-guess
+%{_bindir}/inferno-flamegraph
+%{_bindir}/inferno-collapse-perf
+%endif
+
+%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
+%doc README.md CHANGELOG.md
+%{cargo_registry}/%{crate}-%{version_no_tilde}/
+
+%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_no_tilde}/Cargo.toml
+
+%package -n %{name}+cli-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+cli-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "cli" feature of "%{crate}" crate.
+
+%files -n %{name}+cli-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+crossbeam-channel-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+crossbeam-channel-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "crossbeam-channel" feature of "%{crate}" crate.
+
+%files -n %{name}+crossbeam-channel-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+crossbeam-utils-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+crossbeam-utils-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "crossbeam-utils" feature of "%{crate}" crate.
+
+%files -n %{name}+crossbeam-utils-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+dashmap-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+dashmap-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "dashmap" feature of "%{crate}" crate.
+
+%files -n %{name}+dashmap-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+env_logger-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+env_logger-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "env_logger" feature of "%{crate}" crate.
+
+%files -n %{name}+env_logger-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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_no_tilde}/Cargo.toml
+
+%package -n %{name}+multithreaded-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+multithreaded-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "multithreaded" feature of "%{crate}" crate.
+
+%files -n %{name}+multithreaded-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+nameattr-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+nameattr-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "nameattr" feature of "%{crate}" crate.
+
+%files -n %{name}+nameattr-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+num_cpus-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+num_cpus-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "num_cpus" feature of "%{crate}" crate.
+
+%files -n %{name}+num_cpus-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+structopt-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+structopt-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "structopt" feature of "%{crate}" crate.
+
+%files -n %{name}+structopt-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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
+# Skip failing tests due to missing files
+%cargo_test -- -- --skip collapse::dtrace::tests::test_collapse_multi_dtrace --skip
collapse::dtrace::tests::test_collapse_multi_dtrace_simple --skip
collapse::perf::tests::test_collapse_multi_perf --skip
collapse::perf::tests::test_collapse_multi_perf_simple --skip
collapse::perf::tests::test_skip_after
+%endif
+
+%changelog
+%autochangelog
diff --git a/sources b/sources
new file mode 100644
index 0000000..15e9515
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (inferno-0.10.8.crate) =
1d5f3c2dc67c6ab4ad1b7f379dbd33ebd596ae35808ae998247a1f8448b57299d9b66a40f4cca03bf9448a8f274682dafec1fa1e6cbf17ea8e66e2f623c0c12d