[Bug 2230010] Review Request: rust-safe-transmute - Safeguarded transmute() for Rust

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

 



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



--- Comment #6 from Fabio Valentini <decathorpe@xxxxxxxxx> ---
(In reply to Kalev Lember from comment #4)
> What's the best way to exclude the files? I'm fairly clueless when it comes
> to rust.

There are two ways - the first one is more robust.

You can use the "package.exclude" setting in Cargo.toml.

In this case, adding a patch to add these lines to the [package] table would do
it:

exclude = [
    "/appveyor.yml",
    "/rustfmt.toml",
    "/safe-transmute-rs.sublime-project",
]

The alternative would be to add this line to the -devel subpackage's %files
list:

%exclude
%{crate_instdir}/{appveyor.yml,rustfmt.toml,safe-transmute-rs.sublime-project}


-- 
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=2230010

Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202230010%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