Update nix to 0.13

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

@ -1,12 +1,14 @@
--- ctrlc-3.1.1/Cargo.toml 1970-01-01T01:00:00+01:00 --- ctrlc-3.1.1/Cargo.toml 1970-01-01T01:00:00+01:00
+++ ctrlc-3.1.1/Cargo.toml 2018-07-17T09:55:32.501826+02:00 +++ ctrlc-3.1.1/Cargo.toml 2019-02-04T10:10:28.553661+01:00
@@ -30,9 +30,3 @@ @@ -29,10 +29,4 @@
[features]
termination = [] termination = []
[target."cfg(unix)".dependencies.nix] [target."cfg(unix)".dependencies.nix]
version = "0.11" -version = "0.11"
-[target."cfg(windows)".dependencies.winapi] -[target."cfg(windows)".dependencies.winapi]
-version = "0.3" -version = "0.3"
-features = ["consoleapi", "handleapi", "synchapi", "winbase"] -features = ["consoleapi", "handleapi", "synchapi", "winbase"]
-[target."cfg(windows)".dev-dependencies.winapi] -[target."cfg(windows)".dev-dependencies.winapi]
-version = "0.3" -version = "0.3"
-features = ["fileapi", "processenv", "winnt"] -features = ["fileapi", "processenv", "winnt"]
+version = "0.13"

@ -6,21 +6,22 @@
Name: rust-%{crate} Name: rust-%{crate}
Version: 3.1.1 Version: 3.1.1
Release: 3%{?dist} Release: 4%{?dist}
Summary: Easy Ctrl-C handler for Rust projects Summary: Easy Ctrl-C handler for Rust projects
# Upstream license specification: MIT/Apache-2.0 # Upstream license specification: MIT/Apache-2.0
License: MIT or ASL 2.0 License: MIT or ASL 2.0
URL: https://crates.io/crates/ctrlc URL: https://crates.io/crates/ctrlc
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate Source: %{crates_source}
# Initial patched metadata # Initial patched metadata
# * No windows # * No windows
Patch0: ctrlc-3.1.1-fix-metadata.diff # * Bump nix to 0.13, https://github.com/Detegr/rust-ctrlc/pull/48
Patch0: ctrlc-fix-metadata.diff
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging BuildRequires: rust-packaging
BuildRequires: (crate(nix/default) >= 0.11.0 with crate(nix/default) < 0.12.0) BuildRequires: (crate(nix/default) >= 0.13.0 with crate(nix/default) < 0.14.0)
%global _description \ %global _description \
Easy Ctrl-C handler for Rust projects. Easy Ctrl-C handler for Rust projects.
@ -67,7 +68,7 @@ which use "termination" 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
%build %build
@ -82,6 +83,9 @@ which use "termination" feature of "%{crate}" crate.
%endif %endif
%changelog %changelog
* Mon Feb 04 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.1.1-4
- Update nix to 0.13
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.1-3 * Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.1-3
- 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-ctrlc
Loading…
Cancel
Save