# Generated by rust2rpm 10 %bcond_without check %global debug_package %{nil} %global crate html2pango Name: rust-%{crate} Version: 0.3.2 Release: 1%{?dist} Summary: Library to convert html to pango # Upstream license specification: GPL-3.0 License: GPLv3 URL: https://crates.io/crates/html2pango Source: %{crates_source} # Initial patched metadata # - Bump ammonia to 3.0.0 # - Bump html5ever to 0.24 Patch0: html2pango-fix-metadata.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} BuildArch: noarch %endif BuildRequires: rust-packaging %global _description %{expand: Library to convert html to pango.} %description %{_description} %package devel Summary: %{summary} BuildArch: noarch %description devel %{_description} This package contains library source intended for building other packages which use "%{crate}" crate. %files devel %license LICENSE %doc README.md %{cargo_registry}/%{crate}-%{version}/ %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 "default" feature of "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version}/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 Sep 13 18:52:19 CEST 2019 Robert-André Mauchin - 0.3.2-1 - Update to 0.3.2 - Bump ammonia to 3.0.0 - Bump html5ever to 0.24 * Fri Jul 26 2019 Fedora Release Engineering - 0.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Apr 27 16:31:57 EEST 2019 Artem Polishchuk - 0.3.1-1 - Initial package