From 92356387732262ceecca8cee85676b583d0d10d5 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 20 Dec 2024 16:16:58 +0300 Subject: [PATCH] import rust-lv2-core-derive-2.1.1-3.el10 --- .gitignore | 1 + .rust-lv2-core-derive.metadata | 1 + SOURCES/README.md | 3 ++ SPECS/rust-lv2-core-derive.spec | 91 +++++++++++++++++++++++++++++++++ 4 files changed, 96 insertions(+) create mode 100644 .gitignore create mode 100644 .rust-lv2-core-derive.metadata create mode 100644 SOURCES/README.md create mode 100644 SPECS/rust-lv2-core-derive.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ec825a0 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/lv2-core-derive-2.1.1.crate diff --git a/.rust-lv2-core-derive.metadata b/.rust-lv2-core-derive.metadata new file mode 100644 index 0000000..7daa375 --- /dev/null +++ b/.rust-lv2-core-derive.metadata @@ -0,0 +1 @@ +2d96d36f93a4a96e16c8f85129111f4b039ff56c SOURCES/lv2-core-derive-2.1.1.crate diff --git a/SOURCES/README.md b/SOURCES/README.md new file mode 100644 index 0000000..6563ab6 --- /dev/null +++ b/SOURCES/README.md @@ -0,0 +1,3 @@ +# rust-lv2-core-derive + +The rust-lv2-core-derive package diff --git a/SPECS/rust-lv2-core-derive.spec b/SPECS/rust-lv2-core-derive.spec new file mode 100644 index 0000000..ef7da76 --- /dev/null +++ b/SPECS/rust-lv2-core-derive.spec @@ -0,0 +1,91 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.3) +## RPMAUTOSPEC: autorelease, autochangelog +%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 24 +%bcond_without check +%global debug_package %{nil} + +%global crate lv2-core-derive + +Name: rust-lv2-core-derive +Version: 2.1.1 +Release: %autorelease +Summary: Procedural macros for lv2-core + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/lv2-core-derive +Source: %{crates_source} + +BuildRequires: rust-packaging >= 21 + +%global _description %{expand: +Procedural macros for lv2-core.} + +%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}/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_no_tilde} -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 - 2.1.1-3 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Sat Jul 20 2024 Fedora Release Engineering - 2.1.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jan 26 2024 Fedora Release Engineering - 2.1.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sun Jul 23 2023 Davide Cavalca - 2.1.1-1 +- Initial import; Fixes: RHBZ#2224756 +## END: Generated by rpmautospec