Compare commits
7 Commits
Author | SHA1 | Date |
---|---|---|
Aleksei Bavshin | 2dfbbc9e9f | |
Aleksei Bavshin | 2cd3b772a3 | |
Aleksei Bavshin | af4fdfa9ea | |
Aleksei Bavshin | 7b1304871c | |
Aleksei Bavshin | 98d290b726 | |
Aleksei Bavshin | e0b4e9dfbe | |
Tomas Hrcka | 3a0ab8ed4b |
|
@ -1,3 +1,3 @@
|
|||
/*.src.rpm
|
||||
/results_*/
|
||||
/just-1.13.0.crate
|
||||
/just-1.9.0.crate
|
||||
|
|
|
@ -59,9 +59,9 @@ diff --git a/tests/lib.rs b/tests/lib.rs
|
|||
index 9867e3d..2f47d90 100644
|
||||
--- a/tests/lib.rs
|
||||
+++ b/tests/lib.rs
|
||||
@@ -5,7 +5,6 @@ pub(crate) use {
|
||||
tempdir::tempdir,
|
||||
test::{Output, Test},
|
||||
@@ -2,7 +2,6 @@ pub(crate) use {
|
||||
crate::{
|
||||
assert_stdout::assert_stdout, assert_success::assert_success, tempdir::tempdir, test::Test,
|
||||
},
|
||||
- cradle::input::Input,
|
||||
executable_path::executable_path,
|
||||
|
|
|
@ -1,29 +1,23 @@
|
|||
--- just-1.12.0/Cargo.toml 1970-01-01T00:00:01+00:00
|
||||
+++ just-1.12.0/Cargo.toml 2023-01-02T17:35:08+00:00
|
||||
@@ -20,6 +20,13 @@ name = "just"
|
||||
"/icon.png",
|
||||
"/screenshot.png",
|
||||
"/www",
|
||||
--- just-1.9.0/Cargo.toml 1970-01-01T00:00:01+00:00
|
||||
+++ just-1.9.0/Cargo.toml 2022-09-30T00:37:34.996094+00:00
|
||||
@@ -15,9 +15,16 @@
|
||||
version = "1.9.0"
|
||||
authors = ["Casey Rodarmor <casey@rodarmor.com>"]
|
||||
exclude = [
|
||||
+ "/Vagrantfile",
|
||||
+ "/bin",
|
||||
"/book",
|
||||
+ "/completions",
|
||||
+ "/examples",
|
||||
+ "/extras",
|
||||
"/icon.png",
|
||||
+ "/justfile",
|
||||
"/screenshot.png",
|
||||
+ "/snapcraft.yaml",
|
||||
"/www",
|
||||
]
|
||||
autotests = false
|
||||
description = "🤖 Just a command runner"
|
||||
@@ -75,7 +82,7 @@ version = "0.15"
|
||||
version = "2.0.0"
|
||||
|
||||
[dependencies.env_logger]
|
||||
-version = "0.10.0"
|
||||
+version = "0.9.3"
|
||||
|
||||
[dependencies.heck]
|
||||
version = "0.4.0"
|
||||
@@ -132,9 +139,6 @@ version = "0.1.0"
|
||||
@@ -133,9 +139,6 @@
|
||||
version = "1.0.0"
|
||||
features = ["v4"]
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
%global crate just
|
||||
|
||||
Name: rust-just
|
||||
Version: 1.13.0
|
||||
Version: 1.9.0
|
||||
Release: %autorelease
|
||||
Summary: Just a command runner
|
||||
|
||||
|
@ -14,12 +14,13 @@ Source: %{crates_source}
|
|||
# Initial patched metadata
|
||||
# - Exclude unwanted files
|
||||
# - Drop cradle dependency, the crate cannot be packaged due to CC0 license
|
||||
# - Downgrade env_logger dependency to 0.9 (0.10 is blocked by fedora-rust/rust2rpm#186)
|
||||
Patch0: just-fix-metadata.diff
|
||||
# Remove all uses of cradle
|
||||
Patch1: just-1.5.0-no-cradle.patch
|
||||
|
||||
BuildRequires: rust-packaging >= 23
|
||||
ExclusiveArch: %{rust_arches}
|
||||
|
||||
BuildRequires: rust-packaging >= 21
|
||||
|
||||
%global _description %{expand:
|
||||
just is a handy way to save and run project-specific commands.}
|
||||
|
@ -28,21 +29,11 @@ just is a handy way to save and run project-specific commands.}
|
|||
|
||||
%package -n %{crate}
|
||||
Summary: %{summary}
|
||||
# (MIT OR Apache-2.0) AND Unicode-DFS-2016
|
||||
# Apache-2.0
|
||||
# Apache-2.0 OR BSL-1.0
|
||||
# Apache-2.0 OR MIT
|
||||
# CC0-1.0
|
||||
# MIT
|
||||
# MIT OR Apache-2.0
|
||||
# Unlicense OR MIT
|
||||
License: CC0-1.0 AND Apache-2.0 AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND MIT AND Unicode-DFS-2016 AND (Unlicense OR MIT)
|
||||
|
||||
%description -n %{crate} %{_description}
|
||||
|
||||
%files -n %{crate}
|
||||
%license LICENSE
|
||||
%license LICENSE.dependencies
|
||||
%doc CHANGELOG.md
|
||||
%doc CONTRIBUTING.md
|
||||
%doc GRAMMAR.md
|
||||
|
@ -108,7 +99,6 @@ use the "help4help2man" feature of the "%{crate}" crate.
|
|||
|
||||
%build
|
||||
%cargo_build
|
||||
%{cargo_license} >LICENSE.dependencies
|
||||
|
||||
%install
|
||||
%cargo_install
|
||||
|
|
2
sources
2
sources
|
@ -1 +1 @@
|
|||
SHA512 (just-1.13.0.crate) = 9f7d1385b5bfc3fce7d934f06cd53512cdf8cffd88198d7613559884332876db03bdb11c5cd8edb9f2fff284aeb63faeafd07dd28997d708880cc51a596040fc
|
||||
SHA512 (just-1.9.0.crate) = 0912285c742ae6281e0149d42790b75cf1b10943ef45a8f8260c07df7b89cf2dcc96c11e2464b379a61386e12af726b1fae2ce6ed4e1045774ec660a9b25714f
|
||||
|
|
Loading…
Reference in New Issue