Initial package (rhbz#2236866)

epel9
blinxen 1 year ago
parent 32d93b9cc6
commit 1f66e3d69c

1
.gitignore vendored

@ -0,0 +1 @@
/gix-attributes-0.18.0.crate

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

@ -0,0 +1,93 @@
# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate gix-attributes
Name: rust-gix-attributes
Version: 0.18.0
Release: %autorelease
Summary: Gix implemenation for handling git attributes files
License: MIT OR Apache-2.0
URL: https://crates.io/crates/gix-attributes
Source: %{crates_source}
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
A crate of the gitoxide project dealing .gitattributes files.}
%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
%package -n %{name}+document-features-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+document-features-devel %{_description}
This package contains library source intended for building other packages which
use the "document-features" feature of the "%{crate}" crate.
%files -n %{name}+document-features-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+serde-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+serde-devel %{_description}
This package contains library source intended for building other packages which
use the "serde" feature of the "%{crate}" crate.
%files -n %{name}+serde-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-attributes-0.18.0.crate) = 66807280ef9913cf6ad76809aba7dc5d6c9fbd404f3f6e3d388a07b7d16681e620a53d2a41a23285c5764cd25afbc03a76b138dbd0e1a73368a535dd998c082d
Loading…
Cancel
Save