Initial package (rhbz#2241045)

epel9 imports/e9/rust-gix-macros-0.1.0-1.el9
blinxen 1 year ago
parent f0c81d4af1
commit 58a96e2e6d

1
.gitignore vendored

@ -0,0 +1 @@
/gix-macros-0.1.0.crate

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

@ -0,0 +1,69 @@
# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate gix-macros
Name: rust-gix-macros
Version: 0.1.0
Release: %autorelease
Summary: Proc-macro utilities for gix
License: MIT OR Apache-2.0
URL: https://crates.io/crates/gix-macros
Source: %{crates_source}
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Proc-macro utilities for gix.}
%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-macros-0.1.0.crate) = 537991837a7b515ff1bbb252d0e11895a2ee1c2b3e7ab644a2f8d8ce22cc5349316589d86f8575a9792c1be99a4c6cc3889002ea0cc515eb61eb8bdcab16cd22
Loading…
Cancel
Save