mirror of
https://github.com/openRuyi-Project/openRuyi.git
synced 2026-09-01 02:44:51 +00:00
SPECS: Add rust-git-testament-derive-0.2.
Signed-off-by: misaka00251 <liuxin@iscas.ac.cn>
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
# 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 = "2018"
|
||||
name = "git-testament-derive"
|
||||
version = "0.2.1"
|
||||
authors = ["Daniel Silverstone <dsilvers@digital-scurf.org>"]
|
||||
build = false
|
||||
autolib = false
|
||||
autobins = false
|
||||
autoexamples = false
|
||||
autotests = false
|
||||
autobenches = false
|
||||
description = "Record git working tree status when compiling your crate - inner procedural macro"
|
||||
documentation = "https://docs.rs/git-testament/"
|
||||
readme = "README.md"
|
||||
license = "BSD-3-Clause"
|
||||
repository = "https://github.com/kinnison/git-testament/"
|
||||
resolver = "2"
|
||||
|
||||
[lib]
|
||||
name = "git_testament_derive"
|
||||
path = "src/lib.rs"
|
||||
proc-macro = true
|
||||
|
||||
[dependencies.log]
|
||||
version = "0.4"
|
||||
|
||||
[dependencies.proc-macro2]
|
||||
version = "1.0"
|
||||
|
||||
[dependencies.quote]
|
||||
version = "1.0"
|
||||
|
||||
[dependencies.syn]
|
||||
version = "2.0"
|
||||
|
||||
[dependencies.time]
|
||||
version = "0.3"
|
||||
features = [
|
||||
"formatting",
|
||||
"macros",
|
||||
]
|
||||
|
||||
[dev-dependencies.git-testament]
|
||||
version = "0.2.0"
|
||||
@@ -0,0 +1,41 @@
|
||||
# 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-derive
|
||||
%global full_version 0.2.1
|
||||
%global pkgname git-testament-derive-0.2
|
||||
|
||||
Name: rust-git-testament-derive-0.2
|
||||
Version: 0.2.1
|
||||
Release: %autorelease
|
||||
Summary: Rust crate "git-testament-derive"
|
||||
License: BSD-3-Clause
|
||||
URL: https://github.com/kinnison/git-testament/
|
||||
#!RemoteAsset: sha256:bbeac967e71eb3dc1656742fc7521ec7cd3b6b88738face65bf1fddf702bc4c0
|
||||
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(log-0.4/default) >= 0.4.0
|
||||
Requires: crate(proc-macro2-1/default) >= 1.0.0
|
||||
Requires: crate(quote-1/default) >= 1.0.0
|
||||
Requires: crate(syn-2/default) >= 2.0.0
|
||||
Requires: crate(time-0.3/default) >= 0.3.0
|
||||
Requires: crate(time-0.3/formatting) >= 0.3.0
|
||||
Requires: crate(time-0.3/macros) >= 0.3.0
|
||||
|
||||
Provides: crate(%{pkgname}) = %{version}
|
||||
Provides: crate(%{pkgname}/default) = %{version}
|
||||
|
||||
%description
|
||||
Source code for takopackized Rust crate "git-testament-derive"
|
||||
|
||||
%files
|
||||
%{_datadir}/cargo/registry/%{crate_name}-%{version}/
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
Reference in New Issue
Block a user