|
|
|
@ -1,11 +1,11 @@
|
|
|
|
|
# Generated by rust2rpm 26
|
|
|
|
|
# Generated by rust2rpm 24
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate enumset_derive
|
|
|
|
|
|
|
|
|
|
Name: rust-enumset_derive
|
|
|
|
|
Version: 0.10.0
|
|
|
|
|
Version: 0.8.1
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
Summary: Internal helper crate for enumset
|
|
|
|
|
|
|
|
|
@ -14,7 +14,7 @@ License: MIT OR Apache-2.0
|
|
|
|
|
URL: https://crates.io/crates/enumset_derive
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
An internal helper crate for enumset. Not public API.}
|
|
|
|
@ -72,20 +72,8 @@ use the "serde" feature of the "%{crate}" crate.
|
|
|
|
|
%files -n %{name}+serde-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+std_deprecation_warning-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+std_deprecation_warning-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "std_deprecation_warning" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+std_deprecation_warning-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|