## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 7; 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 22 # * missing dev-dependency: unified-diff %bcond_with check %global crate varlink_generator Name: rust-varlink_generator Version: 10.1.0 Release: %autorelease Summary: Rust code generator for the varlink protocol # Upstream license specification: MIT/Apache-2.0 License: MIT OR Apache-2.0 URL: https://crates.io/crates/varlink_generator Source0: %{crates_source} Source1: LICENSE.dependencies ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging >= 21 %global _description %{expand: Rust code generator for the varlink protocol.} %description %{_description} %package -n %{crate} Summary: %{summary} # MIT # MIT or ASL 2.0 License: MIT # LICENSE.dependencies contains a full license breakdown %description -n %{crate} %{_description} %files -n %{crate} %license LICENSE-APACHE %license LICENSE-MIT %license LICENSE.dependencies %doc README.md %{_bindir}/varlink-rust-generator %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 cp %{SOURCE1} . %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 * Sat Jul 20 2024 Fedora Release Engineering - 10.1.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Thu May 23 2024 Fabio Valentini - 10.1.0-6 - Rebuild with Rust 1.78 to fix incomplete debuginfo and backtraces * Sat Jan 27 2024 Fedora Release Engineering - 10.1.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jul 22 2023 Fedora Release Engineering - 10.1.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sun Feb 05 2023 Fabio Valentini - 10.1.0-3 - Rebuild for fixed frame pointer compiler flags in Rust RPM macros * Sat Jan 21 2023 Fedora Release Engineering - 10.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Wed Jul 27 2022 Fabio Valentini - 10.1.0-1 - Update to version 10.1.0; Fixes RHBZ#2029782 * Sat Jul 23 2022 Fedora Release Engineering - 10.0.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Feb 15 2022 Zbigniew Jędrzejewski-Szmek - 10.0.0-4 - Rebuild with package notes * Fri Jan 21 2022 Fedora Release Engineering - 10.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Jul 27 2021 Fedora Release Engineering - 10.0.0-2 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Mon Mar 29 2021 Fabio Valentini - 10.0.0-1 - Update to version 10.0.0. * Wed Jan 27 2021 Fedora Release Engineering - 9.0.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 9.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jan 30 2020 Fedora Release Engineering - 9.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Nov 28 15:04:56 CET 2019 Igor Gnatenko - 9.0.0-1 - Update to 9.0.0 * Fri Jul 26 2019 Fedora Release Engineering - 8.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu May 16 2019 Harald Hoyer - 8.0.0-1 - Update to 8.0.0 * Sat Feb 16 2019 Igor Gnatenko - 7.1.0-1 - Update to 7.1.0 * Sat Feb 02 2019 Fedora Release Engineering - 6.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Mon Dec 10 2018 Josh Stone - 6.0.0-1 - Update to 6.0.0 * Mon Nov 26 2018 Josh Stone - 5.1.1-1 - Update to 5.1.1 * Sat Nov 17 2018 Igor Gnatenko - 5.1.0-2 - Adapt to new packaging * Tue Oct 09 2018 Josh Stone - 5.1.0-1 - Update to 5.1.0 * Mon Oct 08 2018 Josh Stone - 5.0.1-1 - Update to 5.0.1 * Sun Sep 02 2018 Igor Gnatenko - 5.0.0-1 - Initial package ## END: Generated by rpmautospec