Initial package (rhbz#2241786)

epel9
blinxen 1 year ago
parent 3eda4c7371
commit f08666eec7

1
.gitignore vendored

@ -0,0 +1 @@
/gix-worktree-state-0.2.0.crate

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

@ -0,0 +1,70 @@
# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate gix-worktree-state
Name: rust-gix-worktree-state
Version: 0.2.0
Release: %autorelease
Summary: Set worktrees to a particular state
License: MIT OR Apache-2.0
URL: https://crates.io/crates/gix-worktree-state
Source: %{crates_source}
BuildRequires: rust-packaging >= 21
%global _description %{expand:
A crate of the gitoxide project implementing setting the worktree to a
particular state.}
%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_no_tilde} -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 @@
SHA512 (gix-worktree-state-0.2.0.crate) = 4200e790ae67ae05fead105d3510ab6837585c03296c03084748ec875633463111ca89f140b70d90da9755d1c32aa59f4cd5235a50442084f1d7d4b1744e1c4b
Loading…
Cancel
Save