From a5ec9faeefdaedd08aeb553d6f9f5e7f60745efc Mon Sep 17 00:00:00 2001 From: tigro Date: Mon, 15 Jan 2024 21:39:07 +0300 Subject: [PATCH] import rust-is_debug-1.0.1-1.el9 --- .rust-is_debug.metadata | 0 SOURCES/is_debug-1.0.1.crate | Bin 0 -> 1897 bytes SPECS/rust-is_debug.spec | 85 +++++++++++++++++++++++++++++++++++ 3 files changed, 85 insertions(+) create mode 100644 .rust-is_debug.metadata create mode 100644 SOURCES/is_debug-1.0.1.crate create mode 100644 SPECS/rust-is_debug.spec diff --git a/.rust-is_debug.metadata b/.rust-is_debug.metadata new file mode 100644 index 0000000..e69de29 diff --git a/SOURCES/is_debug-1.0.1.crate b/SOURCES/is_debug-1.0.1.crate new file mode 100644 index 0000000000000000000000000000000000000000..83d53278e44ecf8dd79890c10767ed8b07633834 GIT binary patch literal 1897 zcmV-v2bTCBiwFn+00002|7mkyWMyJ?XDu-kskdN5OLbrvz%E#b??;rQPp8N5*|FPXZru}}) z>(E8N>AAgLr`PO!pn>OAknE8>l7oGFhmGyzKZXKZCOoBop^Q!bmkGZ6+iZ4Z&iC8B zez(_cAItpjbX)H%|96dhC#`|jFR35{S@*Swdv`=*K6M-W)c6+jzX$`t(8uE|I5(z-tvkjLPOo5~+vgTJ zB!_Sr(ggBV#9f~yOYl-x&4 z_d!mH&=tyhp0XuNQ1h)>N^Mj*Vs|uJL&W)=RDTUV3j&(bL_k$4ALm{OF)sum>~WH|Gg_f=avD`cNT>8&lcaWPOE{ zj+BF{0#pdTtdOS}j(n*sT)uX_kiicT!^im7%#Z%Lj9nIK_-Z~^u8B`GFJ-HZ7~D!= zk+TTR;XaK3Jyi<2qw5Er`Xyhvq*90C;Yh8O-KU3w2p>`!p*JW>^6)J!(Oz1x@aa8` z_$o%Dj|AsYR*>xso}3gCa=~!LHHnxw$19mJ!J*iBeKGogh7x161F^xx0W&wmxLd4YnYxHO{5k|FMl^ykFO=uW zy2M#-vW69w5G3FW;bL4PcybY`tkwiqDj1dVKqv&I;9Hh)k6|kNfB~P&Om$V}6u_`5 z0Z(OKQdDY62p&}aN5oDTY zXo1wTE=v^)r<0jup>EvK?j0&Ik~g~L!Ty4QVXPAbJ?)+B-<@Lcg!Y>@bK)e(p~ zBLn8vnRBVz>Tof$t)I*xo+c{#9Q#<5FHL7;T{wU%Y<=onfpv!E^9p`6r^7lJ|C-sx zd=8dP%*kwQ8aQT72jh#OIX#C{q?=k8y(Y#mGIcDF0!vn=F_+9HhCLWzS3fn!rgK#% zXQnfiJkKl}beQQjo^>w9x(%}nduGiIRlTRy)SRB#D8-lI$CKvPo$UT+^BVyN!-1?lpc7w_}ArJUo<}B?Nh*c3ENrpU1 zROBimza*q3K>~PaNUF8+52#hj5)mceRX0S{TJ3u^^J=<00H_6zit9e1|6KlOsn>|u zLQAu^%l}rh|N8%*PG|rB&zs~wW@^grX>};0pbj%Pm9WnErFKma>;g^l7*1vOPgL?3 zIa(}Mk9LuRbxc4-fa$D?#SNYWl7vQ>*GHdUb6|K>2$tVfRq)*)@}~ui+*ASCQYsMp zKBGN3QG$zV@Tk6@PnN1kO<25&z~OVm=t*%~`bq;-RPdWjt*HJ30ehe{ElIXo#IEo{ z3Fw1ogR;$WsMH8Pecs$lXj`VW`d8MMN-B!Y1;*ED9!oQ~j@?#7sp*3AjV-$#|Mcm# j*Ix2@DxLour>%?krE}l*ZQu6oUAO-L20TC|04M+eXe+1V literal 0 HcmV?d00001 diff --git a/SPECS/rust-is_debug.spec b/SPECS/rust-is_debug.spec new file mode 100644 index 0000000..a280d51 --- /dev/null +++ b/SPECS/rust-is_debug.spec @@ -0,0 +1,85 @@ +## 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 20 +%bcond_without check +%global debug_package %{nil} + +%global crate is_debug + +Name: rust-%{crate} +Version: 1.0.1 +Release: %autorelease +Summary: The crate by Rust that get build model is debug + +# Upstream license specification: MIT AND Apache-2.0 +License: MIT and ASL 2.0 +URL: https://crates.io/crates/is_debug +Source: %{crates_source} + +ExclusiveArch: %{rust_arches} + +BuildRequires: rust-packaging + +%global _description %{expand: +The crate by Rust that get build model is debug.} + +%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 LICENSE +%doc README.md +%{cargo_registry}/%{crate}-%{version_no_tilde}/ + +%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 %{cargo_registry}/%{crate}-%{version_no_tilde}/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 - 1.0.1-1 +- Rebuilt for MSVSphere 9.3 + +* Wed Jan 12 2022 Artem Polishchuk - 1.0.1-1 +- Initial import