diff --git a/.gitignore b/.gitignore index b44ae1f..b55af0d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /libloading-0.4.3.crate /libloading-0.5.0.crate /libloading-0.5.1.crate +/libloading-0.5.2.crate diff --git a/libloading-fix-metadata.diff b/libloading-fix-metadata.diff index e692bf9..44b978b 100644 --- a/libloading-fix-metadata.diff +++ b/libloading-fix-metadata.diff @@ -1,5 +1,5 @@ ---- libloading-0.5.0/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ libloading-0.5.0/Cargo.toml 2018-11-04T08:06:41.550456+01:00 +--- libloading-0.5.2/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ libloading-0.5.2/Cargo.toml 2019-07-13T09:17:13.723792+00:00 @@ -22,6 +22,3 @@ repository = "https://github.com/nagisa/rust_libloading/" [build-dependencies.cc] diff --git a/rust-libloading.spec b/rust-libloading.spec index ef3b717..2864c7b 100644 --- a/rust-libloading.spec +++ b/rust-libloading.spec @@ -1,14 +1,15 @@ -# Generated by rust2rpm-9-1.fc30 +# Generated by rust2rpm 10 %bcond_without check %global debug_package %{nil} %global crate libloading Name: rust-%{crate} -Version: 0.5.1 +Version: 0.5.2 Release: 1%{?dist} Summary: Safer binding to platform’s dynamic library loading utilities +# Upstream license specification: ISC License: ISC URL: https://crates.io/crates/libloading Source: %{crates_source} @@ -17,12 +18,14 @@ Source: %{crates_source} Patch0: libloading-fix-metadata.diff ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(cc/default) >= 1.0.0 with crate(cc/default) < 2.0.0) -%global _description \ -A safer binding to platform’s dynamic library loading utilities. +%global _description %{expand: +Safer binding to platform’s dynamic library loading utilities.} %description %{_description} @@ -58,6 +61,9 @@ which use "default" feature of "%{crate}" crate. rm -f -v out src/os/unix/global_static.ll %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -70,6 +76,9 @@ rm -f -v out src/os/unix/global_static.ll %endif %changelog +* Sat Jul 13 11:17:13 CEST 2019 Igor Gnatenko - 0.5.2-1 +- Update to 0.5.2 + * Mon Jun 03 2019 Josh Stone - 0.5.1-1 - Update to 0.5.1 diff --git a/sources b/sources index cce7638..de0e098 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libloading-0.5.1.crate) = 21be174f9b018234645553395d44df0433580505b9cf51092cfc22ea03b6c96f232f1223b7f99513d9d6c9963d38991b729c8f9fb50df41dcd7c724dde541e28 +SHA512 (libloading-0.5.2.crate) = d04cb1bb220c9364c02da4f360593907c875951fc0f6de5da1455bac4e96a470128409f77b21194fd6a87550f3ba00abe3b7a3426e7637acb62b80d61da46be4 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..e10aa79 --- /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-libloading