Adapt to new packaging

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

@ -7,13 +7,13 @@
Name: rust-%{crate}
Version: 1.0.4
Release: 3%{?dist}
Release: 4%{?dist}
Summary: Simple cross platform library for writing colored text to a terminal
# Upstream license specification: Unlicense OR MIT
License: Unlicense or MIT
URL: https://crates.io/crates/termcolor
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
Source: %{crates_source}
# Initial patched metadata
# * No windows
Patch0: termcolor-fix-metadata.diff
@ -54,7 +54,7 @@ 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
%build
@ -69,6 +69,9 @@ which use "default" feature of "%{crate}" crate.
%endif
%changelog
* Sun Mar 10 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.0.4-4
- Adapt to new packaging
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

@ -1,5 +1,5 @@
--- termcolor-1.0.4/Cargo.toml 1970-01-01T01:00:00+01:00
+++ termcolor-1.0.4/Cargo.toml 2018-10-28T02:18:45.250180+02:00
+++ termcolor-1.0.4/Cargo.toml 2019-03-10T10:04:52.047292+01:00
@@ -26,5 +26,3 @@
[lib]
name = "termcolor"

@ -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-termcolor
Loading…
Cancel
Save