diff --git a/_service b/_service
index 1a3777c..cc0a643 100644
--- a/_service
+++ b/_service
@@ -3,7 +3,7 @@
https://github.com/zyedidia/micro
git
.git
- v2.0.13
+ v2.0.14
@PARENT_TAG@
enable
v(.*)
@@ -16,6 +16,6 @@
gz
- micro-2.0.13.tar.gz
+ micro-2.0.14.tar.gz
diff --git a/_servicedata b/_servicedata
index 33393b4..4d604d6 100644
--- a/_servicedata
+++ b/_servicedata
@@ -1,4 +1,4 @@
https://github.com/zyedidia/micro
- 68d88b571de6dca9fb8f03e2a3caafa2287c38d4
\ No newline at end of file
+ 04c577049ca898f097cd6a2dae69af0b4d4493e1
\ No newline at end of file
diff --git a/micro-2.0.13.tar.gz b/micro-2.0.13.tar.gz
deleted file mode 100644
index 323d864..0000000
--- a/micro-2.0.13.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:ad904c761303f16521cc9ca2abf1c1d4096767d1f5c0f8451699eaa8881c1a6c
-size 570410
diff --git a/micro-2.0.15.tar.gz b/micro-2.0.15.tar.gz
new file mode 100644
index 0000000..31392d7
--- /dev/null
+++ b/micro-2.0.15.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:612c775321c268c8f9e1767505ff378bca9b9ab66f5c41b69ecb2464ecf15084
+size 590215
diff --git a/micro-editor-Makefile.patch b/micro-editor-Makefile.patch
index 0984154..b29d7f9 100644
--- a/micro-editor-Makefile.patch
+++ b/micro-editor-Makefile.patch
@@ -1,7 +1,7 @@
-diff --git a/Makefile b/Makefile
-index fc9601a..831585e 100644
---- a/Makefile
-+++ b/Makefile
+Index: micro-2.0.15/Makefile
+===================================================================
+--- micro-2.0.14.orig/Makefile
++++ micro-2.0.15/Makefile
@@ -1,9 +1,9 @@
.PHONY: runtime build generate build-quick
@@ -15,7 +15,7 @@ index fc9601a..831585e 100644
go run tools/build-date.go)
ADDITIONAL_GO_LINKER_FLAGS = $(shell GOOS=$(shell go env GOHOSTOS) \
GOARCH=$(shell go env GOHOSTARCH) \
-@@ -16,7 +16,7 @@ VSCODE_TESTS_BASE_URL = 'https://raw.githubusercontent.com/microsoft/vscode/e6a4
+@@ -16,7 +16,7 @@ VSCODE_TESTS_BASE_URL = 'https://raw.git
build: generate build-quick
build-quick:
diff --git a/micro-editor.changes b/micro-editor.changes
index d2c3848..1b5f45b 100644
--- a/micro-editor.changes
+++ b/micro-editor.changes
@@ -1,3 +1,77 @@
+-------------------------------------------------------------------
+Thu Jan 15 13:04:30 UTC 2026 - Gabriel Bazzotti
+
+- Update to version 2.0.15:
+ * truecolor (supersedes the MICRO_TRUECOLOR environment variable)
+ * showchars (deprecates indentchar)
+ * lockbindings for completely disallowing plugins to modify keybindings
+ * helpsplit for changing default split type for the help command
+ * pageoverlap for setting number of lines kept during page up/page down
+ * Added FirstTab, LastTab, FirstSplit and LastSplit commands
+ * SkipMultiCursorBack as a counterpart to SkipMultiCursor
+ * CursorToViewTop, CursorToViewCenter, CursorToViewBottom
+ * Duplicate for duplicating the selection only, not the whole line
+ * Plugins never write to settings.json or bindings.json anymore
+ * Add onBufferOptionChanged callback
+ * Add SpawnCursorAtLoc()
+ * Expose bufpane's DoubleClick and TripleClick to plugins
+ * Pass mouse info to {on,pre}MouseXXX callbacks
+ * Support goto statement from Lua 5.2
+ * Various Syntax Highlighting improvements
+
+-------------------------------------------------------------------
+Mon Oct 13 14:43:00 UTC 2025 - Andrea Manzini
+
+- Update to version 2.0.14:
+ * matchbracestyle to choose whether to underline or highlight matching braces
+ * matchbraceleft to choose whether to match brace to the left of the cursor
+ * hltrailingws to highlight trailing whitespace
+ * hltaberrors to highlight tab vs space inconsistencies
+ * Add jump command to perform a relative goto
+ * Add sub-word movement actions and improve word movements
+ * Add paragraph selection actions and improve paragraph movements
+ * Make Shift-PageUp/Down the default keybindings for SelectPageUp/Down
+ * Add signatures support to improve filetype detection in ambiguous cases
+ * Provide default.yaml for default syntax highlighting
+ * Improvements in syntax highlighting for various languages
+ * More generic support for mouse events handling
+ * Add mouse release and mouse drag events
+ * Make MouseMultiCursor toggle cursors
+ * Better support for handling mouse events in lua
+ * Better API for lua timers
+ * Add onAnyEvent callback
+ * Allow colorschemes to include other colorschemes
+ * Give user's files in ~/.config/micro/ precedence over micro's built-in
+ files
+ * Respect umask when creating files
+ * Smarter smartpaste
+ * Make default fileformat value suited to the OS
+ * Improve buffer view relocation after jumping to a far-away location
+ * Improve return values of some actions for better action chaining
+ * Autocomplete filetypes
+ * Allow raw escape sequence to be bound with bind
+ * Various small improvements
+ * Fix various crashes
+ * Fix micro killed by SIGINT sent to its shell job
+ * Various fixes for setting local options
+ * Various fixes for reloading settings via reload command
+ * Various fixes for updating settings after changing filetype
+ * Fix unneeded rewriting of settings.json
+ * Fix overwriting persistent non-default settings in settings.json with
+ temporary default settings
+ * Don't apply rmtrailingws on autosave
+ * Don't autosave unmodified buffer
+ * Properly update autosave timer when the autosave option value changes
+ * Fix opening filenames including colons with parsecursor
+ * Fix replace to be able to insert '$'
+ * Fix cursor moving to an unexpected location after a redo
+ * Make cursor movements after selection consistent
+ * Fix incorrect buffer view after reloading file
+ * Fix lost mouse release events in case the pane becomes inactive
+ * Add proper locking to LineArray to fix potential races
+ * Cleanup indentation and trailing whitespace
+ * Improve plugin documentation
+
-------------------------------------------------------------------
Thu Mar 28 14:16:21 UTC 2024 - andrea.manzini@suse.com
diff --git a/micro-editor.spec b/micro-editor.spec
index a033221..d363419 100644
--- a/micro-editor.spec
+++ b/micro-editor.spec
@@ -1,7 +1,7 @@
#
# spec file for package micro-editor
#
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,11 +16,11 @@
#
-%global shortcommit 225927b
-%global compiledate Aug\ 01,\ 2022
+%global shortcommit 04c5770
+%global compiledate Oct\ 13,\ 2025
Name: micro-editor
-Version: 2.0.13
+Version: 2.0.15
Release: 0
License: MIT
Summary: Micro is a terminal-based text editor that aims to be easy to use and intuitive
@@ -28,9 +28,10 @@ URL: https://github.com/zyedidia/micro
Group: Productivity/Text/Editors
Source0: micro-%{version}.tar.gz
Source1: vendor.tar.gz
-Patch0: micro-editor-Makefile.patch
+Source2: micro-editor-Makefile.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: golang-packaging
+BuildRequires: git-core
BuildRequires: golang(API) >= 1.15
%description
@@ -47,22 +48,35 @@ or because you need to (over ssh).
%prep
%setup -q -n micro-%{version}
%setup -q -T -D -a 1 -n micro-%{version}
-%patch -P 0 -p1
+rm -rf vendor
+tar -xf %{SOURCE1}
%build
+export GOFLAGS="-mod=vendor"
+export CGO=0
-export EXTRAFLAGS="-mod=vendor"
-
-%ifnarch ppc64 ppc64le
- export EXTRAFLAGS="${EXTRAFLAGS} -buildmode=pie"
-%endif
+case "$(uname -m)" in
+ # Enabling PIE (Position Independent Executable) in go allows a binary to be loaded by the OS into a random memory address
+ # however certain CPU architectures do not support PIEs by default so we have to disable it to properly build on OBS
+ # We achieve this by disabling PIE in favor of CGO
+
+ # Disable PIE for these architectures
+ s390x|ppc64|ppc64le|i386|i586|i686|riscv64|armv7l|armv6l)
+ echo "Building on $(uname -m): PIE disabled (requires CGO)"
+ ;;
+ *)
+ # Enable PIE for x86_64 and aarch64
+ echo "Building on $(uname -m): Enabling PIE"
+ export GOFLAGS="$GOFLAGS -buildmode=pie"
+ ;;
+esac
export DATE="$(date -u -d @${SOURCE_DATE_EPOCH:-$(date +%s)} --iso-8601)"
export HASH="%{shortcommit}"
export VERSION="%{version}"
-%make_build generate
-%make_build build-quick
+make build VERSION="2.0.15" HASH="rpmbuild" DATE="$(date -u +%Y-%m-%dT%H:%M:%SZ)"
+
%install
export GOPATH="%{_builddir}/go:$GOPATH"
diff --git a/vendor.tar.gz b/vendor.tar.gz
index c835a97..e85c86f 100644
--- a/vendor.tar.gz
+++ b/vendor.tar.gz
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:c95c6cc335dad7014a6cb9e7fbbd77afe9b903db879eaf40cebffb5b434d7293
-size 2247614
+oid sha256:857b70653a0d965d3842f1b29ba21d706164cb8efa2f44390275cab98d95b0ef
+size 2722008