From ca3411748bd08758629acffa4a1cd9dafdffda9d Mon Sep 17 00:00:00 2001 From: tigro Date: Mon, 15 Jan 2024 22:14:21 +0300 Subject: [PATCH] import rust-portpicker-0.1.1-1.el9 --- .rust-portpicker.metadata | 0 SOURCES/portpicker-0.1.1.crate | Bin 0 -> 2426 bytes SPECS/rust-portpicker.spec | 82 +++++++++++++++++++++++++++++++++ 3 files changed, 82 insertions(+) create mode 100644 .rust-portpicker.metadata create mode 100644 SOURCES/portpicker-0.1.1.crate create mode 100644 SPECS/rust-portpicker.spec diff --git a/.rust-portpicker.metadata b/.rust-portpicker.metadata new file mode 100644 index 0000000..e69de29 diff --git a/SOURCES/portpicker-0.1.1.crate b/SOURCES/portpicker-0.1.1.crate new file mode 100644 index 0000000000000000000000000000000000000000..69bc746c84245afaac5ce20cdd62356a0e66861f GIT binary patch literal 2426 zcmV-=35E6_iwFn+00002|8Q?|bZ}{7Yh`jRFfK7JF)m|rVRU5x?OJ_r+DIDj-qZ4eqh3EakE2?xt*>Fg zb@gej(s)#P^Z+AKF_nZo`iqYL7=+|!JkB=>Uc!x<(<u1mEwX=F<`V+0!>b0k5 zmFnc#q*AYXtj6lJR{hDHG#bz9c_8~>d@vpz$9FiQd-V^=z-OV5?3>A0)&HixcYZ6C zr;U5{e|B2^zUqJ9xbI|?!TK4CjVDjaPfV%I$--#i24MQaT^wuruUG$R^kWhD-@N`m zQZm)kv-*DhS8KKEasPjS@tBM*oFO@PIyQk{>uS`yv_?+L>U7?c*LK$)SR=blUcDtP zYw)^fJT@Ma>p2Ta68VC9Je(0%(wHd{3lh&6k!;3QESE$l61n5PPiO-9L}Tt!-(LcQ zJZvuk_4&V9o^0}sOt}wyrb3c{{>EVeaYYaT-Guu*M#4KD&j~Ogw@fN7LPf+h6GTG~ zo+tqd+({lY@*XJX?}^7E7J4jnIa9zP78?x<%$%8}On;M$;@)Cd?o7#2BxJ&T&TbhR zDA|t+gb^ksD9S^a<4UVeBA-#k(rX$5HCHNu%NgaNic{}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(IR2vJzfHJGdjKu~0I^V_bpQYW literal 0 HcmV?d00001 diff --git a/SPECS/rust-portpicker.spec b/SPECS/rust-portpicker.spec new file mode 100644 index 0000000..73d5e77 --- /dev/null +++ b/SPECS/rust-portpicker.spec @@ -0,0 +1,82 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.3.1) +## 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 23 +%bcond_without check +%global debug_package %{nil} + +%global crate portpicker + +Name: rust-portpicker +Version: 0.1.1 +Release: %autorelease +Summary: Pick a free unused port + +License: Unlicense +URL: https://crates.io/crates/portpicker +Source: %{crates_source} + +BuildRequires: rust-packaging >= 21 + +%global _description %{expand: +Pick a free unused port.} + +%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.1.1-1 +- Rebuilt for MSVSphere 9.3 + +* Fri Jan 20 2023 Michel Alexandre Salim - 0.1.1-1 +- Initial Fedora package