From fc427fb404f1fa91bd372e8afe586ec9877f8961 Mon Sep 17 00:00:00 2001 From: tigro Date: Mon, 15 Jan 2024 21:39:50 +0300 Subject: [PATCH] import rust-is-wsl-0.4.0-1.el9 --- .rust-is-wsl.metadata | 0 SOURCES/is-wsl-0.4.0.crate | Bin 0 -> 3264 bytes SPECS/rust-is-wsl.spec | 82 +++++++++++++++++++++++++++++++++++++ 3 files changed, 82 insertions(+) create mode 100644 .rust-is-wsl.metadata create mode 100644 SOURCES/is-wsl-0.4.0.crate create mode 100644 SPECS/rust-is-wsl.spec diff --git a/.rust-is-wsl.metadata b/.rust-is-wsl.metadata new file mode 100644 index 0000000..e69de29 diff --git a/SOURCES/is-wsl-0.4.0.crate b/SOURCES/is-wsl-0.4.0.crate new file mode 100644 index 0000000000000000000000000000000000000000..b172d2ad879e6a4824e450106ecba4cd726d0094 GIT binary patch literal 3264 zcmV;x3_tT9iwFn+00002|7mkAcXMnlFfKGMFfL}EqSjyc8P19;sW*N5n31hW=1R3pWqS%2=g{)PU<{)FB;5&|5j$=R}QlQPK( z(!AVzXEgV@&s-^76>d~eD4A8WR5V>XoXW{NS53I^rTMdx;?aLzN>J+6>b>++QR&eGlvqV}Na>^h)AE5(YD{@#G$~%fjhfjO+!@SqN{z!x)%6^|+^Ccf zOVzr4c<4J`y-{(kM%_9rm8&80mLcH{r4gWvrvH7x6q1-r{Cl}qIc)?2lPRsXvD|L)|zk|OLmYtk`O zks?HjCiw9pROAL*8uiP2);sCl|x*>F>MzusO`V{{dSI~hhSUBfOaVb=j zLWL_u#6$!)A+tR~ewI$s5Tzn1UF)Y(&~qmiQLG!nSf~POiFI8euyK%XQc(yu)1?-L z#kYA-@NJL@mw{qw_1um^{yyu4GO^1gJaH#rdFrspzDgysg=(h#3N%&>?6lnoXHtY| zyVo*~UcRf`>ET5(5caZ&ato1^fjhIgcsU14SeR)|rq~srHVA0eEo;94r`s@+uDdkp z?>>A;r(vQJdV8Ch01MQlI$-PN+?D_HsgNPt=^p!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jddpQJe-HOcgTWcVkPt)<@u{Ny9u^_RITQ*Ltr@)&MDZ^8CP zncI;&OCBTcGkjw>fd#~boR}UMMU+=em*g0y>M9K z2?^73($7Yrij5Zr3V^$~YAcq^XQrhg9jf&I=Si_$zc6@GE!PXxN(DqDhBCU53Z@5e zlS|v~W`(U99r0yMFW?}RcG+oS8076XHw*%InjQvuyUP%Ru-znyLC~+x6R$VH4wJohXJ{YQZj(0#~M97Nxb zG=%39Y)9q*04u{6DTHH~or7cIi`t}T#sRPy`9`xT0Ww!H0I;tJ!AY>7C{?P@$o**E yi5S1vLUTVRVwAa%3y_J~5V)e>{aJiR(&(Xb`*X>@?90A<6XjnDTOAbuJ^%nAVPZ-E literal 0 HcmV?d00001 diff --git a/SPECS/rust-is-wsl.spec b/SPECS/rust-is-wsl.spec new file mode 100644 index 0000000..abdd972 --- /dev/null +++ b/SPECS/rust-is-wsl.spec @@ -0,0 +1,82 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.3.5) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 1; + base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); + print(release_number + base_release_number - 1); +}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} +## END: Set by rpmautospec + +# 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 +* Mon Jan 15 2024 Arkady L. Shane - 0.4.0-1 +- Rebuilt for MSVSphere 9.3 + +* Tue May 30 2023 Michel Alexandre Salim - 0.4.0-1 +- Initial Fedora package