From 42fa426747a4038be4c75ece30d040b70d1b1771 Mon Sep 17 00:00:00 2001 From: madomado Date: Sun, 18 Feb 2024 18:39:21 +0800 Subject: [PATCH] fix: rpm.changed() Bump anda 0.1.24 -> 0.1.25 Bump andax 0.1.9 -> 0.1.10 --- Cargo.toml | 4 ++-- andax/Cargo.toml | 2 +- andax/src/fns/rpm.rs | 2 +- rust-anda-git.spec | 2 +- rust-anda.spec | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 263279e..b2052df 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ # Cargo workspace [package] name = "anda" -version = "0.1.24" +version = "0.1.25" edition = "2021" description = "Andaman Build toolchain" license = "MIT" @@ -24,7 +24,7 @@ color-eyre = "0.6.2" walkdir = "2.3.2" tempfile = "3.4.0" anda-config = { path = "./anda-config", version = "0.1.6" } -andax = { path = "./andax", version = "0.1" } +andax = { path = "./andax", version = "0.1.10" } flatpak = "0.18.1" clap_mangen = "0.2.9" clap-verbosity-flag = "2.0.0" diff --git a/andax/Cargo.toml b/andax/Cargo.toml index 7e474d1..ceeb612 100644 --- a/andax/Cargo.toml +++ b/andax/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "andax" -version = "0.1.9" +version = "0.1.10" edition = "2021" license = "MIT" description = "Andaman scripting runtime" diff --git a/andax/src/fns/rpm.rs b/andax/src/fns/rpm.rs index d5e976a..e17bc6e 100644 --- a/andax/src/fns/rpm.rs +++ b/andax/src/fns/rpm.rs @@ -107,7 +107,7 @@ impl RPMSpec { /// Check if file has been changed #[must_use] pub fn changed(&self) -> bool { - self.f == self.original + self.f != self.original } } diff --git a/rust-anda-git.spec b/rust-anda-git.spec index 27ba3aa..edc983d 100644 --- a/rust-anda-git.spec +++ b/rust-anda-git.spec @@ -4,7 +4,7 @@ %global crate anda -%global _version 0.1.24 +%global _version 0.1.25 Name: rust-anda Version: %{_version}.%{autogitversion} diff --git a/rust-anda.spec b/rust-anda.spec index f6caac5..d730a8a 100644 --- a/rust-anda.spec +++ b/rust-anda.spec @@ -5,7 +5,7 @@ %global crate anda Name: rust-anda -Version: 0.1.24 +Version: 0.1.25 Release: 1%{?dist} Summary: Andaman Build toolchain