diff --git a/.gitignore b/.gitignore index b3963dd..98e03b6 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /atk-0.6.0.crate +/atk-0.7.0.crate diff --git a/rust-atk.spec b/rust-atk.spec index 7090aa1..e27deb3 100644 --- a/rust-atk.spec +++ b/rust-atk.spec @@ -1,33 +1,28 @@ -# Generated by rust2rpm +# Generated by rust2rpm 10 %bcond_with check %global debug_package %{nil} %global crate atk Name: rust-%{crate} -Version: 0.6.0 -Release: 2%{?dist} +Version: 0.7.0 +Release: 1%{?dist} Summary: Rust bindings for the ATK library +# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/atk Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(atk-sys/default) >= 0.8.0 with crate(atk-sys/default) < 0.9.0) -BuildRequires: (crate(bitflags/default) >= 1.0.0 with crate(bitflags/default) < 2.0.0) -BuildRequires: (crate(glib-sys/default) >= 0.8.0 with crate(glib-sys/default) < 0.9.0) -BuildRequires: (crate(glib/default) >= 0.7.0 with crate(glib/default) < 0.8.0) -BuildRequires: (crate(gobject-sys/default) >= 0.8.0 with crate(gobject-sys/default) < 0.9.0) -BuildRequires: (crate(libc/default) >= 0.2.0 with crate(libc/default) < 0.3.0) -%if %{with check} -BuildRequires: (crate(gir-format-check/default) >= 0.1.0 with crate(gir-format-check/default) < 0.2.0) -%endif -%global _description \ -Rust bindings for the ATK library. +%global _description %{expand: +Rust bindings for the ATK library.} %description %{_description} @@ -122,6 +117,9 @@ which use "v2_30" feature of "%{crate}" crate. %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -134,6 +132,9 @@ which use "v2_30" feature of "%{crate}" crate. %endif %changelog +* Tue Dec 10 2019 Josh Stone - 0.7.0-1 +- Update to 0.7.0 + * Fri Jul 26 2019 Fedora Release Engineering - 0.6.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index 8158a77..bae1b91 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (atk-0.6.0.crate) = 670556ccfecfa9646edb1c65913720a653b300977faeabc72ff9fb6b0426b608f74acbd63194a6e8b70c68a39119e5a1c73ae7819aabf019096d70f740a99fa6 +SHA512 (atk-0.7.0.crate) = 4369d48607d58cfde6fd1dbe006eca2ffbf0212750d991b0a534586e75496e9cb99636e2b916ae3e6c3cbc0aa3345bddf1b2e7d2561a9c16769646029be9041b