|
|
|
@ -1,30 +1,29 @@
|
|
|
|
|
# Generated by rust2rpm
|
|
|
|
|
# https://github.com/meh/rust-terminfo/issues/10
|
|
|
|
|
%bcond_with check
|
|
|
|
|
# Generated by rust2rpm 13
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate terminfo
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.6.1
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Version: 0.7.1
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Terminal information
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: WTFPL
|
|
|
|
|
# https://github.com/meh/rust-terminfo/issues/9
|
|
|
|
|
License: WTFPL
|
|
|
|
|
URL: https://crates.io/crates/terminfo
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
BuildRequires: (crate(fnv/default) >= 1.0.0 with crate(fnv/default) < 2.0.0)
|
|
|
|
|
BuildRequires: (crate(nom/default) >= 4.0.0 with crate(nom/default) < 5.0.0)
|
|
|
|
|
BuildRequires: (crate(phf/default) >= 0.7.0 with crate(phf/default) < 0.8.0)
|
|
|
|
|
BuildRequires: (crate(phf_codegen/default) >= 0.7.0 with crate(phf_codegen/default) < 0.8.0)
|
|
|
|
|
|
|
|
|
|
%global _description \
|
|
|
|
|
Terminal information.
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Terminal information.}
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
@ -39,7 +38,7 @@ which use "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%doc README.md
|
|
|
|
|
%{cargo_registry}/%{crate}-%{version}/
|
|
|
|
|
%{cargo_registry}/%{crate}-%{version_no_tilde}/
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+default-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -51,12 +50,15 @@ 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
|
|
|
|
|
%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
|
|
|
|
|
|
|
|
|
@ -69,6 +71,9 @@ which use "default" feature of "%{crate}" crate.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sat Feb 15 16:37:03 CET 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.7.1-1
|
|
|
|
|
- Update to 0.7.1
|
|
|
|
|
|
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|