mirror of
https://github.com/openRuyi-Project/openRuyi.git
synced 2026-09-01 02:44:51 +00:00
SPECS: Add rust-git-testament-0.2.
Signed-off-by: misaka00251 <liuxin@iscas.ac.cn>
This commit is contained in:
@@ -0,0 +1,71 @@
|
||||
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
|
||||
#
|
||||
# When uploading crates to the registry Cargo will automatically
|
||||
# "normalize" Cargo.toml files for maximal compatibility
|
||||
# with all versions of Cargo and also rewrite `path` dependencies
|
||||
# to registry (e.g., crates.io) dependencies.
|
||||
#
|
||||
# If you are reading this file be aware that the original Cargo.toml
|
||||
# will likely look very different (and much more reasonable).
|
||||
# See Cargo.toml.orig for the original contents.
|
||||
|
||||
[package]
|
||||
edition = "2021"
|
||||
name = "git-testament"
|
||||
version = "0.2.6"
|
||||
authors = ["Daniel Silverstone <dsilvers@digital-scurf.org>"]
|
||||
build = false
|
||||
include = [
|
||||
"src",
|
||||
"tests",
|
||||
"test-template",
|
||||
]
|
||||
autolib = false
|
||||
autobins = false
|
||||
autoexamples = false
|
||||
autotests = false
|
||||
autobenches = false
|
||||
description = "Record git working tree status when compiling your crate"
|
||||
documentation = "https://docs.rs/git-testament/"
|
||||
readme = "README.md"
|
||||
license = "BSD-3-Clause"
|
||||
repository = "https://github.com/kinnison/git-testament/"
|
||||
|
||||
[lib]
|
||||
name = "git_testament"
|
||||
path = "src/lib.rs"
|
||||
|
||||
[[test]]
|
||||
name = "const"
|
||||
path = "tests/const.rs"
|
||||
|
||||
[[test]]
|
||||
name = "no-prelude"
|
||||
path = "tests/no-prelude.rs"
|
||||
|
||||
[[test]]
|
||||
name = "simple"
|
||||
path = "tests/simple.rs"
|
||||
|
||||
[[test]]
|
||||
name = "testutils"
|
||||
path = "tests/testutils.rs"
|
||||
|
||||
[dependencies.git-testament-derive]
|
||||
version = "0.2.1"
|
||||
|
||||
[dev-dependencies.lazy_static]
|
||||
version = "1"
|
||||
|
||||
[dev-dependencies.rand]
|
||||
version = "0.8"
|
||||
|
||||
[dev-dependencies.regex]
|
||||
version = "1"
|
||||
|
||||
[dev-dependencies.tempfile]
|
||||
version = "3"
|
||||
|
||||
[features]
|
||||
alloc = []
|
||||
default = ["alloc"]
|
||||
@@ -0,0 +1,36 @@
|
||||
# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS)
|
||||
# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors
|
||||
#
|
||||
# SPDX-License-Identifier: MulanPSL-2.0
|
||||
|
||||
%global crate_name git-testament
|
||||
%global full_version 0.2.6
|
||||
%global pkgname git-testament-0.2
|
||||
|
||||
Name: rust-git-testament-0.2
|
||||
Version: 0.2.6
|
||||
Release: %autorelease
|
||||
Summary: Rust crate "git-testament"
|
||||
License: BSD-3-Clause
|
||||
URL: https://github.com/kinnison/git-testament/
|
||||
#!RemoteAsset: sha256:5a74999c921479f919c87a9d2e6922a79a18683f18105344df8e067149232e51
|
||||
Source: https://static.crates.io/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildSystem: rustcrates
|
||||
|
||||
BuildRequires: rust-rpm-macros
|
||||
|
||||
Requires: crate(git-testament-derive-0.2/default) >= 0.2.1
|
||||
|
||||
Provides: crate(%{pkgname}) = %{version}
|
||||
Provides: crate(%{pkgname}/alloc) = %{version}
|
||||
Provides: crate(%{pkgname}/default) = %{version}
|
||||
|
||||
%description
|
||||
Source code for takopackized Rust crate "git-testament"
|
||||
|
||||
%files
|
||||
%{_datadir}/cargo/registry/%{crate_name}-%{version}/
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
Reference in New Issue
Block a user