From c96e33feeb65561cf1a3d28cca83829e47bd23f8 Mon Sep 17 00:00:00 2001 From: madonuko Date: Tue, 21 Jul 2026 00:05:28 +0800 Subject: [PATCH 1/3] add: weave --- anda/langs/rust/weave/anda.hcl | 5 ++++ anda/langs/rust/weave/update.rhai | 1 + anda/langs/rust/weave/weave.spec | 40 +++++++++++++++++++++++++++++++ 3 files changed, 46 insertions(+) create mode 100644 anda/langs/rust/weave/anda.hcl create mode 100644 anda/langs/rust/weave/update.rhai create mode 100644 anda/langs/rust/weave/weave.spec diff --git a/anda/langs/rust/weave/anda.hcl b/anda/langs/rust/weave/anda.hcl new file mode 100644 index 00000000000..13db48707c6 --- /dev/null +++ b/anda/langs/rust/weave/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "weave.spec" + } +} diff --git a/anda/langs/rust/weave/update.rhai b/anda/langs/rust/weave/update.rhai new file mode 100644 index 00000000000..9245a3a14e2 --- /dev/null +++ b/anda/langs/rust/weave/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("ataraxy-labs/weave")); diff --git a/anda/langs/rust/weave/weave.spec b/anda/langs/rust/weave/weave.spec new file mode 100644 index 00000000000..8348b7c890c --- /dev/null +++ b/anda/langs/rust/weave/weave.spec @@ -0,0 +1,40 @@ +Name: weave +Version: 0.3.6 +Release: 1%?dist +Summary: Entity-level git merge driver + +License: ((Apache-2.0 OR MIT) AND BSD-3-Clause) AND ((MIT OR Apache-2.0) AND Unicode-3.0) AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-3-Clause AND BSL-1.0 AND CDLA-Permissive-2.0 AND ISC AND (ISC AND (Apache-2.0 OR ISC)) AND (ISC AND (Apache-2.0 OR ISC) AND Apache-2.0 AND MIT AND BSD-3-Clause AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR ISC OR MIT-0)) AND MIT AND (MIT AND BSD-3-Clause) AND (MIT OR Apache-2.0) AND (MIT OR Apache-2.0 OR LGPL-2.1-or-later) AND (MIT OR Apache-2.0 OR Zlib) AND (MIT OR Zlib OR Apache-2.0) AND MPL-2.0 AND Unicode-3.0 AND (Unlicense OR MIT) AND Zlib AND (Zlib OR Apache-2.0 OR MIT) +URL: https://ataraxy-labs.github.io/weave/ +Source0: https://github.com/ataraxy-labs/weave/archive/refs/tags/v%version.tar.gz + +BuildRequires: rust-packaging + +%description +Entity-level semantic merge driver for Git. +Resolves merge conflicts that Git can't by understanding code structure via tree-sitter. + + +%prep +%autosetup +%cargo_prep_online + + +%build +cargo update +%cargo_license_summary_online +%{cargo_license_online} > LICENSE.dependencies + + +%install +cd crates/weave-cli +%cargo_install + + +#check +#cargo_check + + +%files +%license LICENSE-APACHE LICENSE-MIT LICENSE.dependencies +%doc README.md +%_bindir/weave From ba756832c906b4c46ce958f11e63e1fa40dd8671 Mon Sep 17 00:00:00 2001 From: madonuko Date: Tue, 21 Jul 2026 00:06:15 +0800 Subject: [PATCH 2/3] packager --- anda/langs/rust/weave/weave.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/anda/langs/rust/weave/weave.spec b/anda/langs/rust/weave/weave.spec index 8348b7c890c..ffe99dc00d2 100644 --- a/anda/langs/rust/weave/weave.spec +++ b/anda/langs/rust/weave/weave.spec @@ -6,6 +6,7 @@ Summary: Entity-level git merge driver License: ((Apache-2.0 OR MIT) AND BSD-3-Clause) AND ((MIT OR Apache-2.0) AND Unicode-3.0) AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-3-Clause AND BSL-1.0 AND CDLA-Permissive-2.0 AND ISC AND (ISC AND (Apache-2.0 OR ISC)) AND (ISC AND (Apache-2.0 OR ISC) AND Apache-2.0 AND MIT AND BSD-3-Clause AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR ISC OR MIT-0)) AND MIT AND (MIT AND BSD-3-Clause) AND (MIT OR Apache-2.0) AND (MIT OR Apache-2.0 OR LGPL-2.1-or-later) AND (MIT OR Apache-2.0 OR Zlib) AND (MIT OR Zlib OR Apache-2.0) AND MPL-2.0 AND Unicode-3.0 AND (Unlicense OR MIT) AND Zlib AND (Zlib OR Apache-2.0 OR MIT) URL: https://ataraxy-labs.github.io/weave/ Source0: https://github.com/ataraxy-labs/weave/archive/refs/tags/v%version.tar.gz +Packager: madonuko BuildRequires: rust-packaging From f9df29254151f571e531db662e859e870cc4857c Mon Sep 17 00:00:00 2001 From: madomado Date: Tue, 21 Jul 2026 00:06:44 +0800 Subject: [PATCH 3/3] Update anda/langs/rust/weave/weave.spec Co-authored-by: hamachitan[bot] <252235638+hamachitan[bot]@users.noreply.github.com> Signed-off-by: madomado --- anda/langs/rust/weave/weave.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/anda/langs/rust/weave/weave.spec b/anda/langs/rust/weave/weave.spec index ffe99dc00d2..be77013a2b8 100644 --- a/anda/langs/rust/weave/weave.spec +++ b/anda/langs/rust/weave/weave.spec @@ -39,3 +39,7 @@ cd crates/weave-cli %license LICENSE-APACHE LICENSE-MIT LICENSE.dependencies %doc README.md %_bindir/weave + +%changelog +* Mon Jul 20 2026 madonuko - 0.3.6-1 +- Initial package