4 Commits

6 changed files with 37 additions and 15 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6b43a5da5edd35f0f4981a501335b7d7cacf8701a566a6535743daa4a127fe0e
size 582399

BIN
micro-2.0.15.tar.gz LFS Normal file

Binary file not shown.

View File

@@ -1,7 +1,7 @@
Index: micro-2.0.14/Makefile
Index: micro-2.0.15/Makefile
===================================================================
--- micro-2.0.14.orig/Makefile
+++ micro-2.0.14/Makefile
+++ micro-2.0.15/Makefile
@@ -1,9 +1,9 @@
.PHONY: runtime build generate build-quick

View File

@@ -1,3 +1,24 @@
-------------------------------------------------------------------
Thu Jan 15 13:04:30 UTC 2026 - Gabriel Bazzotti <gabriel.bazzotti@suse.com>
- 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 <andrea.manzini@suse.com>

View File

@@ -20,7 +20,7 @@
%global compiledate Oct\ 13,\ 2025
Name: micro-editor
Version: 2.0.14
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,22 @@ 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 EXTRAFLAGS="-mod=vendor"
export GOFLAGS="-mod=vendor"
%ifnarch ppc64 ppc64le
export EXTRAFLAGS="${EXTRAFLAGS} -buildmode=pie"
export GOFLAGS="${GOFLAGS} -buildmode=pie"
%endif
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"

BIN
vendor.tar.gz LFS

Binary file not shown.