# Generated by rust2rpm 17 %bcond_without check %global debug_package %{nil} %global crate ansi_colours Name: rust-%{crate} Version: 1.0.3 Release: 1%{?dist} Summary: True-colour ↔ ANSI terminal palette converter # Upstream license specification: LGPL-3.0-or-later License: LGPLv3+ URL: https://crates.io/crates/ansi_colours Source: %{crates_source} ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} BuildArch: noarch %endif BuildRequires: rust-packaging %global _description %{expand: True-colour ↔ ANSI terminal palette converter.} %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_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 "default" feature of "%{crate}" crate. %files -n %{name}+default-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 * Tue Jun 22 2021 Fabio Valentini - 1.0.3-1 - Update to version 1.0.3. - Fixes RHBZ#1974034 * Sun Feb 07 2021 Fabio Valentini - 1.0.2-1 - Update to version 1.0.2. - Fixes RHBZ#1925841 * Wed Jan 27 2021 Fedora Release Engineering - 1.0.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Dec 09 19:56:43 CET 2020 Robert-André Mauchin - 1.0.1-8 - Bump lab to 0.8 * Wed Jul 29 2020 Fedora Release Engineering - 1.0.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jan 30 2020 Fedora Release Engineering - 1.0.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 1.0.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun Jul 14 19:02:10 CEST 2019 Igor Gnatenko - 1.0.1-4 - Regenerate * Sat Feb 02 2019 Fedora Release Engineering - 1.0.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Nov 03 2018 Igor Gnatenko - 1.0.1-2 - Adapt to new packaging * Thu Oct 04 2018 Igor Gnatenko - 1.0.1-1 - Initial package