Initial package (rhbz#2244103)

epel9 imports/e9/rust-gix-status-0.2.0-1.el9
blinxen 1 year ago
parent efe7d4aebe
commit 5ccf38c00b

1
.gitignore vendored

@ -0,0 +1 @@
/gix-status-0.2.0.crate

@ -1,3 +0,0 @@
# rust-gix-status
The rust-gix-status package

@ -0,0 +1,72 @@
# Generated by rust2rpm 25
# * Deactivate tests because of a missing dev-dependency (gix-testtools)
# * See https://github.com/Byron/gitoxide/discussions/900 for more information
%bcond_with check
%global debug_package %{nil}
%global crate gix-status
Name: rust-gix-status
Version: 0.2.0
Release: %autorelease
Summary: Git status implemenation used by gix
License: MIT OR Apache-2.0
URL: https://crates.io/crates/gix-status
Source: %{crates_source}
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
A crate of the gitoxide project dealing with 'git status'-like
functionality.}
%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-APACHE
%license %{crate_instdir}/LICENSE-MIT
%doc %{crate_instdir}/CHANGELOG.md
%{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} -p1
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
%cargo_test
%endif
%changelog
%autochangelog

@ -0,0 +1,9 @@
[package]
summary = "Git status implemenation used by gix"
[tests]
run = ["none"]
comments = [
"Deactivate tests because of a missing dev-dependency (gix-testtools)",
"See https://github.com/Byron/gitoxide/discussions/900 for more information"
]

@ -0,0 +1 @@
SHA512 (gix-status-0.2.0.crate) = 558206faf99e46812a79f4efc3166f6652beee30ff5740d5d0f3b33901227d893bd5f8078cd713e0301fffbcb39942457084593d1107d1cb1b12e66b400d1943
Loading…
Cancel
Save