-
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
143 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- oxipng-9.0.0/Cargo.toml 1970-01-01T00:00:01+00:00 | ||
+++ oxipng-9.0.0/Cargo.toml 2023-10-30T06:36:01.294365+00:00 | ||
@@ -116,7 +116,6 @@ | ||
[features] | ||
binary = [ | ||
"clap", | ||
- "glob", | ||
"env_logger", | ||
] | ||
default = [ | ||
@@ -133,13 +132,10 @@ | ||
] | ||
sanity-checks = ["image"] | ||
|
||
-[target."cfg(windows)".dependencies.glob] | ||
-version = "0.3.1" | ||
-optional = true | ||
- | ||
[badges.maintenance] | ||
status = "actively-developed" | ||
|
||
[badges.travis-ci] | ||
branch = "master" | ||
repository = "shssoichiro/oxipng" | ||
+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
Name: youki | ||
Version: 0.3.0 | ||
Release: 1%{?dist} | ||
Summary: A container runtime written in Rust | ||
|
||
License: Apache-2.0 | ||
URL: https://github.com/containers/youki | ||
Source0: https://github.com/containers/youki/archive/refs/tags/v%{version}.tar.gz | ||
|
||
BuildRequires: pkg-config | ||
BuildRequires: rust-packaging | ||
BuildRequires: anda-srpm-macros | ||
BuildRequires: systemd-devel | ||
BuildRequires: git-core | ||
BuildRequires: dbus-devel | ||
BuildRequires: libseccomp-devel | ||
BuildRequires: elfutils-libelf-devel | ||
BuildRequires: binutils | ||
BuildRequires: fdupes | ||
|
||
%description | ||
youki is an implementation of the OCI runtime-spec in Rust, similar to runc. | ||
|
||
%prep | ||
%autosetup -n youki-%{version} -S git -v -p0 | ||
|
||
git remote add origin https://github.com/containers/youki | ||
git fetch origin | ||
git checkout v%{version} | ||
|
||
# add host key for github | ||
# mkdir -p ~/.ssh | ||
# ssh-keyscan github.com >> ~/.ssh/known_hosts | ||
|
||
git submodule set-url integration_tests/oci-runtime-tests https://github.com/opencontainers/runtime-tools | ||
git submodule sync | ||
|
||
# download git submodules | ||
git submodule update --init --recursive | ||
|
||
%cargo_prep_online | ||
|
||
|
||
%build | ||
|
||
pushd crates/ | ||
%cargo_build | ||
|
||
|
||
%install | ||
install -D -m 0755 target/release/youki %{buildroot}%{_bindir}/youki | ||
%fdupes docs/ | ||
|
||
%files | ||
%license LICENSE | ||
%doc docs | ||
%{_bindir}/youki | ||
|
||
|
||
%changelog | ||
* Wed Oct 05 2022 Cappy Ishihara <[email protected]> - 0.0.5-1 | ||
- Initial Release |