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

Fabio Valentini <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |fedora-review?
                 CC|                            |[email protected]
           Assignee|[email protected]    |[email protected]



--- Comment #4 from Fabio Valentini <[email protected]> ---
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.


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

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

-- 
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to