Skip to content

Native iCloud apps for Windows and Linux, built in Rust. Notes, Reminders, Calendar, Contacts, Drive and Photos, offline and in sync with your iPhone.

The package-floor test expects the rpm's glibc floor in parentheses

Yashwanth Kamireddi47adc037eb81
diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs
index 4897ca6..c88f6a3 100644
--- a/src-tauri/src/main.rs
+++ b/src-tauri/src/main.rs
@@ -7320,7 +7320,9 @@ mod start_tests {
assert!(deb.contains(&"libc6 (>= 2.39)".to_string()), "{deb:?}");
assert!(deb.contains(&"libheif1 (>= 1.17)".to_string()), "{deb:?}");
let rpm = depends("rpm");
- assert!(rpm.contains(&"glibc >= 2.39".to_string()), "{rpm:?}");
+ // In parentheses, a versioned rich dependency: bare, the bundler wrote a package literally
+ // named "glibc >= 2.39", which nothing provides, and Fedora and openSUSE refused it.
+ assert!(rpm.contains(&"(glibc >= 2.39)".to_string()), "{rpm:?}");
assert!(rpm.iter().any(|d| d.contains("libheif >= 1.17")), "{rpm:?}");
}
}