Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 6 years ago
parent a27656686b
commit e3bb0e8316
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

@ -1,5 +1,5 @@
--- encoding-index-japanese-1.20141219.5/Cargo.toml 2015-04-14T03:31:02+02:00 --- encoding-index-japanese-1.20141219.5/Cargo.toml 2015-04-14T01:31:02+00:00
+++ encoding-index-japanese-1.20141219.5/Cargo.toml 2018-11-03T14:54:28.869944+01:00 +++ encoding-index-japanese-1.20141219.5/Cargo.toml 2019-06-23T09:35:54.089434+00:00
@@ -12,7 +12,6 @@ @@ -12,7 +12,6 @@
name = "encoding_index_japanese" name = "encoding_index_japanese"
path = "lib.rs" path = "lib.rs"

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

@ -0,0 +1,5 @@
---
standard-inventory-qcow2:
qemu:
# `cargo test` usually eats more than 1G.
m: 4G

@ -0,0 +1,13 @@
---
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
repositories:
- repo: "https://src.fedoraproject.org/tests/rust.git"
dest: rust
tests:
- rust/cargo-test
environment:
pkg: rust-encoding-index-japanese
Loading…
Cancel
Save