diff --git a/.gitignore b/.gitignore index c27789e..3f27665 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ /derive_more-0.99.11.crate /derive_more-0.99.13.crate /derive_more-0.99.14.crate +/derive_more-0.99.16.crate diff --git a/derive_more-fix-metadata.diff b/derive_more-fix-metadata.diff index 3c5d09b..514cb47 100644 --- a/derive_more-fix-metadata.diff +++ b/derive_more-fix-metadata.diff @@ -1,23 +1,14 @@ ---- derive_more-0.99.14/Cargo.toml 1970-01-01T00:00:00+00:00 -+++ derive_more-0.99.14/Cargo.toml 2021-05-23T13:09:10.580918+00:00 -@@ -29,11 +29,6 @@ +--- derive_more-0.99.16/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ derive_more-0.99.16/Cargo.toml 2021-07-09T21:24:04.069063+00:00 +@@ -28,11 +28,6 @@ + [lib] name = "derive_more" proc-macro = true - +- -[[example]] -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", "is_variant"] -- + [[test]] name = "add_assign" - path = "tests/add_assign.rs" -@@ -175,7 +170,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 e86948a..4062179 100644 --- a/rust-derive_more.spec +++ b/rust-derive_more.spec @@ -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 diff --git a/sources b/sources index 0a251a6..b6527ac 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (derive_more-0.99.14.crate) = 68ee2034b472a28e49afdfb87e03c12851695d2844d838d031d4c14c011dae6a2dc174a1280f8a422c12471b03973f7ea16704c863096adbd4650c1d4b599b8c +SHA512 (derive_more-0.99.16.crate) = 45105c783ba9e8a5745179352cec20efd2717278fefaa3aa7a932012375bfc1238004fd9dd60ec53c8abbb2c38ae5ecc3a84ea0f7a883726ea9df9ce8692e7b9