Initial Fedora package

Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
epel9
Michel Alexandre Salim 2 years ago
parent 6d9e42d7c1
commit 9048bb676a
No known key found for this signature in database
GPG Key ID: 8B229D2F7CCC04F2

1
.gitignore vendored

@ -0,0 +1 @@
/nu-color-config-0.75.0.crate

@ -0,0 +1,67 @@
# Generated by rust2rpm 23
%bcond_without check
%global debug_package %{nil}
%global crate nu-color-config
Name: rust-nu-color-config
Version: 0.75.0
Release: %autorelease
Summary: Color configuration code used by Nushell
License: MIT
URL: https://crates.io/crates/nu-color-config
Source: %{crates_source}
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Color configuration code used by Nushell.}
%description %{_description}
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages which
use the "%{crate}" crate.
%files devel
%license %{crate_instdir}/LICENSE
%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages which
use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
%cargo_test -- -- --skip style_computer::test_computable_style_closure_basic --skip style_computer::test_computable_style_closure_errors
%endif
%changelog
%autochangelog

@ -0,0 +1 @@
SHA512 (nu-color-config-0.75.0.crate) = 1edda1fbfa06e80e0791daf6989a5e9b678b8d0a51d033ac60ce6cb43850cf9c3f3e0ab80fbee4ea93660806664884d8c69725334a1c49b613217a61e8819e11
Loading…
Cancel
Save