From 6c6f8b3bb1bf1ccc57dbddc3c4c262ef856d4ed3 Mon Sep 17 00:00:00 2001 From: tigro Date: Sun, 5 Jan 2025 16:31:49 +0300 Subject: [PATCH] import rust-notify-7.0.0-1.el10 --- .gitignore | 2 +- .rust-notify.metadata | 2 +- SOURCES/notify-fix-metadata-auto.diff | 38 +++++++++++++-------------- SOURCES/notify-fix-metadata.diff | 19 ++++++-------- SPECS/rust-notify.spec | 35 +++++++++--------------- 5 files changed, 42 insertions(+), 54 deletions(-) diff --git a/.gitignore b/.gitignore index 6211715..e4eee72 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/notify-6.1.1.crate +SOURCES/notify-7.0.0.crate diff --git a/.rust-notify.metadata b/.rust-notify.metadata index 065bcb4..9dd6b2f 100644 --- a/.rust-notify.metadata +++ b/.rust-notify.metadata @@ -1 +1 @@ -16c0fcc4e2de9b3413b7cb7fb8bcb96e728d6125 SOURCES/notify-6.1.1.crate +544ace2a68122c29abcc9a8b2282a3eee4def484 SOURCES/notify-7.0.0.crate diff --git a/SOURCES/notify-fix-metadata-auto.diff b/SOURCES/notify-fix-metadata-auto.diff index 37acb47..c12d628 100644 --- a/SOURCES/notify-fix-metadata-auto.diff +++ b/SOURCES/notify-fix-metadata-auto.diff @@ -1,49 +1,49 @@ ---- notify-6.1.1/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ notify-6.1.1/Cargo.toml 2023-12-01T23:52:44.646322+00:00 -@@ -69,20 +69,12 @@ - "macos_fsevent", - "crossbeam-channel", - ] +--- notify-7.0.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ notify-7.0.0/Cargo.toml 2025-01-02T18:00:58.334113+00:00 +@@ -66,20 +66,12 @@ + + [features] + default = ["macos_fsevent"] -macos_fsevent = ["fsevent-sys"] +macos_fsevent = [] macos_kqueue = [ - "kqueue", "mio", ] - manual_tests = [] - timing_tests = [] + serde = ["notify-types/serde"] + serialization-compat-6 = ["notify-types/serialization-compat-6"] - --[target."cfg(any(target_os=\"freebsd\", target_os=\"openbsd\", target_os = \"netbsd\", target_os = \"dragonflybsd\"))".dependencies.kqueue] --version = "^1.0.4" +-[target."cfg(any(target_os=\"freebsd\", target_os=\"openbsd\", target_os = \"netbsd\", target_os = \"dragonflybsd\", target_os = \"ios\"))".dependencies.kqueue] +-version = "1.0.8" - --[target."cfg(any(target_os=\"freebsd\", target_os=\"openbsd\", target_os = \"netbsd\", target_os = \"dragonflybsd\"))".dependencies.mio] --version = "0.8" +-[target."cfg(any(target_os=\"freebsd\", target_os=\"openbsd\", target_os = \"netbsd\", target_os = \"dragonflybsd\", target_os = \"ios\"))".dependencies.mio] +-version = "1.0" -features = ["os-ext"] [target."cfg(any(target_os=\"linux\", target_os=\"android\"))".dependencies.inotify] - version = "0.9" -@@ -92,29 +84,3 @@ - version = "0.8" + version = "0.10.2" +@@ -89,29 +81,3 @@ + version = "1.0" features = ["os-ext"] -[target."cfg(target_os=\"macos\")".dependencies.bitflags] -version = "2.3.0" - -[target."cfg(target_os=\"macos\")".dependencies.fsevent-sys] --version = "4" +-version = "4.0.0" -optional = true - -[target."cfg(target_os=\"macos\")".dependencies.kqueue] --version = "1.0" +-version = "1.0.8" -optional = true - -[target."cfg(target_os=\"macos\")".dependencies.mio] --version = "0.8" +-version = "1.0" -features = ["os-ext"] -optional = true - -[target."cfg(windows)".dependencies.windows-sys] --version = "0.48.0" +-version = "0.52.0" -features = [ - "Win32_System_Threading", - "Win32_Foundation", diff --git a/SOURCES/notify-fix-metadata.diff b/SOURCES/notify-fix-metadata.diff index b71a20b..3e7b300 100644 --- a/SOURCES/notify-fix-metadata.diff +++ b/SOURCES/notify-fix-metadata.diff @@ -1,18 +1,15 @@ ---- notify-6.1.1/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ notify-6.1.1/Cargo.toml 2023-12-01T23:53:26.299516+00:00 -@@ -65,14 +65,7 @@ - version = "3.2.0" +--- notify-7.0.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ notify-7.0.0/Cargo.toml 2025-01-02T18:01:26.568254+00:00 +@@ -65,11 +65,7 @@ + version = "3.10.0" [features] --default = [ -- "macos_fsevent", -- "crossbeam-channel", --] +-default = ["macos_fsevent"] -macos_fsevent = [] -macos_kqueue = [ - "mio", -] -+default = ["crossbeam-channel"] - manual_tests = [] - timing_tests = [] ++default = [] + serde = ["notify-types/serde"] + serialization-compat-6 = ["notify-types/serialization-compat-6"] diff --git a/SPECS/rust-notify.spec b/SPECS/rust-notify.spec index ab1a861..006bb30 100644 --- a/SPECS/rust-notify.spec +++ b/SPECS/rust-notify.spec @@ -1,21 +1,21 @@ ## START: Set by rpmautospec -## (rpmautospec version 0.6.5) +## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: - release_number = 3; + release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec -# Generated by rust2rpm 25 -%bcond_without check +# Generated by rust2rpm 27 +%bcond check 1 %global debug_package %{nil} %global crate notify Name: rust-notify -Version: 6.1.1 +Version: 7.0.0 Release: %autorelease Summary: Cross-platform filesystem notification library @@ -73,18 +73,6 @@ use the "crossbeam-channel" feature of the "%{crate}" crate. %files -n %{name}+crossbeam-channel-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+manual_tests-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+manual_tests-devel %{_description} - -This package contains library source intended for building other packages which -use the "manual_tests" feature of the "%{crate}" crate. - -%files -n %{name}+manual_tests-devel -%ghost %{crate_instdir}/Cargo.toml - %package -n %{name}+serde-devel Summary: %{summary} BuildArch: noarch @@ -97,16 +85,16 @@ use the "serde" feature of the "%{crate}" crate. %files -n %{name}+serde-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+timing_tests-devel +%package -n %{name}+serialization-compat-6-devel Summary: %{summary} BuildArch: noarch -%description -n %{name}+timing_tests-devel %{_description} +%description -n %{name}+serialization-compat-6-devel %{_description} This package contains library source intended for building other packages which -use the "timing_tests" feature of the "%{crate}" crate. +use the "serialization-compat-6" feature of the "%{crate}" crate. -%files -n %{name}+timing_tests-devel +%files -n %{name}+serialization-compat-6-devel %ghost %{crate_instdir}/Cargo.toml %prep @@ -128,10 +116,13 @@ use the "timing_tests" feature of the "%{crate}" crate. %endif %changelog -* Sun Jan 05 2025 Arkady L. Shane - 6.1.1-3 +* Sun Jan 05 2025 Arkady L. Shane - 7.0.0-1 - Rebuilt for MSVSphere 10 ## START: Generated by rpmautospec +* Thu Jan 02 2025 Fabio Valentini - 7.0.0-1 +- Update to version 7.0.0; Fixes RHBZ#2321807 + * Sat Jul 20 2024 Fedora Release Engineering - 6.1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild