From 945ae47d50f797c0d653c19a695407b1cde779ba Mon Sep 17 00:00:00 2001 From: Artur Frenszek-Iwicki Date: Oct 05 2020 07:16:35 +0000 Subject: Update to v1.2.0 --- diff --git a/.gitignore b/.gitignore index 0cd9f38..adae903 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /desed-1.1.4.crate +/desed-1.2.0.crate diff --git a/desed--remove-nonlinux-deps-from-cargo.patch b/desed--remove-nonlinux-deps-from-cargo.patch new file mode 100644 index 0000000..961b554 --- /dev/null +++ b/desed--remove-nonlinux-deps-from-cargo.patch @@ -0,0 +1,13 @@ +diff -rU4 desed-1.2.0/Cargo.toml desed-1.2.0--patched/Cargo.toml +--- desed-1.2.0/Cargo.toml 2020-10-02 01:36:04.000000000 +0200 ++++ desed-1.2.0--patched/Cargo.toml 2020-10-05 09:10:34.097428219 +0200 +@@ -37,8 +37,7 @@ + [dependencies.tui] + version = "0.9.1" + features = ["crossterm"] + default-features = false +-[target."cfg(any(target_os=\"darwin\", target_os=\"dragonfly\", target_os=\"freebsd\", target_os=\"netbsd\", target_os=\"openbsd\"))".dependencies.kqueue] +-version = "1.0.1" ++ + [target."cfg(target_os = \"linux\")".dependencies.inotify] + version = "0.8.3" diff --git a/rust-desed.spec b/rust-desed.spec index ef8a8e2..a2acd31 100644 --- a/rust-desed.spec +++ b/rust-desed.spec @@ -5,16 +5,21 @@ %global crate desed Name: rust-%{crate} -Version: 1.1.4 -Release: 6%{?dist} +Version: 1.2.0 +Release: 1%{?dist} Summary: Sed script debugger -# Upstream license specification: None +# Upstream license specification: GPL-3.0-or-later License: GPLv3+ URL: https://crates.io/crates/desed Source: %{crates_source} +# cargo_generate_buildrequires generates BRs for all dependencies, +# including non-Linux OS-specific ones. +# This patch removes those from Cargo.toml. +Patch0: desed--remove-nonlinux-deps-from-cargo.patch + ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging @@ -58,6 +63,9 @@ Requires: sed >= 4.6 %endif %changelog +* Mon Oct 05 2020 Artur Frenszek-Iwicki - 1.2.0-1 +- Update to latest release + * Sat Aug 01 2020 Fedora Release Engineering - 1.1.4-6 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index 87cd5ce..5df72bb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (desed-1.1.4.crate) = f54631a95fbac82f13857c92c86a0939baac19ab4b4194bdb2185fa54e0e83b3058bfcd86bf6c04286e9320fb05f427942e6f136c64e8a99a723e544a5b0c91a +SHA512 (desed-1.2.0.crate) = b74b34c6db5595a7fc77d29b9dd39b5927ced23af51937877b3084a74fa1079a34d31b66b6625818a1bd885b5a3f0a150f1a93b7c259c099328d3a2fb676e8d1