Initial Fedora package

Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
epel9 imports/e9/rust-is-wsl-0.4.0-1.el9
Michel Alexandre Salim 2 years ago
parent a099086949
commit 77d814335d
No known key found for this signature in database
GPG Key ID: 8B229D2F7CCC04F2

1
.gitignore vendored

@ -0,0 +1 @@
/is-wsl-0.4.0.crate

@ -0,0 +1,68 @@
# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate is-wsl
Name: rust-is-wsl
Version: 0.4.0
Release: %autorelease
Summary: Checks if the process is running inside Windows Subsystem for Linux
License: MIT
URL: https://crates.io/crates/is-wsl
Source: %{crates_source}
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Checks if the process is running inside Windows Subsystem for Linux.}
%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
%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 (is-wsl-0.4.0.crate) = 69ffd419eb4de2e50ef4e61efca76ec4547216957d5422ac7b2bde85264080c2f522714aa40b5a6566c25eaf791d12ec0df09afe3060cc43087d18510f33d049
Loading…
Cancel
Save