From 700b2cbd978a409f2a334ecf022677ffdaef2d86 Mon Sep 17 00:00:00 2001 From: tigro Date: Mon, 15 Jan 2024 21:39:15 +0300 Subject: [PATCH] import rust-is-docker-0.2.0-1.el9 --- .rust-is-docker.metadata | 0 SOURCES/is-docker-0.2.0.crate | Bin 0 -> 2664 bytes SPECS/rust-is-docker.spec | 82 ++++++++++++++++++++++++++++++++++ 3 files changed, 82 insertions(+) create mode 100644 .rust-is-docker.metadata create mode 100644 SOURCES/is-docker-0.2.0.crate create mode 100644 SPECS/rust-is-docker.spec diff --git a/.rust-is-docker.metadata b/.rust-is-docker.metadata new file mode 100644 index 0000000..e69de29 diff --git a/SOURCES/is-docker-0.2.0.crate b/SOURCES/is-docker-0.2.0.crate new file mode 100644 index 0000000000000000000000000000000000000000..f3d003a778f51a97f5ab572a79cff267a5244fbb GIT binary patch literal 2664 zcmV-u3YYaCiwFn+00002|7mkAWN%|@WpXVrE;24KE@N_GbY%eTT5WUNHWJQf{E98p z4|YzXUM(eRn~5URG3R8-BgxHWG9H;CK?yZQs00{Cm-_R4yT5RM@qWVXf)XXaw8>n3 zo~9=xV-dh&u>kSxJ_|{xVj%rXo)pV=)h?H8-%F-){J~da5r@+LNy+%h?<{33je7mw zb}E%xBY(ykK3A&EO6^Jc$s?3hX)ghI@_$-BF#u~SwABK7#EP1E6|7l)h1bhLeZm`@ zHyST^x%#5+Px!$>v-#W$8r7ij!snGnXyLHy0;ySedWNTl4i71?*!7cL`GXg68~=C~ zX6dAKC6miAl2@wa3w!C!qX)qM3gEXt%gsvVNu^wGRLa$IwMOlgM(v>Sb>aW^;=Ym+ zdvo4`5m#CMJ4n^R17`TiI0)utLC|<6Y(*ZBAq1i9^d#R;suy+?VYbQ@`Y-xCq_?Q0jQp7=;#YIDgeUo|*%I9tr;Q@W#q$0uMBJ8< zun}p&x1T<(mSNK*aDAPdfE&~T6Rpj5J|OhpL{~rPW zqnS|VumgU2DWU~&=3}T@!mH^W-(VwDTuq{}#1D$^0XYXm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9>D3@;Iuz&fe#8n4k1;)>sTk%<$Nd4>2c7=uyMg=Wcm&7&?xBN?uN}0k{TeeX zGZikX(`~ya1vqSQ-p!P{epnrOZ@{_l+3evg*X>GwthtQK&UgHb;8 ztvhrI&>px$+K{6`|D?cZJ8?wcD8X?(C(}Y(4L9BhictM*=;R9F&}ny3*N_I&64%1^ z*H3nL<+JfW&$}Kk{+ADG)jRRO*{JT~|D)Xha*u}RmSKniLK>*t_<2h=#6E$WR7Z*g58N;}YBI8V?)yf|k z3u7Shz5Ue>S#TM7Z{A3yR6_ePhGM#t^&&}#4CPQd4MX_%zyA3TBYX`!!s+fGnP1*u z42`Gi8~8r^cKDiIleLU}o%rV;J$i|%wA%W|z<;fLa3}w7?D+qq6#h~3B+l+YH+cE( zx8byfyBo+_BqG*P{LP-#NfQD`v^30d?JqiOfANjAe?P+R(?ARlwfw4%-OtP(5dSLi zOOcp75c0nW{|Ni~-QRzdYdicuHvaP~t?#lxt8~z6h3Y#~$vayuwT%5%tB(zxOcDPaa4ma?(dwwvl-?vZ)p^>-%w@WV^E(PFQd zjoPzT*M|Fre7KV&dt;s?GRX$gFU|^i>}QK~0%3fEd)zcz5k2yu)9xHQhht1{&$^=) ztatN!l6(n2%&+$LahGZEvm3+gDc563dnEMUFTZT9@&4C=BKPlXX8u0@!6odx W;;!t>` literal 0 HcmV?d00001 diff --git a/SPECS/rust-is-docker.spec b/SPECS/rust-is-docker.spec new file mode 100644 index 0000000..51097cd --- /dev/null +++ b/SPECS/rust-is-docker.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-docker + +Name: rust-is-docker +Version: 0.2.0 +Release: %autorelease +Summary: Checks if the process is running inside a Docker container + +License: MIT +URL: https://crates.io/crates/is-docker +Source: %{crates_source} + +BuildRequires: rust-packaging >= 21 + +%global _description %{expand: +Checks if the process is running inside a Docker container.} + +%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.2.0-1 +- Rebuilt for MSVSphere 9.3 + +* Tue May 30 2023 Michel Alexandre Salim - 0.2.0-1 +- Initial Fedora package