From 4c114cc5c65f656b36b6f34cad157c8e4cd3d10b Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sat, 14 May 2022 21:40:20 +0200 Subject: [PATCH] Update to version 0.7.68; Fixes RHBZ#2086125 --- .gitignore | 1 + rust-cxx-gen.spec | 13 +++++++------ sources | 2 +- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 7de729c..349dbf9 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ /cxx-gen-0.7.65.crate /cxx-gen-0.7.66.crate /cxx-gen-0.7.67.crate +/cxx-gen-0.7.68.crate diff --git a/rust-cxx-gen.spec b/rust-cxx-gen.spec index 0a32c03..823a370 100644 --- a/rust-cxx-gen.spec +++ b/rust-cxx-gen.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate cxx-gen Name: rust-%{crate} -Version: 0.7.67 +Version: 0.7.68 Release: %autorelease Summary: C++ code generator for integrating cxx crate into higher level tools @@ -16,7 +16,7 @@ Source: %{crates_source} ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: C++ code generator for integrating `cxx` crate into higher level tools.} @@ -33,8 +33,9 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license LICENSE-APACHE LICENSE-MIT -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -46,7 +47,7 @@ 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 +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index 73a0bcb..4dc888e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (cxx-gen-0.7.67.crate) = 8e1bb88dc0b5172f60933d56d8e759b6c86a1757a388f51fe5eee224cc9297831a9d5aeec0db11b3f9a5e7e1f8d39cdb724d083fcf709b7c660b4da555b761cc +SHA512 (cxx-gen-0.7.68.crate) = 3418856e0c1e9f3171d7fc7b470ca55426033331efd9261033a2a2eb4adb32a9b27ff3e5d9d316d8f35360566926020040eaadbdf673e29cb3d87db97e3855c1