From 52451a8d800d7c88d54e8d2e9e43fa6b970ba008 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 1 Dec 2021 17:37:28 +0100 Subject: [PATCH] Update to version 0.7.57; Fixes RHBZ#2027989 --- .gitignore | 1 + rust-cxx-gen.spec | 19 ++++++++----------- sources | 2 +- 3 files changed, 10 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index 7f018cc..420e95a 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /cxx-gen-0.7.54.crate /cxx-gen-0.7.55.crate /cxx-gen-0.7.56.crate +/cxx-gen-0.7.57.crate diff --git a/rust-cxx-gen.spec b/rust-cxx-gen.spec index 3d62f59..dc2ccb5 100644 --- a/rust-cxx-gen.spec +++ b/rust-cxx-gen.spec @@ -1,13 +1,13 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 20 %bcond_without check %global debug_package %{nil} %global crate cxx-gen Name: rust-%{crate} -Version: 0.7.56 +Version: 0.7.57 Release: %autorelease -Summary: C++ code generator for integrating `cxx` crate into higher level tools +Summary: C++ code generator for integrating cxx crate into higher level tools # Upstream license specification: MIT OR Apache-2.0 License: MIT or ASL 2.0 @@ -15,9 +15,6 @@ URL: https://crates.io/crates/cxx-gen Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif BuildRequires: rust-packaging @@ -32,11 +29,11 @@ BuildArch: noarch %description devel %{_description} -This package contains library source intended for building other packages -which use "%{crate}" crate. +This package contains library source intended for building other packages which +use the "%{crate}" crate. %files devel -%license LICENSE-MIT LICENSE-APACHE +%license LICENSE-APACHE LICENSE-MIT %{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel @@ -45,8 +42,8 @@ BuildArch: noarch %description -n %{name}+default-devel %{_description} -This package contains library source intended for building other packages -which use "default" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml diff --git a/sources b/sources index cc5687e..5409ddf 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (cxx-gen-0.7.56.crate) = 03dc27bb232edd0ace412d4df94f62ce86853c526b148f73daf0961fe51153bcb54ad6a7ef55fc3df9b18f514a7a78a73835b4a67e9a2f69f0b8dfb9ae2ad3ba +SHA512 (cxx-gen-0.7.57.crate) = af1737c942cd8454d87a1b47ac40e7bc34b0e096fb1f802b7d547447fe3b7b6aad02a507872aeecc2d7748e3616b1ab238acf1d63f0bcd3d2f5552aed14a8c9f