From 722625fd49ecd39594ba7f132fc1b220f8d70871 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 20 Dec 2024 15:18:45 +0300 Subject: [PATCH] import rust-der_derive-0.7.3-1.el10 --- .gitignore | 1 + .rust-der_derive.metadata | 1 + SPECS/rust-der_derive.spec | 114 +++++++++++++++++++++++++++++++++++++ 3 files changed, 116 insertions(+) create mode 100644 .gitignore create mode 100644 .rust-der_derive.metadata create mode 100644 SPECS/rust-der_derive.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0f8306d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/der_derive-0.7.3.crate diff --git a/.rust-der_derive.metadata b/.rust-der_derive.metadata new file mode 100644 index 0000000..d7079f1 --- /dev/null +++ b/.rust-der_derive.metadata @@ -0,0 +1 @@ +3907302fde6bead4160a7b7845175c19fb8779f1 SOURCES/der_derive-0.7.3.crate diff --git a/SPECS/rust-der_derive.spec b/SPECS/rust-der_derive.spec new file mode 100644 index 0000000..db267fa --- /dev/null +++ b/SPECS/rust-der_derive.spec @@ -0,0 +1,114 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.3) +## 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 26 +%bcond_without check +%global debug_package %{nil} + +%global crate der_derive + +Name: rust-der_derive +Version: 0.7.3 +Release: %autorelease +Summary: Custom derive support for the der crate's Choice and Sequence traits + +License: Apache-2.0 OR MIT +URL: https://crates.io/crates/der_derive +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Custom derive support for the `der` crate's `Choice` and `Sequence` +traits.} + +%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 +%doc %{crate_instdir}/CHANGELOG.md +%doc %{crate_instdir}/README.md +%{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 +* Fri Dec 20 2024 MSVSphere Packaging Team - 0.7.3-1 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Wed Oct 23 2024 Fabio Valentini - 0.7.3-1 +- Update to version 0.7.3; Fixes RHBZ#2296952 + +* Fri Jul 19 2024 Fedora Release Engineering - 0.7.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jan 26 2024 Fedora Release Engineering - 0.7.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Thu Aug 31 2023 Fabio Valentini - 0.7.2-1 +- Update to version 0.7.2; Fixes RHBZ#2229830 + +* Fri Jul 21 2023 Fedora Release Engineering - 0.7.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Wed Jun 07 2023 Fabio Valentini - 0.7.1-1 +- Update to version 0.7.1; Fixes RHBZ#2082933 + +* Fri Jan 20 2023 Fedora Release Engineering - 0.4.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Jul 23 2022 Fedora Release Engineering - 0.4.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Jan 21 2022 Fedora Release Engineering - 0.4.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Tue Jan 11 2022 Fabio Valentini - 0.4.1-1 +- Initial import (#2032563) +## END: Generated by rpmautospec