https://bugzilla.redhat.com/show_bug.cgi?id=2327650
Fabio Valentini decathorpe@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags| |fedora-review? CC| |decathorpe@gmail.com Assignee|nobody@fedoraproject.org |decathorpe@gmail.com
--- Comment #4 from Fabio Valentini decathorpe@gmail.com --- This package fails to build because it depends on fern v0.6 with the "colored" feature. Only fern v0.7 has this feature in Fedora.
Some other notes:
# drop an unused, benchmark-only criterion dev-dependency to speed up builds find -name "*.toml" | xargs sed -ri '/^[[:blank:]]*criterion\b/d'
# switch to SQLite available in Fedora sed -ri 's/rusqlite = { version = "0.30", features = ["chrono", "serde_json", "bundled"] }/rusqlite = { version = "0.31", features = ["chrono", "serde_json"] }/' aw-datastore/Cargo.toml
# switch to fancy-regex available in Fedora sed -ri 's/fancy-regex = "0.12.0"/fancy-regex = "0.13.0"/' aw-query/Cargo.toml aw-transform/Cargo.toml
# append current commit to the version string sed -ri 's/version = "0.13.1"/version = "0.13.1+%{short_commit}"/' aw-server/Cargo.toml
# remove Android dependencies sed -ri '/target_os="android"/,+4d' aw-server/Cargo.toml
# remove a dependency needed only for the vendored package sed -ri '/target_os="linux"/,/openssl/d' aw-sync/Cargo.toml
# jemallocator will not be packaged for Fedora, so remove it sed -ri '/target_os="linux", target_arch="x86"/,+1d' aw-server/Cargo.toml sed -ri '/target_os = "linux", target_arch = "x86"/,/static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc;/d' aw-server/src/main.rs
Please, don't use `sed` for changing Cargo.toml. It is really hard to understand and debug. A patch would be much simpler and easier to maintain.