## 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 27 %bcond check 1 %global debug_package %{nil} %global crate serde_with_macros Name: rust-serde_with_macros Version: 3.12.0 Release: %autorelease Summary: Proc-macro library for serde_with License: MIT OR Apache-2.0 URL: https://crates.io/crates/serde_with_macros Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Proc-macro library for serde_with.} %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 %package -n %{name}+schemars_0_8-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+schemars_0_8-devel %{_description} This package contains library source intended for building other packages which use the "schemars_0_8" feature of the "%{crate}" crate. %files -n %{name}+schemars_0_8-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 # * skip a test that can only be run in-tree %cargo_test -- -- --exact --skip test_serde_with_dependency %endif %changelog ## START: Generated by rpmautospec * Sat Jan 04 2025 Fabio Valentini - 3.12.0-1 - Update to version 3.12.0; Fixes RHBZ#2334131 * Fri Dec 20 2024 MSVSphere Packaging Team - 3.11.0-1 - Rebuilt for MSVSphere 10 * Mon Oct 07 2024 Fabio Valentini - 3.11.0-1 - Update to version 3.11.0; Fixes RHBZ#2315993 * Mon Jul 29 2024 Fabio Valentini - 3.9.0-1 - Update to version 3.9.0; Fixes RHBZ#2297903 * Sat Jul 20 2024 Fedora Release Engineering - 3.8.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sun Jul 07 2024 Fabio Valentini - 3.8.3-1 - Update to version 3.8.3; Fixes RHBZ#2295568 * Tue Jun 25 2024 Fabio Valentini - 3.8.1-1 - Update to version 3.8.1; Fixes RHBZ#2269075 * Mon Feb 19 2024 Fabio Valentini - 3.6.1-1 - Update to version 3.6.1; Fixes RHBZ#2262027 * Tue Jan 30 2024 Fabio Valentini - 3.5.1-1 - Update to version 3.5.1; Fixes RHBZ#2259380 * Sat Jan 27 2024 Fedora Release Engineering - 3.4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Nov 24 2023 Fabio Valentini - 3.4.0-1 - Update to version 3.4.0; Fixes RHBZ#2073000 * Sat Aug 05 2023 Fabio Valentini - 1.5.2-1 - Update to version 1.5.2 * Fri Jul 21 2023 Fedora Release Engineering - 1.5.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sat Jan 21 2023 Fedora Release Engineering - 1.5.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 1.5.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jan 21 2022 Fedora Release Engineering - 1.5.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Mon Dec 20 2021 Fabio Valentini - 1.5.1-1 - Update to version 1.5.1; Fixes RHBZ#1968687 * Tue Jul 27 2021 Fedora Release Engineering - 1.4.1-2 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sat Feb 27 2021 Fabio Valentini - 1.4.1-1 - Update to version 1.4.1. * Wed Jan 27 2021 Fedora Release Engineering - 1.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Fri Nov 27 2020 Fabio Valentini - 1.3.0-1 - Update to version 1.3.0. - Fixes RHBZ#1900436 * Wed Oct 07 2020 Fabio Valentini - 1.2.2-1 - Update to version 1.2.2. * Mon Oct 05 2020 Fabio Valentini - 1.2.1-1 - Update to version 1.2.1. * Sat Aug 01 2020 Fedora Release Engineering - 1.1.0-3 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 1.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Feb 21 22:11:52 EET 2020 Artem Polishchuk - 1.1.0-1 - Initial package ## END: Generated by rpmautospec