From 57f2de2077e1ae53ef64f7549ad92f8503b55736673e301b8c5e7f54b9d281ef Mon Sep 17 00:00:00 2001 From: Soc Virnyl Estela Date: Mon, 26 Dec 2022 06:22:49 +0000 Subject: [PATCH] - Add 0000-fix-typo.patch - Automatic update of vendored dependencies OBS-URL: https://build.opensuse.org/package/show/science/juliaup?expand=0&rev=68 --- 0000-fix-typo.patch | 56 +++++++++++++++++++++++++++++++++++++++++++++ juliaup.changes | 8 ++++++- juliaup.spec | 3 ++- vendor.tar.xz | 4 ++-- 4 files changed, 67 insertions(+), 4 deletions(-) create mode 100644 0000-fix-typo.patch diff --git a/0000-fix-typo.patch b/0000-fix-typo.patch new file mode 100644 index 0000000..ae85627 --- /dev/null +++ b/0000-fix-typo.patch @@ -0,0 +1,56 @@ +From 81addc626a5995f36f279e37022c354dc2a4fb4c Mon Sep 17 00:00:00 2001 +From: Shayan Davoodi <52105833+shayandavoodii@users.noreply.github.com> +Date: Sun, 25 Dec 2022 22:42:27 +0330 +Subject: [PATCH] Fix typo `uopdate` => `update` (#536) + +--- + src/command_selfupdate.rs | 8 ++++---- + src/command_update.rs | 2 +- + 2 files changed, 5 insertions(+), 5 deletions(-) + +diff --git a/src/command_selfupdate.rs b/src/command_selfupdate.rs +index e29d8ff4..93770692 100644 +--- a/src/command_selfupdate.rs ++++ b/src/command_selfupdate.rs +@@ -11,7 +11,7 @@ pub fn run_command_selfupdate(paths: &GlobalPaths) -> Result<()> { + use crate::{get_juliaup_target, get_own_version}; + + update_version_db(paths) +- .with_context(|| "Failed to uopdate versions db.")?; ++ .with_context(|| "Failed to update versions db.")?; + + let mut config_file = + load_mut_config_db(paths).with_context(|| "`selfupdate` command failed to load configuration db.")?; +@@ -77,7 +77,7 @@ pub fn run_command_selfupdate(paths: &GlobalPaths) -> Result<()> { + use windows::{core::Interface,Win32::{System::Console::GetConsoleWindow, UI::Shell::IInitializeWithWindow}}; + + update_version_db(paths) +- .with_context(|| "Failed to uopdate versions db.")?; ++ .with_context(|| "Failed to update versions db.")?; + + let update_manager = windows::Services::Store::StoreContext::GetDefault() + .with_context(|| "Failed to get the store context.")?; +@@ -116,6 +116,6 @@ pub fn run_command_selfupdate(paths: &GlobalPaths) -> Result<()> { + #[cfg(not(any(feature = "windowsstore", feature = "selfupdate")))] + pub fn run_command_selfupdate(paths: &GlobalPaths) -> Result<()> { + update_version_db(paths) +- .with_context(|| "Failed to uopdate versions db.")?; ++ .with_context(|| "Failed to update versions db.")?; + Ok(()) +-} +\ No newline at end of file ++} +diff --git a/src/command_update.rs b/src/command_update.rs +index 502fbcb0..ae2829e3 100644 +--- a/src/command_update.rs ++++ b/src/command_update.rs +@@ -50,7 +50,7 @@ fn update_channel(config_db: &mut JuliaupConfig, channel: &String, version_db: & + + pub fn run_command_update(channel: Option, paths: &GlobalPaths) -> Result<()> { + update_version_db(paths) +- .with_context(|| "Failed to uopdate versions db.")?; ++ .with_context(|| "Failed to update versions db.")?; + + let version_db = + load_versions_db(paths).with_context(|| "`update` command failed to load versions db.")?; + diff --git a/juliaup.changes b/juliaup.changes index 8bfcb26..cf53a76 100644 --- a/juliaup.changes +++ b/juliaup.changes @@ -1,5 +1,11 @@ ------------------------------------------------------------------- -Sun Dec 18 14:51:39 UTC 2022 - socvirnyl.estela@gmail.com +Mon Dec 26 06:17:39 UTC 2022 - Soc Virnyl Estela + +- Add 0000-fix-typo.patch +- Automatic update of vendored dependencies + +------------------------------------------------------------------- +Sun Dec 18 14:51:39 UTC 2022 - Soc Virnyl Estela - Update to version 1.8.14: * Update comment diff --git a/juliaup.spec b/juliaup.spec index cb1e764..779b4ab 100644 --- a/juliaup.spec +++ b/juliaup.spec @@ -30,6 +30,7 @@ URL: https://github.com/JuliaLang/juliaup Source0: %{name}-%{version}.tar.xz Source1: vendor.tar.xz Source2: cargo_config +Patch0: 0000-fix-typo.patch BuildRequires: cargo-packaging BuildRequires: rust+cargo @@ -46,7 +47,7 @@ when new Julia versions are released and provides a convenient Julia release channel abstraction. %prep -%autosetup -a1 +%autosetup -a1 -p1 mkdir .cargo cp %{SOURCE2} .cargo/config diff --git a/vendor.tar.xz b/vendor.tar.xz index 9f7079d..fd08650 100644 --- a/vendor.tar.xz +++ b/vendor.tar.xz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:165821010493e592cea54522064885e5d20b78f4eb965816f2c4dc4e875f552a -size 34611944 +oid sha256:1271299d502cd84c3c19670636f7d88497b3ed39a13470573264929f3736c521 +size 34622316