|
|
|
@ -1,34 +1,33 @@
|
|
|
|
|
# Generated by rust2rpm
|
|
|
|
|
# Tests require nightly compiler
|
|
|
|
|
%bcond_with check
|
|
|
|
|
# Generated by rust2rpm 10
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate encoding-index-japanese
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 1.20141219.5
|
|
|
|
|
Release: 6%{?dist}
|
|
|
|
|
Release: 7%{?dist}
|
|
|
|
|
Summary: Index tables for Japanese character encodings
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: CC0-1.0
|
|
|
|
|
# https://github.com/lifthrasiir/rust-encoding/issues/111
|
|
|
|
|
License: CC0
|
|
|
|
|
URL: https://crates.io/crates/encoding-index-japanese
|
|
|
|
|
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
# Initial patched metadata
|
|
|
|
|
# * No paths
|
|
|
|
|
# * Make dev-dependency as dev one
|
|
|
|
|
Patch0: encoding-index-japanese-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
%if %{with check}
|
|
|
|
|
BuildRequires: (crate(encoding_index_tests/default) >= 0.1.4 with crate(encoding_index_tests/default) < 0.2.0)
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%global _description \
|
|
|
|
|
Index tables for Japanese character encodings.
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Index tables for Japanese character encodings.}
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
@ -57,9 +56,12 @@ which use "default" feature of "%{crate}" crate.
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%cargo_build
|
|
|
|
|
|
|
|
|
@ -72,6 +74,9 @@ which use "default" feature of "%{crate}" crate.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sun Jun 23 11:35:54 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.20141219.5-7
|
|
|
|
|
- Regenerate
|
|
|
|
|
|
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.20141219.5-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|