rust: Relicense some GPL-2.0-or-later to Apache-2.0 OR MIT

Explicit sign-off-by from authors:
Signed-off-by: Timothée Ravier <travier@redhat.com>
This commit is contained in:
Timothée Ravier 2021-03-10 19:01:40 +01:00 committed by OpenShift Merge Robot
parent 95ff12b913
commit 775bdfd770
7 changed files with 12 additions and 10 deletions

View File

@ -1,8 +1,8 @@
//! Implements the `cliwrap` treefile option which intercepts/proxies
//! other binaries like `/usr/bin/rpm`.
// SPDX-License-Identifier: GPL-2.0-or-later
// (FIXME: I think I really meant this to be Apache-2.0 OR MIT)
// SPDX-License-Identifier: Apache-2.0 OR MIT
use anyhow::{anyhow, Result};
use std::io::prelude::*;
use std::path;

View File

@ -1,4 +1,5 @@
// SPDX-License-Identifier: Apache-2.0 OR MIT
use anyhow::Result;
use nix::sys::statvfs;
use std::os::unix::process::CommandExt;

View File

@ -1,4 +1,5 @@
// SPDX-License-Identifier: Apache-2.0 OR MIT
use anyhow::Result;
use crate::cliwrap::cliutil;

View File

@ -1,6 +1,7 @@
//! Implementation of the "DNF Count Me" system.
// SPDX-License-Identifier: GPL-2.0-or-later
// (FIXME: Convert to Apache-2.0 OR MIT for consistency?)
// SPDX-License-Identifier: Apache-2.0 OR MIT
use anyhow::{bail, Context, Result};
use curl::easy::Easy;
use os_release::OsRelease;

View File

@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-or-later
// (FIXME: Convert to Apache-2.0 OR MIT for consistency?)
// SPDX-License-Identifier: Apache-2.0 OR MIT
use anyhow::{bail, Result};
use chrono::prelude::*;
use openat_ext::OpenatDirExt;

View File

@ -1,5 +1,4 @@
// SPDX-License-Identifier: GPL-2.0-or-later
// (FIXME: Convert to Apache-2.0 OR MIT for consistency?)
// SPDX-License-Identifier: Apache-2.0 OR MIT
use anyhow::{Context, Result};
use std::fs;

View File

@ -31,8 +31,8 @@
//! than scanning the whole journal upfront. This can then be e.g. piped through
//! a pager, stopped after N entries, etc...
// SPDX-License-Identifier: GPL-2.0-or-later
// (FIXME: Convert to Apache-2.0 OR MIT for consistency?)
// SPDX-License-Identifier: Apache-2.0 OR MIT
use crate::cxxrsutil::*;
use crate::ffi::HistoryEntry;
use anyhow::{anyhow, Result};