public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/msedit] rawhide: Update to 2.0.0
@ 2026-08-24 9:32 Filipe Rosset
0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-08-24 9:32 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/msedit
Branch : rawhide
Commit : a0c2467908be07b92d04f733698e12732869c040
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date : 2026-08-22T13:44:59-03:00
Stats : +37/-28 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/msedit/c/a0c2467908be07b92d04f733698e12732869c040?branch=rawhide
Log:
Update to 2.0.0
Resolves: rhbz#2404234
---
diff --git a/.gitignore b/.gitignore
index 4274ee9..387d8fb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/edit-1.2.0.tar.gz
/e16b4ab.tar.gz
+/edit-2.0.0.tar.gz
diff --git a/edit-fix-metadata.diff b/edit-fix-metadata.diff
index 94912d0..b1780a3 100644
--- a/edit-fix-metadata.diff
+++ b/edit-fix-metadata.diff
@@ -1,28 +1,43 @@
---- edit-1.2.0/Cargo.toml 2025-06-16 09:08:50.607587435 +0800
-+++ edit-1.2.0/Cargo.toml 2025-06-16 09:13:16.289592389 +0800
-@@ -38,25 +38,7 @@
- [target.'cfg(unix)'.dependencies]
- libc = "0.2"
+diff --git a/Cargo.toml b/Cargo.toml
+index 47a30d3..86526f5 100644
+--- a/Cargo.toml
++++ b/Cargo.toml
+@@ -1,6 +1,6 @@
+ [workspace]
+ default-members = ["crates/edit"]
+-members = ["crates/*"]
++members = ["crates/edit", "crates/lsh", "crates/stdext"]
+ resolver = "2"
+
+ [workspace.package]
+@@ -30,4 +30,3 @@ lto = "thin" # Similarly, speed up linking by a ton
+ edit = { path = "./crates/edit" }
+ lsh = { path = "./crates/lsh" }
+ stdext = { path = "./crates/stdext" }
+-unicode-gen = { path = "./crates/unicode-gen" }
+diff --git a/crates/edit/Cargo.toml b/crates/edit/Cargo.toml
+index 02becfd..2958787 100644
+--- a/crates/edit/Cargo.toml
++++ b/crates/edit/Cargo.toml
+@@ -32,21 +32,3 @@ lsh.workspace = true
+ # Thankfully toml-span exists. FWIW the alternative is yaml-rust (without the 2 suffix).
+ toml-span = { version = "0.7", default-features = false }
-[target.'cfg(windows)'.build-dependencies]
--winresource = "0.1.22"
+-winresource = { version = "0.1", default-features = false }
-
-[target.'cfg(windows)'.dependencies.windows-sys]
--version = "0.59"
+-version = "0.61"
-features = [
- "Win32_Globalization",
- "Win32_Security",
- "Win32_Storage_FileSystem",
- "Win32_System_Console",
-- "Win32_System_Diagnostics_Debug",
- "Win32_System_IO",
- "Win32_System_LibraryLoader",
-- "Win32_System_Memory",
- "Win32_System_Threading",
-]
-
- [dev-dependencies]
--criterion = { version = "0.6", features = ["html_reports"] }
- serde = { version = "1.0", features = ["derive"] }
- serde_json = { version = "1.0" }
- zstd = { version = "0.13", default-features = false }
+-[dev-dependencies]
+-criterion = { version = "0.8", features = ["html_reports"] }
+-zstd = { version = "0.13", default-features = false }
diff --git a/msedit.spec b/msedit.spec
index db405e2..45f4003 100644
--- a/msedit.spec
+++ b/msedit.spec
@@ -4,11 +4,6 @@
# prevent library files from being installed
%global cargo_install_lib 0
-# Temporarily use a Git revision until next stable release
-%global commit e16b4abffc5e23d20e49de5f1461aebfc692268d
-%global shortcommit %{sub %{commit} 1 7}
-%global commitdate 20250710
-
# icu soversion
%global icu_sover %(icu-config --version | cut -d. -f1)
%global libicuuc libicuuc.so.%{icu_sover}
@@ -19,16 +14,17 @@
%endif
Name: msedit
-Version: 1.2.0^1.%{shortcommit}
+Version: 2.0.0
Release: %autorelease
Summary: Simple editor inspired by the MS-DOS Editor
SourceLicense: MIT
# MIT OR Apache-2.0: libc v0.2.172
-# MIT: edit v1.2.0
+# MIT: edit v2.0.0, lsh v0.0.0, stdext v0.0.0
+# MIT OR Apache-2.0: toml-span
License: MIT AND (MIT OR Apache-2.0)
URL: https://github.com/microsoft/edit
-Source: %{url}/archive/%{shortcommit}.tar.gz
+Source: %{url}/archive/v%{version}/edit-%{version}.tar.gz
Patch: edit-fix-metadata.diff
BuildRequires: cargo-rpm-macros >= 26
@@ -51,7 +47,7 @@ use.
%description %{_description}
%prep
-%autosetup -n edit-%{commit} -p1
+%autosetup -n edit-%{version} -p1
%cargo_prep
%generate_buildrequires
@@ -73,10 +69,7 @@ export EDIT_CFG_ICUUC_SONAME=%{libicuuc}
export EDIT_CFG_ICUI18N_SONAME=%{libicui18n}
export EDIT_CFG_ICU_RENAMING_VERSION=%{icu_sover}
-%cargo_install
-
-# de-conflict with vim
-mv %{buildroot}%{_bindir}/edit %{buildroot}%{_bindir}/%{name}
+install -Dpm 0755 target/rpm/edit %{buildroot}%{_bindir}/%{name}
# Change binary and icon in .desktop file then install it
sed -i \
diff --git a/sources b/sources
index 060c208..cd80620 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (e16b4ab.tar.gz) = 5492dd5d913d1e2642d40deb2f94cde78b4ba9a31edf38d07a35943b8113a3b143bc5e821f4a1cd17d0e456a91216e7b9b2e05122bcce985235f78f1256f052f
+SHA512 (edit-2.0.0.tar.gz) = 77f703c78fdec07f61567f02024b1325b9e8656c3bfa005c9bb68001da68a13bb07887a2cb99aa02f579380f60673e2d9892013e7d22395af0f9502b04b5e407
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-24 9:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-24 9:32 [rpms/msedit] rawhide: Update to 2.0.0 Filipe Rosset
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox