diff --git a/rust-libc.spec b/rust-libc.spec index 62a99cd..409e48e 100644 --- a/rust-libc.spec +++ b/rust-libc.spec @@ -1,13 +1,12 @@ -# Generated by rust2rpm-9-1.fc30 -# * Tests are run in infrastructure -%bcond_with check +# Generated by rust2rpm 9 +%bcond_without check %global debug_package %{nil} %global crate libc Name: rust-%{crate} Version: 0.2.58 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Raw FFI bindings to platform libraries like libc # Upstream license specification: MIT OR Apache-2.0 @@ -16,12 +15,15 @@ URL: https://crates.io/crates/libc Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging BuildRequires: glibc-devel -%global _description \ -Raw FFI bindings to platform libraries like libc. +%global _description %{expand: +Raw FFI bindings to platform libraries like libc.} %description %{_description} @@ -76,6 +78,30 @@ which use "extra_traits" feature of "%{crate}" crate. %files -n %{name}+extra_traits-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 + %package -n %{name}+std-devel Summary: %{summary} BuildArch: noarch @@ -116,6 +142,9 @@ which use "use_std" feature of "%{crate}" crate. %endif %changelog +* Sun Jun 09 11:39:04 CEST 2019 Igor Gnatenko - 0.2.58-2 +- Regenerate + * Mon Jun 03 2019 Josh Stone - 0.2.58-1 - Update to 0.2.58