# Generated by rust2rpm 23 # * The doctests are simply broken and there are no functional ones # https://gitlab.gnome.org/haecker-felix/gtk-macros/-/issues/2 %bcond_with check %global debug_package %{nil} %global crate gtk-macros Name: rust-gtk-macros Version: 0.3.0 Release: 1%{?dist} Summary: Few macros to make gtk-rs development more convenient # https://gitlab.gnome.org/haecker-felix/gtk-macros/-/issues/1 License: GPL-3.0-or-later URL: https://crates.io/crates/gtk-macros Source: %{crates_source} BuildRequires: rust-packaging >= 21 %global _description %{expand: Few macros to make gtk-rs development more convenient.} %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 # FIXME: no license files detected %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 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog * Fri Dec 02 2022 Kalev Lember - 0.3.0-1 - Update to 0.3.0 * Fri Jul 23 2021 Fedora Release Engineering - 0.2.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu May 21 17:26:52 CEST 2020 Igor Raits - 0.2.0-1 - Initial package