diff --git a/.gitignore b/.gitignore index 0ff8035..5e5a4fd 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /copypasta-0.7.0.crate +/copypasta-0.7.1.crate diff --git a/copypasta-fix-metadata.diff b/copypasta-fix-metadata.diff new file mode 100644 index 0000000..3fec966 --- /dev/null +++ b/copypasta-fix-metadata.diff @@ -0,0 +1,16 @@ +--- copypasta-0.7.1/Cargo.toml 2020-10-03T23:58:17+00:00 ++++ copypasta-0.7.1/Cargo.toml 2020-10-04T10:07:35.861213+00:00 +@@ -34,13 +34,3 @@ + [target."cfg(all(unix, not(any(target_os=\"macos\", target_os=\"android\", target_os=\"ios\", target_os=\"emscripten\"))))".dependencies.x11-clipboard] + version = "0.5.1" + optional = true +-[target."cfg(target_os = \"macos\")".dependencies.objc] +-version = "0.2" +- +-[target."cfg(target_os = \"macos\")".dependencies.objc-foundation] +-version = "0.1" +- +-[target."cfg(target_os = \"macos\")".dependencies.objc_id] +-version = "0.1" +-[target."cfg(windows)".dependencies.clipboard-win] +-version = "3.0.2" diff --git a/copypasta-rm-other-platforms.diff b/copypasta-rm-other-platforms.diff deleted file mode 100644 index 57da2fb..0000000 --- a/copypasta-rm-other-platforms.diff +++ /dev/null @@ -1,16 +0,0 @@ ---- copypasta-0.7.0/Cargo.toml 2020-05-20T21:36:14+00:00 -+++ copypasta-0.7.0/Cargo.toml 2020-05-22T19:14:07.269506+00:00 -@@ -34,13 +34,3 @@ - [target."cfg(all(unix, not(any(target_os=\"macos\", target_os=\"android\", target_os=\"ios\", target_os=\"emscripten\"))))".dependencies.x11-clipboard] - version = "0.5.1" - optional = true --[target."cfg(target_os = \"macos\")".dependencies.objc] --version = "0.2" -- --[target."cfg(target_os = \"macos\")".dependencies.objc-foundation] --version = "0.1" -- --[target."cfg(target_os = \"macos\")".dependencies.objc_id] --version = "0.1" --[target."cfg(windows)".dependencies.clipboard-win] --version = "2.2" diff --git a/rust-copypasta.spec b/rust-copypasta.spec index 41022ce..aceb3cf 100644 --- a/rust-copypasta.spec +++ b/rust-copypasta.spec @@ -5,16 +5,17 @@ %global crate copypasta Name: rust-%{crate} -Version: 0.7.0 -Release: 2%{?dist} +Version: 0.7.1 +Release: 1%{?dist} Summary: Cross-platform clipboard library with Wayland support # Upstream license specification: MIT / Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/copypasta Source: %{crates_source} -# Remove other platforms (e.g. macOS) -Patch0: copypasta-rm-other-platforms.diff +# Initial patched metadata +# * drop Windows and mac OS dependencies +Patch0: copypasta-fix-metadata.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} @@ -25,7 +26,7 @@ BuildRequires: rust-packaging %global _description %{expand: Cross-platform library for getting and setting the contents of the OS-level -clipboard, with support for the Wayland clipboard.} +clipboard.} %description %{_description} @@ -122,6 +123,9 @@ which use "x11-clipboard" feature of "%{crate}" crate. %endif %changelog +* Sun Oct 04 2020 Fabio Valentini - 0.7.1-1 +- Update to version 0.7.1. + * Wed Jul 29 2020 Fedora Release Engineering - 0.7.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index 2a81bdc..e56be00 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (copypasta-0.7.0.crate) = 76210d4f1e6b2d8e7eeb698eda71501a0b0079df60f6261f8904f44feb3d6ecedf7ef0696feea7504e22448c54927d32b82d763a4e4670ea779d0661db318d03 +SHA512 (copypasta-0.7.1.crate) = e31b0b8b6ba0f5ab425aa0ec44db05b27b50a6eef7b8a2f05495441ec83f90859ec48c097a64b38e846dca6f56bcc8f2bc01f2cc299a80138e24e0c4c9e7c474