## START: Set by rpmautospec ## (rpmautospec version 0.2.6) %define autorelease(e:s:pb:) %{?-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*}}%{?dist} ## END: Set by rpmautospec # Generated by rust2rpm 20 # * resolve circular dependency with wasm-bindgen %bcond_with check %global debug_package %{nil} %global crate wasm-bindgen-macro Name: rust-%{crate} Version: 0.2.79 Release: %autorelease Summary: Definition of the #[wasm_bindgen] attribute # Upstream license specification: MIT/Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/wasm-bindgen-macro Source: %{crates_source} ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging %global _description %{expand: Definition of the `#[wasm_bindgen]` attribute, an internal dependency.} %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 LICENSE-APACHE LICENSE-MIT %doc README.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ %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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+spans-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+spans-devel %{_description} This package contains library source intended for building other packages which use the "spans" feature of the "%{crate}" crate. %files -n %{name}+spans-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+strict-macro-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+strict-macro-devel %{_description} This package contains library source intended for building other packages which use the "strict-macro" feature of the "%{crate}" crate. %files -n %{name}+strict-macro-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+xxx_debug_only_print_generated_code-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+xxx_debug_only_print_generated_code-devel %{_description} This package contains library source intended for building other packages which use the "xxx_debug_only_print_generated_code" feature of the "%{crate}" crate. %files -n %{name}+xxx_debug_only_print_generated_code-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 * Wed Jan 26 2022 Fabio Valentini 0.2.79-1 - Update to version 0.2.79; Fixes RHBZ#2042674 * Sat Jan 22 2022 Fedora Release Engineering 0.2.78-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Sep 30 2021 Fabio Valentini 0.2.78-1 - Update to version 0.2.78; Fixes RHBZ#2002383 * Fri Aug 20 2021 Fabio Valentini 0.2.76-1 - Update to version 0.2.76; Fixes RHBZ#1995701 * Wed Aug 11 2021 Fabio Valentini 0.2.75-1 - Update to version 0.2.75; Fixes RHBZ#1989224 * Sun Aug 01 2021 Fabio Valentini 0.2.74-1 - Update to version 0.2.74; Fixes RHBZ#1959033 * Fri Jul 23 2021 Fedora Release Engineering - 0.2.73-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Mar 31 2021 Fabio Valentini - 0.2.73-1 - Update to version 0.2.73. * Wed Mar 24 2021 Fabio Valentini - 0.2.72-1 - Update to version 0.2.72. * Sat Feb 27 2021 Fabio Valentini - 0.2.71-1 - Update to version 0.2.71. * Wed Jan 27 2021 Fedora Release Engineering - 0.2.69-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Dec 08 2020 Fabio Valentini - 0.2.69-1 - Update to version 0.2.69. * Wed Sep 23 2020 Fabio Valentini - 0.2.68-1 - Update to version 0.2.68. * Thu Jul 30 2020 Peter Robinson - 0.2.67-1 - Initial package