diff --git a/.gitignore b/.gitignore index e52756f..8e0eca3 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /tempfile-3.0.3.crate /tempfile-3.0.4.crate /tempfile-3.0.5.crate +/tempfile-3.0.6.crate diff --git a/rust-tempfile.spec b/rust-tempfile.spec index feb95bf..54d0ae1 100644 --- a/rust-tempfile.spec +++ b/rust-tempfile.spec @@ -1,18 +1,18 @@ # Generated by rust2rpm -%bcond_without check +%bcond_with check %global debug_package %{nil} %global crate tempfile Name: rust-%{crate} -Version: 3.0.5 -Release: 2%{?dist} +Version: 3.0.6 +Release: 1%{?dist} Summary: Library for managing temporary files and directories # Upstream license specification: MIT/Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/tempfile -Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +Source: %{crates_source} # Initial patched metadata # * No Windows # * No Redox @@ -58,7 +58,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 @@ -73,6 +73,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Sun Feb 10 2019 Igor Gnatenko - 3.0.6-1 +- Update to 3.0.6 + * Sat Feb 02 2019 Fedora Release Engineering - 3.0.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index d904862..638e136 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (tempfile-3.0.5.crate) = f1055454383996de7a79a08f31c85b0d957f277e297a70d85b2faeb6a85e4c12348ca8ba7cae44ec1398d6d02b2d725dbd4eda68a064db66594024b407c6e306 +SHA512 (tempfile-3.0.6.crate) = 7e1808ac57b93cb5a7f26c53d42499f6e9343b37086692e2fea201e537cbdb208bcede53987fb598f3aae9d31cd987aa757e2e34c45c04a5a08e77fc332d9c32 diff --git a/tempfile-fix-metadata.diff b/tempfile-fix-metadata.diff index 009b2c3..2f1574a 100644 --- a/tempfile-fix-metadata.diff +++ b/tempfile-fix-metadata.diff @@ -1,5 +1,5 @@ ---- tempfile-3.0.5/Cargo.toml 1969-12-31T16:00:00-08:00 -+++ tempfile-3.0.5/Cargo.toml 2018-12-03T11:34:46.771871-08:00 +--- tempfile-3.0.6/Cargo.toml 1970-01-01T01:00:00+01:00 ++++ tempfile-3.0.6/Cargo.toml 2019-02-10T15:37:44.570868+01:00 @@ -29,10 +29,5 @@ [dependencies.remove_dir_all] diff --git a/tests/.fmf/version b/tests/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/tests/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/tests/provision.fmf b/tests/provision.fmf new file mode 100644 index 0000000..503a97c --- /dev/null +++ b/tests/provision.fmf @@ -0,0 +1,5 @@ +--- +standard-inventory-qcow2: + qemu: + # `cargo test` usually eats more than 1G. + m: 4G diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..df94fd1 --- /dev/null +++ b/tests/tests.yml @@ -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-tempfile