From 60ad1bbdd43a2096406fa4dbe241bc4a6e08d72c Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sat, 14 May 2022 21:42:40 +0200 Subject: [PATCH] Update to version 1.0.68; Fixes RHBZ#2086126 --- .gitignore | 1 + rust-cxx-build.spec | 17 +++++++++-------- sources | 2 +- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index 210d06b..fbc3fa5 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ /cxx-build-1.0.65.crate /cxx-build-1.0.66.crate /cxx-build-1.0.67.crate +/cxx-build-1.0.68.crate diff --git a/rust-cxx-build.spec b/rust-cxx-build.spec index 39db736..b9d1789 100644 --- a/rust-cxx-build.spec +++ b/rust-cxx-build.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate cxx-build Name: rust-%{crate} -Version: 1.0.67 +Version: 1.0.68 Release: %autorelease Summary: C++ code generator for integrating cxx crate into a Cargo build @@ -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 a Cargo build.} @@ -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}+experimental-async-fn-devel Summary: %{summary} @@ -58,7 +59,7 @@ This package contains library source intended for building other packages which use the "experimental-async-fn" feature of the "%{crate}" crate. %files -n %{name}+experimental-async-fn-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+parallel-devel Summary: %{summary} @@ -70,7 +71,7 @@ This package contains library source intended for building other packages which use the "parallel" feature of the "%{crate}" crate. %files -n %{name}+parallel-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 c7db704..aff738e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (cxx-build-1.0.67.crate) = 7e8f19f96105f13b249082c80b051e2a4840c37d3db1978e179304853bff2f3b9529998be7ce9effebb407ed9b98e198373041dc45937b6574082f7b2e1eca5a +SHA512 (cxx-build-1.0.68.crate) = d951bcaa0802f87c56e2b4ccec34a06d93c0bff991837f4102c74380dc6e58c33288352c49805631224ebfc5d64cfb9c39d28cca12d16a2faf04687cb9a98076