commit 132cc113727aba075431b93cac3087b6bd96a4d4 Author: tigro Date: Mon Jan 15 20:42:25 2024 +0300 import rust-cargo-platform-0.1.6-1.el9 diff --git a/.rust-cargo-platform.metadata b/.rust-cargo-platform.metadata new file mode 100644 index 0000000..e69de29 diff --git a/SOURCES/cargo-platform-0.1.6.crate b/SOURCES/cargo-platform-0.1.6.crate new file mode 100644 index 0000000..8481158 Binary files /dev/null and b/SOURCES/cargo-platform-0.1.6.crate differ diff --git a/SPECS/rust-cargo-platform.spec b/SPECS/rust-cargo-platform.spec new file mode 100644 index 0000000..3e18017 --- /dev/null +++ b/SPECS/rust-cargo-platform.spec @@ -0,0 +1,125 @@ +## 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 25 +%bcond_without check +%global debug_package %{nil} + +%global crate cargo-platform + +Name: rust-cargo-platform +Version: 0.1.6 +Release: %autorelease +Summary: Cargo's representation of a target platform + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/cargo-platform +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Cargo's representation of a target platform.} + +%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-APACHE +%license %{crate_instdir}/LICENSE-MIT +%{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} -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.1.6-1 +- Rebuilt for MSVSphere 9.3 + +* Sun Dec 31 2023 Fabio Valentini - 0.1.6-1 +- Update to version 0.1.6; Fixes RHBZ#2256111 + +* Sat Nov 25 2023 Fabio Valentini - 0.1.5-1 +- Update to version 0.1.5; Fixes RHBZ#2250482 + +* Sun Oct 08 2023 Fabio Valentini - 0.1.4-1 +- Update to version 0.1.4; Fixes RHBZ#2242663 + +* Fri Jul 21 2023 Fedora Release Engineering - 0.1.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Fri Jul 14 2023 Fabio Valentini - 0.1.3-1 +- Update to version 0.1.3; Fixes RHBZ#2222743 + +* Thu May 25 2023 Fabio Valentini - 0.1.2-5 +- Regenerate with rust2rpm v24 + +* Fri Jan 20 2023 Fedora Release Engineering - 0.1.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Jul 23 2022 Fedora Release Engineering - 0.1.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Jan 21 2022 Fedora Release Engineering - 0.1.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Aug 06 2021 Fabio Valentini - 0.1.2-1 +- Update to version 0.1.2; Fixes RHBZ#1990524 + +* Fri Jul 23 2021 Fedora Release Engineering - 0.1.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 0.1.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 0.1.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Thu Mar 12 2020 Josh Stone - 0.1.1-1 +- Update to 0.1.1 + +* Thu Feb 20 2020 Josh Stone - 0.1.0-1 +- Initial package +