From e64e0f6e8de45a8ef204b1cdfc2200808bfc3c63 Mon Sep 17 00:00:00 2001 From: tigro Date: Mon, 15 Jan 2024 20:39:46 +0300 Subject: [PATCH] import rust-bytelines-2.4.0-2.el9 --- .rust-bytelines.metadata | 0 SOURCES/LICENSE | 21 +++++++ SOURCES/bytelines-2.4.0.crate | Bin 0 -> 5334 bytes SPECS/rust-bytelines.spec | 105 ++++++++++++++++++++++++++++++++++ 4 files changed, 126 insertions(+) create mode 100644 .rust-bytelines.metadata create mode 100644 SOURCES/LICENSE create mode 100644 SOURCES/bytelines-2.4.0.crate create mode 100644 SPECS/rust-bytelines.spec diff --git a/.rust-bytelines.metadata b/.rust-bytelines.metadata new file mode 100644 index 0000000..e69de29 diff --git a/SOURCES/LICENSE b/SOURCES/LICENSE new file mode 100644 index 0000000..6281212 --- /dev/null +++ b/SOURCES/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2022 Isaac Whitfield + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/SOURCES/bytelines-2.4.0.crate b/SOURCES/bytelines-2.4.0.crate new file mode 100644 index 0000000000000000000000000000000000000000..0e3aae4677b6bf3e1d3967dd09064d5759223b53 GIT binary patch literal 5334 zcmV;{6e;T;iwFn+00002|6+M`Wo&6~WpgbuE;KGME@N_GbY%eT9cgph#?_zkE7o+! zCS3~DW!a@1HL~Nhnn~)6t+dloH6jQs$*n*vf(1mevi^JDu{cQ`wq><;h{;$au>1Dy zyN?AkoToBWku+5~EuAS{|`U_X{@5ava z4fy15JY7d%G#}=OugETNR20HICt!xWL)3}C>W%Y=ch_XpjZ>> zpXx0A{%q4(K4dL1y;SSapLi#xr)mGUX#C3lfAOmayC2KcdHS^X)J=>#Jat~9_`0D68Go?4zVWN6|IGYU ze_q75T>r07nT_Y08>KB+$IlxZ>sw!${(q&{BXRiGgZJXcgP-0A_`Cn>;oG104-a1N z|Mb&8#b4h1?ajOW!#6*OSN{~R_uu{Ht@FrvB>pjxk;vjudx46^!pFGHK%gPgi4=(( zD+uN0f+PuCA9yk^1A+2V<%2_;1ArFz7l=~Se`HIP0w>V988OlcL@DPO#!&15^M)!^ zDNaO3D$qAVuwu~N3O%w5fj@;OMgsz~M5R&;VCG~X0vXFFkdd#X0SKusF>FhB>~<~w zuF{>_V3+oKFcNc}fnUa*@qW{ZGK4Dxf5MyLqjch>w0oVXv5Elma$AHppd6}G8O}wh z^(mr17l9g$WCDSeXe08|%%6y<=7o%oFx2b-65_p-6>u&tK}4#p=j$lN7|nH@quBFL zy|FxYWS}r85#Nc{=K98qmV?ngek-)TuSiGe#utpnqEJ}_LRBPGK? zyi~LAXY?%sg6*}Aoj@8tQE|S`J0Ox!QJkfM77(5hxSBAb@-25K5F!gX8Yv)ix>m_6cAhF@xE6X8%dh?j!yKTfdP1Z$I05 zzKZ|u;VO;AZES;h1jcD9r$fl`!IEZi0BR^E=`=h^v`$a5B>bP4kB`^qyR$A!jn{(Z zZQ7u^p*VJ|MJWsksXTnU5KXP`itDV0xO5f`$ni&jBP#+>R-y6lGX5`Q_zu^&!Tvv6 zQvclo53sWT_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I%o2jhXeJOF&t?|*JD{{H9I^PScE zfB&oc5At87a~qIBhVA)@HrzGLv*KF9#vzlf(EOEVVL+URz8t*MdpBNeC=lack>a2& zu(3FeNQ!=D5l*}L>HlhkN-+C*um*Y5f8<`b2Amw7)+I;NUVvCWAPmX78trWpy350z7rd} z3-@UyqwP9gM oKYUjkN2~&(KDH>iZggCYgjarPb*-+|^?SMg3muUEX8>*h09f8be*gdg literal 0 HcmV?d00001 diff --git a/SPECS/rust-bytelines.spec b/SPECS/rust-bytelines.spec new file mode 100644 index 0000000..283be20 --- /dev/null +++ b/SPECS/rust-bytelines.spec @@ -0,0 +1,105 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.3.5) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 2; + 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 bytelines + +Name: rust-bytelines +Version: 2.4.0 +Release: %autorelease +Summary: Read input lines as byte slices for high efficiency + +License: MIT +URL: https://crates.io/crates/bytelines +Source: %{crates_source} +# https://github.com/whitfin/bytelines/issues/4 +Source: https://github.com/whitfin/bytelines/raw/ef627d1/LICENSE + +BuildRequires: rust-packaging >= 21 + +%global _description %{expand: +Read input lines as byte slices for high efficiency.} + +%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 +%doc %{crate_instdir}/TODO.txt +%{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 +cp -pav %{SOURCE1} . + +%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 - 2.4.0-2 +- Rebuilt for MSVSphere 9.3 + +* Fri Jan 20 2023 Fedora Release Engineering - 2.4.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Mon Dec 12 2022 Fabio Valentini - 2.4.0-1 +- Update to version 2.4.0; Fixes RHBZ#2144217 + +* Sat Jul 23 2022 Fedora Release Engineering - 2.2.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Jan 21 2022 Fedora Release Engineering - 2.2.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 2.2.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 2.2.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Thu Aug 27 16:44:40 CEST 2020 Igor Raits - 2.2.2-1 +- Initial package +