From f5cbfc9d6442bb68be5c9a7290965e7c0cfe9086 Mon Sep 17 00:00:00 2001 From: tigro Date: Mon, 15 Jan 2024 21:19:17 +0300 Subject: [PATCH] import rust-git-version-macro-0.3.5-3.el9 --- .rust-git-version-macro.metadata | 0 SOURCES/git-version-macro-0.3.5.crate | Bin 0 -> 4302 bytes SPECS/rust-git-version-macro.spec | 108 ++++++++++++++++++++++++++ 3 files changed, 108 insertions(+) create mode 100644 .rust-git-version-macro.metadata create mode 100644 SOURCES/git-version-macro-0.3.5.crate create mode 100644 SPECS/rust-git-version-macro.spec diff --git a/.rust-git-version-macro.metadata b/.rust-git-version-macro.metadata new file mode 100644 index 0000000..e69de29 diff --git a/SOURCES/git-version-macro-0.3.5.crate b/SOURCES/git-version-macro-0.3.5.crate new file mode 100644 index 0000000000000000000000000000000000000000..347c3d10fe5ff18f45aed489b360f3cbc78d363d GIT binary patch literal 4302 zcmV;<5Har`iwFn+00002|7U4*Ep}ycb7^mGEp1_Aa&Ij#E;BAQE@N_GbY%eTT6TZueni$@^II)oi#6rx&!xwc6*l}kCY)HWJq$)gA04Se_gozpE_29q#z zGr2YQqAIY|efqrm^m$36AgiCtBn{%IK6bq%uCH0otgThcbCXfrKljpp5DjDN*EEiP z`h(XRuIHPZOULP2U*DMBtK2V8lYxrq=z{Xf0F7(!G=K~`x9y2V3! z>aOFdA~&CV8^dSA7yk3VZ*2}YH`WKkmm7a~2j1pTK9kXj5{ynWVR}`u zv9|uAzOlBkW;DZ4@OUZ`nabo``j%mIq#vYN5)AST1|!_a7kMg05Q#L-6HoHUAc)*# zDu!_~PHW;K$WBF^@Nb-F#yIwaVc@xhpeEcziiu3dL6%8hOp^FK@Ntu!x*7gSAPK|x zB8W!9iz7dvMJX>D%dBA->y}t#DHZXs;Khr5z+rzOLFR%-Lg)_SbDAooj^ZrvWDRpc zO8zedGQv?N7x_1M0Yxu#gRx93W8*dpAXU;q!2*QybFlRlE{FkQVwT^XBl%k^tD}-dm?Dy6rc;56zA(a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4?PM<60C9Uf$6FUTlh1bT<@cw%8OV@T%_YWiri9$bHdGUt5N1$t>}lgw9P(d^S$S$q{2C8IkBdE|T1L%|qvn-R<@FoDLXQ9oC9vty*jc#7k)YS$iENsFq|rL1xOTUHTsk~Pa=S8D^d+-cIHd%YP+>#>H$>GHEjTm z8)2laHhI~(S_U}tel3k?IL;c4J=L*iHwV$2p*q@HEEY-n(yxhM^*7-p$f8jOsl~Bn zX2ounQ|ZInFlW_QVUx?~%-dcnE?^7l|CUKC&-56#|Rg5DLu- zQCE#<^=WvJKroKC^c8&O1AFmlxO#mwh8XS$98mnso~ELFD2RLNk#hsYDtfePMVSji zYeCgP7MUA0aphf!pS@X-ty+=1%u41))lyk5jgbVq<;jala^a}xsp5{$=v_k)Qguef z_~Xk`lcqW^BbGS?u7U3M3OrrB6+`_Y^h*=oH>K_QTPeN2H9b))G{fgp6?Em&>rZ9r zHalf5lv(ylHhBTlJ_|xZG??P-rokw3!@1clu_Xl}qI^7%)WjCY5o%<5`SHmcj!fjt zNN`Z0j|2XMp^{^|Qau3xi$C*&F%B)wmCmqzNpClZYx^>rcN-MJo7S#|ZBX0LS8R&;S4c literal 0 HcmV?d00001 diff --git a/SPECS/rust-git-version-macro.spec b/SPECS/rust-git-version-macro.spec new file mode 100644 index 0000000..9e673d6 --- /dev/null +++ b/SPECS/rust-git-version-macro.spec @@ -0,0 +1,108 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.3.0) +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 3; + 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 18 +# * tests can only be run inside the upstream git repository +%bcond_with check +%global debug_package %{nil} + +%global crate git-version-macro + +Name: rust-%{crate} +Version: 0.3.5 +Release: %autorelease +Summary: Internal macro crate for git-version + +# Upstream license specification: BSD-2-Clause +License: BSD +URL: https://crates.io/crates/git-version-macro +Source: %{crates_source} + +ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif + +BuildRequires: rust-packaging + +%global _description %{expand: +Internal macro crate for git-version.} + +%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 +%license COPYING +%{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 "default" feature of "%{crate}" crate. + +%files -n %{name}+default-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+nightly-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+nightly-devel %{_description} + +This package contains library source intended for building other packages +which use "nightly" feature of "%{crate}" crate. + +%files -n %{name}+nightly-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 - 0.3.5-3 +- Rebuilt for MSVSphere 9.3 + +* Sat Jul 23 2022 Fedora Release Engineering 0.3.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Jan 21 2022 Fedora Release Engineering 0.3.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Aug 20 2021 Fabio Valentini 0.3.5-1 +- Update to version 0.3.5; Fixes RHBZ#1991153 + +* Sun Jul 18 2021 Igor Raits 0.3.4-1 +- Initial package (closes: RHBZ#1983467)