## 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 zvariant Name: rust-zvariant Version: 5.1.0 Release: %autorelease Summary: D-Bus & GVariant encoding & decoding License: MIT URL: https://crates.io/crates/zvariant Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * drop unused, benchmark-only criterion dev-dependency Patch: zvariant-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: D-Bus & GVariant encoding & decoding.} %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 %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}+arrayvec-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+arrayvec-devel %{_description} This package contains library source intended for building other packages which use the "arrayvec" feature of the "%{crate}" crate. %files -n %{name}+arrayvec-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+camino-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+camino-devel %{_description} This package contains library source intended for building other packages which use the "camino" feature of the "%{crate}" crate. %files -n %{name}+camino-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+chrono-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+chrono-devel %{_description} This package contains library source intended for building other packages which use the "chrono" feature of the "%{crate}" crate. %files -n %{name}+chrono-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+enumflags2-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+enumflags2-devel %{_description} This package contains library source intended for building other packages which use the "enumflags2" feature of the "%{crate}" crate. %files -n %{name}+enumflags2-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+gvariant-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+gvariant-devel %{_description} This package contains library source intended for building other packages which use the "gvariant" feature of the "%{crate}" crate. %files -n %{name}+gvariant-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+heapless-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+heapless-devel %{_description} This package contains library source intended for building other packages which use the "heapless" feature of the "%{crate}" crate. %files -n %{name}+heapless-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+option-as-array-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+option-as-array-devel %{_description} This package contains library source intended for building other packages which use the "option-as-array" feature of the "%{crate}" crate. %files -n %{name}+option-as-array-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ostree-tests-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ostree-tests-devel %{_description} This package contains library source intended for building other packages which use the "ostree-tests" feature of the "%{crate}" crate. %files -n %{name}+ostree-tests-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serde_bytes-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+serde_bytes-devel %{_description} This package contains library source intended for building other packages which use the "serde_bytes" feature of the "%{crate}" crate. %files -n %{name}+serde_bytes-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+time-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+time-devel %{_description} This package contains library source intended for building other packages which use the "time" feature of the "%{crate}" crate. %files -n %{name}+time-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+url-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+url-devel %{_description} This package contains library source intended for building other packages which use the "url" feature of the "%{crate}" crate. %files -n %{name}+url-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+uuid-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+uuid-devel %{_description} This package contains library source intended for building other packages which use the "uuid" feature of the "%{crate}" crate. %files -n %{name}+uuid-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 ## START: Generated by rpmautospec * Thu Nov 28 2024 Jonathan Steffan - 5.1.0-1 - Uncommitted changes * Tue Sep 17 2024 Fabio Valentini - 4.2.0-1 - Update to version 4.2.0; Fixes RHBZ#2298899 * Sat Jul 20 2024 Fedora Release Engineering - 4.1.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sun Jul 07 2024 Fabio Valentini - 4.1.2-1 - Update to version 4.1.2; Fixes RHBZ#2295595 * Fri Jun 14 2024 Fabio Valentini - 4.1.1-1 - Update to version 4.1.1; Fixes RHBZ#2277998 * Sat Mar 30 2024 Fabio Valentini - 4.0.2-1 - Update to version 4.0.2; Fixes RHBZ#2263848 * Sat Jan 27 2024 Fedora Release Engineering - 3.15.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jul 22 2023 Fedora Release Engineering - 3.15.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed Jul 12 2023 Fabio Valentini - 3.15.0-1 - Update to version 3.15.0; Fixes RHBZ#2218341 * Tue May 23 2023 Fabio Valentini - 3.14.0-2 - Disable tests due to many architecture-specific failures * Tue May 23 2023 Fabio Valentini - 3.14.0-1 - Update to version 3.14.0; Fixes RHBZ#2203393 * Sat May 06 2023 Fabio Valentini - 3.12.0-1 - Update to version 3.12.0; Fixes RHBZ#2176335 * Sun Feb 19 2023 Fabio Valentini - 3.11.0-1 - Update to version 3.11.0; Fixes RHBZ#2143026 * Sat Jan 21 2023 Fedora Release Engineering - 3.7.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Oct 08 2022 Fabio Valentini - 3.7.1-1 - Update to version 3.7.1; Fixes RHBZ#2131073 * Mon Jul 25 2022 Fabio Valentini - 3.6.0-1 - Update to version 3.6.0; Fixes RHBZ#2034008 * Sat Jul 23 2022 Fedora Release Engineering - 2.10.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat Jan 22 2022 Fedora Release Engineering - 2.10.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Nov 23 2021 Fabio Valentini - 2.10.0-1 - Update to version 2.10.0; Fixes RHBZ#2025289 * Thu Sep 30 2021 Fabio Valentini - 2.9.0-1 - Update to version 2.9.0; Fixes RHBZ#2009002 * Sun Aug 01 2021 Fabio Valentini - 2.8.0-1 - Update to version 2.8.0; Fixes RHBZ#1988471 * Fri Jul 23 2021 Fedora Release Engineering - 2.7.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Mon Jul 19 2021 Fabio Valentini - 2.7.0-1 - Update to version 2.7.0. * Wed May 05 2021 Fabio Valentini - 2.6.0-1 - Update to version 2.6.0. * Thu Mar 04 2021 Fabio Valentini - 2.5.0-1 - Update to version 2.5.0. * Wed Jan 27 2021 Fedora Release Engineering - 2.4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jan 05 22:19:10 CET 2021 Igor Raits - 2.4.0-1 - Update to 2.4.0 * Mon Aug 03 00:21:30 +04 2020 Marc-André Lureau - 2.1.0-1 - Initial package, fixes rhbz#1862947 ## END: Generated by rpmautospec