[Bug 2279546] Review Request: rust-sqlx-sqlite - SQLite driver implementation for SQLx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=2279546

Cristian Le <fedora@xxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|fedora-review+              |needinfo?(zebob.m@xxxxxxxxx
                   |                            |)



--- Comment #6 from Cristian Le <fedora@xxxxxxxxx> ---
I've had to fix more dependencies and stuff. Robert can you re-review?

---

Spec URL:
https://github.com/LecrisUT/sqlx-rpmspec/raw/8a8d6c3c423c1e9b24ca1a557a32f3df1d0ff38f/rust-sqlx-sqlite/rust-sqlx-sqlite.spec
SRPM URL:
https://download.copr.fedorainfracloud.org/results/packit/LecrisUT-sqlx-rpmspec-main/fedora-rawhide-x86_64/07714408-rust-sqlx-sqlite/rust-sqlx-sqlite-0.7.4-1.fc41.src.rpm

rust2rpm.toml:
```toml
[features]
enable-all = true

[[package.extra-sources]]
number = 10
file = "https://github.com/launchbadge/sqlx/raw/v%{version}/LICENSE-APACHE";
comments = [
    "Fix missing LICENSE-* files in released crates",
    "https://github.com/launchbadge/sqlx/issues/3237";,
]
[[package.extra-sources]]
number = 11
file = "https://github.com/launchbadge/sqlx/raw/v%{version}/LICENSE-MIT";
comments = [
    "Fix missing LICENSE-* files in released crates",
    "https://github.com/launchbadge/sqlx/issues/3237";,
]

[scripts.prep]
pre = ["cp -p '%{SOURCE10}' '%{SOURCE11}' ."]

[package]
cargo-toml-patch-comments = [
    "- Bump libsqlite3 dependency",
    "  https://github.com/launchbadge/sqlx/pull/3148";,
    "- Fix libsqlite3 features",
    "- Fix missing chrono.clock feature",
    "  https://github.com/launchbadge/sqlx/issues/3332";,
]

[[package.extra-patches]]
comments = [
    "https://github.com/launchbadge/sqlx/pull/3281";,
    "Add SQLITE_OPEN_URI to all in-memory sqlite",
]
file = "sqlx-sqlite-0.7.4-Fix_openuri_flag.patch"
number = 10

[tests]
comments = [
    "resolve dependency loop with sqlx",
]
run = ["none"]
```

sqlx-sqlite-fix-metadata.diff
```
--- sqlx-sqlite-0.7.4/Cargo.toml        1970-01-01T00:00:01+00:00
+++ sqlx-sqlite-0.7.4/Cargo.toml        2024-07-07T08:40:24.250434+00:00
@@ -29,6 +29,9 @@

 [dependencies.chrono]
 version = "0.4.22"
+features = [
+    "clock",
+]
 optional = true
 default-features = false

@@ -65,11 +68,8 @@
 default-features = false

 [dependencies.libsqlite3-sys]
-version = "0.27.0"
+version = "0.28.0"
 features = [
-    "pkg-config",
-    "vcpkg",
-    "bundled",
     "unlock_notify",
 ]
 default-features = false
```


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
https://bugzilla.redhat.com/show_bug.cgi?id=2279546

Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202279546%23c6

-- 
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux