diff --git a/.gitignore b/.gitignore index bba472d..cf079f3 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /derive_more-0.99.9.crate /derive_more-0.99.10.crate /derive_more-0.99.11.crate +/derive_more-0.99.13.crate diff --git a/derive_more-fix-metadata.diff b/derive_more-fix-metadata.diff index 07da0ca..7ab4a06 100644 --- a/derive_more-fix-metadata.diff +++ b/derive_more-fix-metadata.diff @@ -1,5 +1,5 @@ ---- derive_more-0.99.11/Cargo.toml 2020-09-30T19:02:26+00:00 -+++ derive_more-0.99.11/Cargo.toml 2020-10-01T09:36:26.733253+00:00 +--- derive_more-0.99.11/Cargo.toml 2020-09-30T19:02:26+00:00 ++++ derive_more-0.99.11/Cargo.toml 2021-03-29T16:10:06.886100+00:00 @@ -28,11 +28,6 @@ [lib] name = "derive_more" @@ -9,6 +9,15 @@ -name = "deny_missing_docs" -path = "examples/deny_missing_docs.rs" -required-features = ["add_assign", "add", "as_mut", "as_ref", "constructor", "deref", "deref_mut", "display", "from", "from_str", "index", "index_mut", "into", "mul_assign", "mul", "not", "try_into"] - + [[test]] name = "add_assign" +@@ -166,7 +161,7 @@ + optional = true + + [build-dependencies.rustc_version] +-version = "0.2" ++version = "0.3" + optional = true + + [features] diff --git a/rust-derive_more.spec b/rust-derive_more.spec index d4b0453..7882f25 100644 --- a/rust-derive_more.spec +++ b/rust-derive_more.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 13 +# Generated by rust2rpm 17 %bcond_without check %global debug_package %{nil} @@ -6,7 +6,7 @@ Name: rust-%{crate} Version: 0.99.11 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Adds #[derive(x)] macros for more traits # Upstream license specification: MIT @@ -15,6 +15,7 @@ URL: https://crates.io/crates/derive_more Source: %{crates_source} # Initial patched metadata # * examples are not published +# * Bump rustc_version to 0.3, Patch0: derive_more-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -115,6 +116,18 @@ which use "constructor" feature of "%{crate}" crate. %files -n %{name}+constructor-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%package -n %{name}+convert_case-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+convert_case-devel %{_description} + +This package contains library source intended for building other packages +which use "convert_case" feature of "%{crate}" crate. + +%files -n %{name}+convert_case-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + %package -n %{name}+deref-devel Summary: %{summary} BuildArch: noarch @@ -247,6 +260,18 @@ which use "into_iterator" feature of "%{crate}" crate. %files -n %{name}+into_iterator-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%package -n %{name}+is_variant-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+is_variant-devel %{_description} + +This package contains library source intended for building other packages +which use "is_variant" feature of "%{crate}" crate. + +%files -n %{name}+is_variant-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + %package -n %{name}+iterator-devel Summary: %{summary} BuildArch: noarch @@ -386,6 +411,9 @@ which use "try_into" feature of "%{crate}" crate. %endif %changelog +* Mon Mar 29 18:05:23 CEST 2021 Robert-André Mauchin - 0.99.11-3 +- Bump rustc_version to 0.3 + * Wed Jan 27 2021 Fedora Release Engineering - 0.99.11-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild