Initial package

epel9 imports/e9/rust-symlink-0.1.0-1.el9
blinxen 2 years ago
parent 9b864ba50b
commit 72978de762

1
.gitignore vendored

@ -0,0 +1 @@
/symlink-0.1.0.crate

@ -1,3 +0,0 @@
# rust-symlink
The rust-symlink package

@ -0,0 +1,71 @@
# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate symlink
Name: rust-symlink
Version: 0.1.0
Release: %autorelease
Summary: Create symlinks in a cross-platform manner
# Upstream license specification: MIT/Apache-2.0
License: MIT OR Apache-2.0
URL: https://crates.io/crates/symlink
Source: %{crates_source}
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Create symlinks in a cross-platform manner.}
%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}/COPYRIGHT
%license %{crate_instdir}/LICENSE-APACHE
%license %{crate_instdir}/LICENSE-MIT
%doc %{crate_instdir}/README.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 (symlink-0.1.0.crate) = d5e5358678b9fc769cc1669a63163cb8000df4d73876a8a822a03a49ccf7c4171c10e5abf339b067f25d7f2fcf13d8e51dc648b11a76311950009f6fba122a21
Loading…
Cancel
Save