From cd382cac13bbcf119efbcf3bc4f63611886dda17 Mon Sep 17 00:00:00 2001 From: tigro Date: Mon, 15 Jan 2024 21:07:35 +0300 Subject: [PATCH] import rust-enum-iterator-derive-0.6.0-7.el9 --- .rust-enum-iterator-derive.metadata | 0 SOURCES/LICENSE | 19 +++++ SOURCES/enum-iterator-derive-0.6.0.crate | Bin 0 -> 2237 bytes SPECS/rust-enum-iterator-derive.spec | 100 +++++++++++++++++++++++ 4 files changed, 119 insertions(+) create mode 100644 .rust-enum-iterator-derive.metadata create mode 100644 SOURCES/LICENSE create mode 100644 SOURCES/enum-iterator-derive-0.6.0.crate create mode 100644 SPECS/rust-enum-iterator-derive.spec diff --git a/.rust-enum-iterator-derive.metadata b/.rust-enum-iterator-derive.metadata new file mode 100644 index 0000000..e69de29 diff --git a/SOURCES/LICENSE b/SOURCES/LICENSE new file mode 100644 index 0000000..fcf3d7a --- /dev/null +++ b/SOURCES/LICENSE @@ -0,0 +1,19 @@ +Copyright 2018 Stephane Raux + +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/enum-iterator-derive-0.6.0.crate b/SOURCES/enum-iterator-derive-0.6.0.crate new file mode 100644 index 0000000000000000000000000000000000000000..353c5e892ab82213e190708618b917d8f4d7f732 GIT binary patch literal 2237 zcmV;u2txNCiwFn+00002|7C7EKq5QwzWv4CQ?qk*8hEn)Qe@= z4({4DKnC+eZ1a%k<>BFTjub-EXfF^X!Ga}wK1qTp*=t(|R=ahMlQFXdi$aSf!T8m8 zkG9=zAM|>!+U>S|xZkdR%3-&=y;pYkpwroh*@F(u+Xshj_0&P%Md$7B1s7dd=eAt6Y2$oS66hTC$`nLdb;+nlnGM&?&uny z(c;&>uD#lh|NBAy2><^Ns8RC&2FmQ%y>`j}`?jnTcDG~OFN^iwnG&>HCP6GBlMhYb4x9V1WD zGnZ5?**PKOfD52Zl|JYp2tx#=f#EIP6+H&g%Yq`C?A5N2b@SBaHcDbAqs+{3WN$GfF}&@ zNjO6xWA_rO8S;bC2wbNE84{={^(H7{i99aM8O6hpm{2pyW?-dIKSy`)6PkhVFaFO^ zyz8CHkM#VGU)?sDUwugAh^`9qR3la)){YUHn z)6aj0cJH95|Gk4wSJwai!|wL^?>R=Rh0a+#gXjAR)P{2tNxI*IKX1?yZCmKAESkYE z6~sp=T>FfFfw)l4W0t11T03YRZD)Cfz6_{f7m#s-JmJ2mYF}e*Zb>~#*EJzoc}BNO ziF#)|$;PHq>k|RR1+;06o!f+Xsp2L#45C0NhUy#v34;tMY-T`hrBHFX2@h4|5fstf zvZPB_MRKfZDX&g+9OvtGjA;|yuzNzURXLs?t5u3OL9RaK0=0zaQZ9VQ8ASpX0IqR} zXHCROI4Z<53X%ahCYtE20&hU$RDc+8Y2{P=j|1AcU3l$gr(x9hLgaBeL?a4ajbN_a z=@y6@fi&+_Vt1TM%qH6FZ<3*}8iJ7?U6!~c+`WG5BC`?e+cYzq^U_rz`vSElkeP8@3Z?-sB=GgPvcZM>0iu!Yx5bX37iYb`f%-a! z4n@q&g$8;4uCl9=(QznwFm??wlZPewfQ}*NUyxo+B;9Nxc`Y1AHvBHMG{i6~N=uWc zzz_mDQRTUh1+Ji{PUJ1j!I^<>gP7>Fk9LVw>~5AzT`5^b`{FSs9zZO&ufS}Y+5Y*$ zEu2Ksr9!_YV>e7o-UHQiLK+qptq8})HzV*Ln`ml&tGHbP=gSkBR!^!JSg-Ho6Qw93YIl^NR6MfAeUg7nl&Z! z^4Gi)y2rv0^uRsIFWG0}ow)rba{GOwxF`|=I&>>1Ezz|?LXAoyWQIXlL{?g9+-8Z} z$Wr*OD#%FSJY*DjRTeKvk;8OsR#wRy0qL1~0>H|1co}Gb&_OAOXV68^z%r#cibDhm z49`f8BQ-cqd3PkmZqO=bF+s2}%6vc8mZU&o6l#mH8>K?gz2d6E3R6!$j&rF#Pp(0( zj7I%6Ia20WmQ7NbC9`66rNYB#Nc_z|t(8{q&w6JZ=c7b>W%vAeHF*n9emO<Phf zPo~zzBlg5K__-m+=1*;Y2OWdIabtbwQdx)msx<-G{*8H^tvM|%)Dqld@FMs9t>YvH=y}i|!~ literal 0 HcmV?d00001 diff --git a/SPECS/rust-enum-iterator-derive.spec b/SPECS/rust-enum-iterator-derive.spec new file mode 100644 index 0000000..08232c5 --- /dev/null +++ b/SPECS/rust-enum-iterator-derive.spec @@ -0,0 +1,100 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.3.5) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 7; + 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 enum-iterator-derive + +Name: rust-enum-iterator-derive +Version: 0.6.0 +Release: %autorelease +Summary: Procedural macro to iterate over the variants of a field-less enum + +License: MIT +URL: https://crates.io/crates/enum-iterator-derive +Source0: %{crates_source} +Source1: https://github.com/stephaneyfx/enum-iterator/raw/0.6.0/LICENSE + +BuildRequires: rust-packaging >= 21 + +%global _description %{expand: +Procedural macro to iterate over the variants of a field-less enum.} + +%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 +%{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 - 0.6.0-7 +- Rebuilt for MSVSphere 9.3 + +* Mon May 22 2023 Fabio Valentini - 0.6.0-7 +- Regenerate with rust2rpm v24 and add missing license file + +* Fri Jan 20 2023 Fedora Release Engineering - 0.6.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Jul 23 2022 Fedora Release Engineering - 0.6.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Jan 21 2022 Fedora Release Engineering - 0.6.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Tue Jul 27 2021 Fedora Release Engineering - 0.6.0-2 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Thu Jun 24 2021 Davide Cavalca - 0.6.0-1 +- Initial package +