From e03cb8e0906acdf62bfd1c290713fd44bf11bb8d Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sat, 14 May 2022 21:44:20 +0200 Subject: [PATCH] Update to version 1.0.68; Fixes RHBZ#2086124 --- .gitignore | 1 + rust-cxxbridge-flags.spec | 19 ++++++++++--------- sources | 2 +- 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index 208e139..56f3afb 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /cxxbridge-flags-1.0.65.crate /cxxbridge-flags-1.0.66.crate /cxxbridge-flags-1.0.67.crate +/cxxbridge-flags-1.0.68.crate diff --git a/rust-cxxbridge-flags.spec b/rust-cxxbridge-flags.spec index 0dc66c8..e32692b 100644 --- a/rust-cxxbridge-flags.spec +++ b/rust-cxxbridge-flags.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate cxxbridge-flags Name: rust-%{crate} -Version: 1.0.67 +Version: 1.0.68 Release: %autorelease Summary: Compiler configuration of the cxx crate @@ -16,7 +16,7 @@ Source: %{crates_source} ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Compiler configuration of the `cxx` crate (implementation detail).} @@ -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 %package -n %{name}+c++14-devel Summary: %{summary} @@ -58,7 +59,7 @@ This package contains library source intended for building other packages which use the "c++14" feature of the "%{crate}" crate. %files -n %{name}+c++14-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+c++17-devel Summary: %{summary} @@ -70,7 +71,7 @@ This package contains library source intended for building other packages which use the "c++17" feature of the "%{crate}" crate. %files -n %{name}+c++17-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+c++20-devel Summary: %{summary} @@ -82,7 +83,7 @@ This package contains library source intended for building other packages which use the "c++20" feature of the "%{crate}" crate. %files -n %{name}+c++20-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 e4669ce..98c05ae 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (cxxbridge-flags-1.0.67.crate) = 23205182abdfc659f321e91dfe3cfb7b921dbf4a7da48a5d5ba9c2c2713be12491f4efbc6056d5b93bfda0a4f70f256cca16cee5c0434dc4c8f291970b6b7a29 +SHA512 (cxxbridge-flags-1.0.68.crate) = bd58794035325b3ffa7e49afd7f9e020262ea227f0722ac88fadbbf934de37088a9e9af7a4db5c46815047d172a27ab6bbbfd17f9bc0465b4abad595a63817fd