diff --git a/rust-rustc-demangle.spec b/rust-rustc-demangle.spec index 7ad49e6..c440018 100644 --- a/rust-rustc-demangle.spec +++ b/rust-rustc-demangle.spec @@ -1,13 +1,12 @@ -# Generated by rust2rpm-9-1.fc30 -# * Tests are run in infrastructure -%bcond_with check +# Generated by rust2rpm 10 +%bcond_without check %global debug_package %{nil} %global crate rustc-demangle Name: rust-%{crate} Version: 0.1.15 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Rust compiler symbol demangling # Upstream license specification: MIT/Apache-2.0 @@ -16,11 +15,14 @@ URL: https://crates.io/crates/rustc-demangle Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -%global _description \ -Rust compiler symbol demangling. +%global _description %{expand: +Rust compiler symbol demangling.} %description %{_description} @@ -50,10 +52,49 @@ which use "default" feature of "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%package -n %{name}+compiler_builtins-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+compiler_builtins-devel %{_description} + +This package contains library source intended for building other packages +which use "compiler_builtins" feature of "%{crate}" crate. + +%files -n %{name}+compiler_builtins-devel +%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml + +%package -n %{name}+rustc-dep-of-std-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+rustc-dep-of-std-devel %{_description} + +This package contains library source intended for building other packages +which use "rustc-dep-of-std" feature of "%{crate}" crate. + +%files -n %{name}+rustc-dep-of-std-devel +%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml + +%package -n %{name}+rustc-std-workspace-core-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+rustc-std-workspace-core-devel %{_description} + +This package contains library source intended for building other packages +which use "rustc-std-workspace-core" feature of "%{crate}" crate. + +%files -n %{name}+rustc-std-workspace-core-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 @@ -66,6 +107,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Sat Jun 22 10:46:41 CEST 2019 Igor Gnatenko - 0.1.15-2 +- Regenerate + * Fri May 31 2019 Josh Stone - 0.1.15-1 - Update to 0.1.15