Initial package (rhbz#2273625)

epel10
blinxen 10 months ago
parent f6a7bffb64
commit 964f79bfe2

1
.gitignore vendored

@ -0,0 +1 @@
/gix-dir-0.3.0.crate

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

@ -0,0 +1,71 @@
# Generated by rust2rpm 26
# * 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-dir
Name: rust-gix-dir
Version: 0.3.0
Release: %autorelease
Summary: Handle git-style directory walk
License: MIT OR Apache-2.0
URL: https://crates.io/crates/gix-dir
Source: %{crates_source}
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
A crate of the gitoxide project dealing with directory walks.}
%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 = "Handle git-style directory walk"
[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-dir-0.3.0.crate) = 25bb8cc429b6b6cb1f1c06268cd0434ae79c538d0f6962e91a4d1d6f738464dc0f9270786605d581cdc72adc19515c6229b64830aead06ef91accc22be57bcf0
Loading…
Cancel
Save