From 15efb21ec29641ccf18ec75b3ebccbd9ffa4108e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert-Andr=C3=A9=20Mauchin?= Date: Wed, 20 Mar 2019 01:50:40 +0100 Subject: [PATCH] Initial import (#1689580) --- .gitignore | 0 arg_enum_proc_macro-0.1.1.crate | Bin 0 -> 3358 bytes rust-arg_enum_proc_macro.spec | 72 ++++++++++++++++++++++++++++++++ sources | 0 4 files changed, 72 insertions(+) create mode 100644 .gitignore create mode 100644 arg_enum_proc_macro-0.1.1.crate create mode 100644 rust-arg_enum_proc_macro.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/arg_enum_proc_macro-0.1.1.crate b/arg_enum_proc_macro-0.1.1.crate new file mode 100644 index 0000000000000000000000000000000000000000..c58f18989047a57dab5ecc69bb2df588294829f6 GIT binary patch literal 3358 zcmV+(4dL=1iwFn+00002|6y`xUuAA}ZC`M5Z)0C=VPkS{Eif)IE-@}+a$$630PPxU zbK1BzpZzNoGm}EcHIF1D<8C__64Ed?feeuC?Jx`oTYxskqL!VMcKPr39N7j#Xu5m* zxZ7PcZLp>Dmd-;5s6XyAFP!#gzOegKYWw0v!7Q4^ygB9pAA7=QdtW&U#X_NcbhKB1 zaZ)~3pM_HNuEycb*fDy`o`oQw5m5j#n^Cua3(05}8DYA@zT4Z4zx$w{_5bJ?1Y+u%!sp}f=>I3B*#D19r9!!c{$DPa z4tM_l14eg7?K?VVJpjh3()Rf*h^bTvl4nlnQ6$$*1X#tY~Jdda= z89+H~#yp34HfOS@$vKkvMAl7v49rK22BFU)vDk;er!U|?52W5B3+;U<0v17+^%T=m zGimEwyDouPA*SHkHg(-O5YVBjoKly6WI90CI0>TFl0LzfTT^=B!iVHv_ zaT-a)C}u=G2Ues20Umq~9x?#T$$+Gt4k!d-C1IACW7CM`H@V1d00Ve^MCKwSL*{aJ z&rm_1J(IwUFy9A3xd(GxD$&WzWfbCsdZr#=b16f398>N=AW+tU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%=L zga1|8ZA$%-(kKH7xVJ^J&5eFiis5++|w+`IGJVGl5N-4>5~M#Gs0|?6^!i`vjFiDEUWbkYW6^z+U_F zJgS1Hx~D&{mp)+KQ`G+7{%@*ZDE9Ad3AenFFn^Q6`!2u#Efn#) zzV+Y#9v3i9?0*0I-3J~{ear*hiqEMoC$tD}I%UJ*X~`LukLby%!%j{{N6u(yGv*YI oO2gvm;pr(Gl^k2wFvl)-KMvT9-Pn!Y_^HN!0lxu>-~c=T07B|)(EtDd literal 0 HcmV?d00001 diff --git a/rust-arg_enum_proc_macro.spec b/rust-arg_enum_proc_macro.spec new file mode 100644 index 0000000..f01f20c --- /dev/null +++ b/rust-arg_enum_proc_macro.spec @@ -0,0 +1,72 @@ +# Generated by rust2rpm +%bcond_without check +%global debug_package %{nil} + +%global crate arg_enum_proc_macro + +Name: rust-%{crate} +Version: 0.1.1 +Release: 1%{?dist} +Summary: Procedural macro compatible with clap arg_enum + +License: MIT +URL: https://crates.io/crates/arg_enum_proc_macro +Source: %{crates_source} + +ExclusiveArch: %{rust_arches} + +BuildRequires: rust-packaging +BuildRequires: (crate(proc-macro2/default) >= 0.4.0 with crate(proc-macro2/default) < 0.5.0) +BuildRequires: (crate(quote/default) >= 0.6.0 with crate(quote/default) < 0.7.0) +BuildRequires: (crate(syn/default) >= 0.15.0 with crate(syn/default) < 0.16.0) +BuildRequires: (crate(syn/extra-traits) >= 0.15.0 with crate(syn/extra-traits) < 0.16.0) + +%global _description \ +A procedural macro compatible with clap arg_enum. + +%description %{_description} + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel %{_description} + +This package contains library source intended for building other packages +which use "%{crate}" crate. + +%files devel +%doc README.md +%license LICENSE +%{cargo_registry}/%{crate}-%{version}/ + +%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 "default" feature of "%{crate}" crate. + +%files -n %{name}+default-devel +%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml + +%prep +%autosetup -n %{crate}-%{version_no_tilde} -p1 +%cargo_prep + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +* Sat Mar 16 2019 Robert-André Mauchin - 0.1.1-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..e69de29