commit 93823fcef39d4e3d17599570b3ec163d57ac9274 Author: MSVSphere Packaging Team Date: Fri Dec 20 15:19:46 2024 +0300 import rust-derive_builder_macro-0.20.2-1.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a7de10b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/derive_builder_macro-0.20.2.crate diff --git a/.rust-derive_builder_macro.metadata b/.rust-derive_builder_macro.metadata new file mode 100644 index 0000000..a785224 --- /dev/null +++ b/.rust-derive_builder_macro.metadata @@ -0,0 +1 @@ +6c007bb44b2b3ce4f96e839e465752bbbac09545 SOURCES/derive_builder_macro-0.20.2.crate diff --git a/SOURCES/rust2rpm.toml b/SOURCES/rust2rpm.toml new file mode 100644 index 0000000..7d1fbb7 --- /dev/null +++ b/SOURCES/rust2rpm.toml @@ -0,0 +1,3 @@ +[features] +hide = ["clippy"] + diff --git a/SPECS/rust-derive_builder_macro.spec b/SPECS/rust-derive_builder_macro.spec new file mode 100644 index 0000000..10a165b --- /dev/null +++ b/SPECS/rust-derive_builder_macro.spec @@ -0,0 +1,148 @@ +## 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 derive_builder_macro + +Name: rust-derive_builder_macro +Version: 0.20.2 +Release: %autorelease +Summary: Rust macro to automatically implement the builder pattern for arbitrary structs + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/derive_builder_macro +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Rust macro to automatically implement the builder pattern for arbitrary +structs.} + +%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 + +%package -n %{name}+alloc-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+alloc-devel %{_description} + +This package contains library source intended for building other packages which +use the "alloc" feature of the "%{crate}" crate. + +%files -n %{name}+alloc-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+lib_has_std-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+lib_has_std-devel %{_description} + +This package contains library source intended for building other packages which +use the "lib_has_std" feature of the "%{crate}" crate. + +%files -n %{name}+lib_has_std-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.20.2-1 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Wed Oct 23 2024 Fabio Valentini - 0.20.2-1 +- Update to version 0.20.2; Fixes RHBZ#2317286 + +* Wed Sep 18 2024 Fabio Valentini - 0.20.1-1 +- Update to version 0.20.1; Fixes RHBZ#2309036 + +* Fri Jul 19 2024 Fedora Release Engineering - 0.20.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Mon Mar 18 2024 Fabio Valentini - 0.20.0-1 +- Update to version 0.20.0; Fixes RHBZ#2259682 + +* Fri Jan 26 2024 Fedora Release Engineering - 0.12.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jul 21 2023 Fedora Release Engineering - 0.12.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Thu May 25 2023 Fabio Valentini - 0.12.0-1 +- Update to version 0.12.0; Fixes RHBZ#2064472 + +* Fri Jan 20 2023 Fedora Release Engineering - 0.11.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Tue Dec 06 2022 Fabio Valentini - 0.11.2-1 +- Update to version 0.11.2 + +* Sat Jul 23 2022 Fedora Release Engineering - 0.10.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Jan 21 2022 Fedora Release Engineering - 0.10.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Tue Jul 27 2021 Fedora Release Engineering - 0.10.2-2 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Sat May 01 2021 Fabio Valentini - 0.10.2-1 +- Initial package + +## END: Generated by rpmautospec