|
|
|
@ -5,7 +5,7 @@
|
|
|
|
|
%global crate derive_more
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.99.14
|
|
|
|
|
Version: 0.99.16
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
Summary: Adds #[derive(x)] macros for more traits
|
|
|
|
|
|
|
|
|
@ -15,7 +15,6 @@ URL: https://crates.io/crates/derive_more
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
# Initial patched metadata
|
|
|
|
|
# * examples are not published
|
|
|
|
|
# * Bump rustc_version to 0.3, https://github.com/JelteF/derive_more/pull/157
|
|
|
|
|
Patch0: derive_more-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
@ -380,6 +379,18 @@ which use "testing-helpers" feature of "%{crate}" crate.
|
|
|
|
|
%files -n %{name}+testing-helpers-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+track-caller-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+track-caller-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "track-caller" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+track-caller-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+try_into-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
@ -392,6 +403,18 @@ which use "try_into" feature of "%{crate}" crate.
|
|
|
|
|
%files -n %{name}+try_into-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+unwrap-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+unwrap-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "unwrap" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+unwrap-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|
%cargo_prep
|
|
|
|
|