From 897d7409d893bc897256fc5f4f604b39c9b9d7d0 Mon Sep 17 00:00:00 2001 From: tigro Date: Fri, 13 Oct 2023 12:34:45 +0300 Subject: [PATCH] import rust-aom-sys-0.3.2-1.el9 --- .rust-aom-sys.metadata | 0 SOURCES/aom-sys-0.3.2.crate | Bin 0 -> 3043 bytes SOURCES/aom-sys-fix-metadata.diff | 11 ++ SPECS/rust-aom-sys.spec | 168 ++++++++++++++++++++++++++++++ 4 files changed, 179 insertions(+) create mode 100644 .rust-aom-sys.metadata create mode 100644 SOURCES/aom-sys-0.3.2.crate create mode 100644 SOURCES/aom-sys-fix-metadata.diff create mode 100644 SPECS/rust-aom-sys.spec diff --git a/.rust-aom-sys.metadata b/.rust-aom-sys.metadata new file mode 100644 index 0000000..e69de29 diff --git a/SOURCES/aom-sys-0.3.2.crate b/SOURCES/aom-sys-0.3.2.crate new file mode 100644 index 0000000000000000000000000000000000000000..5de2b81b3e6b9ea746593c8754ea94248852b836 GIT binary patch literal 3043 zcmV<93mo(xiwFn+00002|6y-!EpvHuEif)KE;24-a$$630PR|BbK5o&&S(A#gr3Vu z8JU)3*-7c9cd|^!oXV0%l9S71JS;?l5^9prkf3cfr~iJtASIKs+$3%4X|KYh7P$a+ z7yE_>V5taqlXHqx;*S_i9Vc!TFg zv(-F&R)6*cElnhi33>K6ZJ#tk^a+=`N$?R~k|}M#n|{z3d*8i&eNb<;sKa~uc~nw-cE%|W zJZ+mBf4}_i;P!7w5e9!m{y&m3jf2Bi>-&GbwSTbP|DT}kkkOevB&T-QBJkV39QDuJ zBfHb?c0Z7}R?ix=N7e~B{y;kI!P~yJqwSFQQx=hQ76|I`XhPhWN|q2Qh@3JKvk6aR zJSQra$Sn^7LQ@DSD!EI8U=9p)*kM8%@L!lt?n93FJODnvh)GEAI1C`J2mw^^F%P)J ziML!%2{0iyEKazH5+eLu5RE+ONdzcx8*|CXPY6eTA|9Ku$YYVqSppoSxYw}4jEPap z^*6YvmIfPYt+r3*A|*7&m1XOdQ=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DQJ8FGYC>=&&Uh|aqC_pU-&+6gW9lit z|1}Qk55E7^fwryxPjLUAmn8B%xLtky^O!3zDQt%#9`9G8YHfWHY-kRn;{ zPa=BFRR4NUI-9XLn>h)@mZKCDJ#}!b-HUkVQg9z0Av;a_O^jjZ z@DT7Rgt}V+O%Q*Dh~LnGwN<|#0{eFV+_BH!I;ZC&$8I(2HF8@c(^|IlDp}ks%6$}S z04R^rAShW?Ih;n^1$WyaoiL(g=U1Z?prEH0mb_R!?d19B27ES~LoA4R!lZ+jfz_+k zC}otas{$%ij}TC!h4GFM4Uv81hP=R!L^y8jgF1 z{srl49Y_Rh7_EN$9#?_{JLSFBg?w2 z&bk4eB;|?uf;ss|xzNL)H6}`oV({NLnUznwZK$RFLC11_JT0?aY)tP5{8q)i98I{9 zy~vGIBQK!v)CjMUMlDwWe3_qs96yFK=qR!yt49wc{5EHY_!JO8i96yvha!fq>GzSsi3FyDpncZ6S9KUKbQ?wv<<_*lTtHPLFPI#Ws!^ zy*}F5y&x<|*sshjAftR2sk{WaRpXjRUiIkFd0Bur9+9g3I%Tmb-(bPW6at~~Napqg l!T&V@Z5#_PbvNzfi?6!T*|u%lwr%^e_CLO7d7%I{003-4#mE2v literal 0 HcmV?d00001 diff --git a/SOURCES/aom-sys-fix-metadata.diff b/SOURCES/aom-sys-fix-metadata.diff new file mode 100644 index 0000000..4f66ada --- /dev/null +++ b/SOURCES/aom-sys-fix-metadata.diff @@ -0,0 +1,11 @@ +--- aom-sys-0.3.2/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ aom-sys-0.3.2/Cargo.toml 2022-12-12T22:06:55.570952+00:00 +@@ -25,7 +25,7 @@ + [dependencies] + + [build-dependencies.bindgen] +-version = "0.61" ++version = "0.63" + + [build-dependencies.system-deps] + version = "6.0" diff --git a/SPECS/rust-aom-sys.spec b/SPECS/rust-aom-sys.spec new file mode 100644 index 0000000..0afbb29 --- /dev/null +++ b/SPECS/rust-aom-sys.spec @@ -0,0 +1,168 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.3.0) +%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 23 +%bcond_without check +%global debug_package %{nil} + +%global crate aom-sys + +Name: rust-aom-sys +Version: 0.3.2 +Release: %autorelease +Summary: FFI bindings to aom + +License: MIT +URL: https://crates.io/crates/aom-sys +Source: %{crates_source} +# Manually created patch for downstream crate metadata changes +# * bump bindgen build-dependency from 0.61 to 0.63: +# https://github.com/rust-av/aom-rs/pull/53 +Patch: aom-sys-fix-metadata.diff + +BuildRequires: rust-packaging >= 21 + +%global _description %{expand: +FFI bindings to aom.} + +%description %{_description} + +%package devel +Summary: %{summary} +BuildArch: noarch +Requires: pkgconfig(aom) >= 3.0.0 + +%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 + +%package -n %{name}+build_sources-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+build_sources-devel %{_description} + +This package contains library source intended for building other packages which +use the "build_sources" feature of the "%{crate}" crate. + +%files -n %{name}+build_sources-devel +%ghost %{crate_instdir}/Cargo.toml + +%prep +%autosetup -n %{crate}-%{version_no_tilde} -p1 +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires +echo 'pkgconfig(aom) >= 3.0.0' + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +* Fri Oct 13 2023 Arkady L. Shane - 0.3.2-1 +- Rebuilt for MSVSphere 9.2 + +* Mon Dec 12 2022 Fabio Valentini 0.3.2-1 +- Update to version 0.3.2; Fixes RHBZ#2142378 + +* Sat Jul 23 2022 Fedora Release Engineering 0.3.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Sat Feb 12 2022 Fabio Valentini 0.3.1-1 +- Update to version 0.3.1; Fixes RHBZ#2041214 + +* Fri Jan 21 2022 Fedora Release Engineering 0.3.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Nov 11 2021 Robert-André Mauchin 0.3.0-1 +- Update to 0.3.0 Close: rhbz#1917806 + +* Fri Jul 23 2021 Fedora Release Engineering - 0.2.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Sun Jun 13 2021 Robert-André Mauchin - 0.2.1-5 +- Rebuilt for aom v3.1.1 + +* Sat Apr 03 2021 Fabio Valentini - 0.2.1-4 +- Bump to bindgen 0.56. + +* Wed Jan 27 2021 Fedora Release Engineering - 0.2.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Fri Nov 27 2020 Fabio Valentini - 0.2.1-2 +- Bump to bindgen 0.56. + +* Tue Oct 20 2020 Fabio Valentini - 0.2.1-1 +- Update to version 0.2.1. + +* Wed Jul 29 2020 Fedora Release Engineering - 0.1.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri May 29 2020 Josh Stone - 0.1.4-2 +- Bump to bindgen 0.54 + +* Wed Apr 29 2020 Josh Stone - 0.1.4-1 +- Update to 0.1.4 + +* Wed Feb 26 2020 Josh Stone - 0.1.3-3 +- Bump bindgen to 0.53.1 + +* Thu Jan 30 2020 Fedora Release Engineering - 0.1.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Dec 06 23:28:44 CET 2019 Robert-André Mauchin - 0.1.3-1 +- Release 0.1.3 + +* Wed Jul 31 18:41:18 CEST 2019 Robert-André Mauchin - 0.1.2-3 +- Bump bindgen to 0.51 + +* Fri Jul 26 2019 Fedora Release Engineering - 0.1.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Wed May 15 08:34:56 CEST 2019 Igor Gnatenko - 0.1.2-1 +- Update to 0.1.2 + +* Tue Apr 02 2019 Josh Stone - 0.1.1-2 +- bump bindgen to 0.49 + +* Wed Mar 20 13:57:30 CET 2019 Robert-André Mauchin - 0.1.1-1 +- Release 0.1.1 + +* Wed Mar 20 09:39:58 CET 2019 Igor Gnatenko - 0.1.0-2 +- Run tests in infrastructure + +* Sat Mar 09 2019 Robert-André Mauchin - 0.1.0-1 +- Initial package +