From 39465b4f1264e9217684206376a37859f49c0179 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 20 Dec 2024 16:44:01 +0300 Subject: [PATCH] import rust-ptr_meta_derive0.1-0.1.4-1.el10 --- .gitignore | 1 + .rust-ptr_meta_derive0.1.metadata | 1 + SPECS/rust-ptr_meta_derive0.1.spec | 83 ++++++++++++++++++++++++++++++ 3 files changed, 85 insertions(+) create mode 100644 .gitignore create mode 100644 .rust-ptr_meta_derive0.1.metadata create mode 100644 SPECS/rust-ptr_meta_derive0.1.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..fcc32e6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/ptr_meta_derive-0.1.4.crate diff --git a/.rust-ptr_meta_derive0.1.metadata b/.rust-ptr_meta_derive0.1.metadata new file mode 100644 index 0000000..3f5c0e4 --- /dev/null +++ b/.rust-ptr_meta_derive0.1.metadata @@ -0,0 +1 @@ +be0cd8bc4efc89261be793646b6b16dbc98f5b73 SOURCES/ptr_meta_derive-0.1.4.crate diff --git a/SPECS/rust-ptr_meta_derive0.1.spec b/SPECS/rust-ptr_meta_derive0.1.spec new file mode 100644 index 0000000..e3504ec --- /dev/null +++ b/SPECS/rust-ptr_meta_derive0.1.spec @@ -0,0 +1,83 @@ +## 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 ptr_meta_derive + +Name: rust-ptr_meta_derive0.1 +Version: 0.1.4 +Release: %autorelease +Summary: Macros for ptr_meta + +License: MIT +URL: https://crates.io/crates/ptr_meta_derive +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Macros for ptr_meta.} + +%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 +%{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.1.4-1 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Tue Oct 08 2024 Fabio Valentini - 0.1.4-1 +- Initial import (ptr_meta_derive 0.1 compat package) +## END: Generated by rpmautospec