From e000bd8d0d535e4611d2729cd74ad66e173983fa Mon Sep 17 00:00:00 2001 From: windowsboy111 Date: Thu, 29 Dec 2022 16:45:04 +0800 Subject: [PATCH 1/4] Fix autoupdate pipeline --- anda/desktops/kde/latte-dock-nightly/latte-dock-nightly.spec | 2 +- anda/fonts/vl-gothic/anda.hcl | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/anda/desktops/kde/latte-dock-nightly/latte-dock-nightly.spec b/anda/desktops/kde/latte-dock-nightly/latte-dock-nightly.spec index 715838651b..161c2931e7 100644 --- a/anda/desktops/kde/latte-dock-nightly/latte-dock-nightly.spec +++ b/anda/desktops/kde/latte-dock-nightly/latte-dock-nightly.spec @@ -1,6 +1,6 @@ %global forgeurl https://github.com/KDE/latte-dock/ -%define commit 93c50a7e8fbc88d15c17efe26eacdce2c616bded +%global commit 93c50a7e8fbc88d15c17efe26eacdce2c616bded %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global commit_date %(date '+%Y%m%d') %global snapshot_info %{commit_date}.%{shortcommit} diff --git a/anda/fonts/vl-gothic/anda.hcl b/anda/fonts/vl-gothic/anda.hcl index b6b11b11a8..a71f5fc300 100644 --- a/anda/fonts/vl-gothic/anda.hcl +++ b/anda/fonts/vl-gothic/anda.hcl @@ -1,6 +1,5 @@ project "pkg" { rpm { spec = "vl-gothic-fonts.spec" - update = "" } } From 27904e37b542ad28213e21e7340b9333b6c417ed Mon Sep 17 00:00:00 2001 From: windowsboy111 Date: Thu, 29 Dec 2022 16:49:12 +0800 Subject: [PATCH 2/4] Add autoupdate to argagg --- anda/lib/argagg/anda.hcl | 1 + anda/lib/argagg/update.rhai | 1 + 2 files changed, 2 insertions(+) create mode 100644 anda/lib/argagg/update.rhai diff --git a/anda/lib/argagg/anda.hcl b/anda/lib/argagg/anda.hcl index f93ef329e5..795808b97b 100644 --- a/anda/lib/argagg/anda.hcl +++ b/anda/lib/argagg/anda.hcl @@ -1,5 +1,6 @@ project "pkg" { rpm { spec = "argagg.spec" + update = "" } } diff --git a/anda/lib/argagg/update.rhai b/anda/lib/argagg/update.rhai new file mode 100644 index 0000000000..fc1c18bcbf --- /dev/null +++ b/anda/lib/argagg/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("vietjtnguyen/argagg")); From 2794431005effe2ef6abcec0903320d8eab041fc Mon Sep 17 00:00:00 2001 From: windowsboy111 Date: Thu, 29 Dec 2022 16:54:50 +0800 Subject: [PATCH 3/4] Disable check for starship --- anda/rust/starship/rust-starship.spec | 2 -- 1 file changed, 2 deletions(-) diff --git a/anda/rust/starship/rust-starship.spec b/anda/rust/starship/rust-starship.spec index 93f6e122fd..95b5694299 100644 --- a/anda/rust/starship/rust-starship.spec +++ b/anda/rust/starship/rust-starship.spec @@ -1,6 +1,4 @@ # Generated by rust2rpm 23 -%bcond_without check - %global crate starship Name: rust-starship From 62203c0d971f096c5acb4d3ca5ce24c2a7c4acae Mon Sep 17 00:00:00 2001 From: windowsboy111 Date: Thu, 29 Dec 2022 17:51:47 +0800 Subject: [PATCH 4/4] Fix starship again --- anda/rust/starship/.gitignore | 1 - anda/rust/starship/rust-starship.spec | 2 -- 2 files changed, 3 deletions(-) delete mode 100644 anda/rust/starship/.gitignore diff --git a/anda/rust/starship/.gitignore b/anda/rust/starship/.gitignore deleted file mode 100644 index 79b8e8a9dd..0000000000 --- a/anda/rust/starship/.gitignore +++ /dev/null @@ -1 +0,0 @@ -anda-build/ \ No newline at end of file diff --git a/anda/rust/starship/rust-starship.spec b/anda/rust/starship/rust-starship.spec index 95b5694299..0b065f3efd 100644 --- a/anda/rust/starship/rust-starship.spec +++ b/anda/rust/starship/rust-starship.spec @@ -43,8 +43,6 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license %{crate_instdir}/LICENSE -%doc %{crate_instdir}/README.md %{crate_instdir}/ %package -n %{name}+default-devel