diff --git a/.gitignore b/.gitignore index 10b03a1..1ab7991 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /cxx-1.0.65.crate /cxx-1.0.66.crate /cxx-1.0.67.crate +/cxx-1.0.68.crate diff --git a/rust-cxx.spec b/rust-cxx.spec index 924c2ac..a2f8056 100644 --- a/rust-cxx.spec +++ b/rust-cxx.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 21 # * missing dev-dependency: cxx-test-suite %bcond_with check %global debug_package %{nil} @@ -6,7 +6,7 @@ %global crate cxx Name: rust-%{crate} -Version: 1.0.67 +Version: 1.0.68 Release: %autorelease Summary: Safe interop between Rust and C++ @@ -17,7 +17,7 @@ Source: %{crates_source} ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Safe interop between Rust and C++.} @@ -34,9 +34,10 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license LICENSE-APACHE LICENSE-MIT -%doc README.md compile_flags.txt -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -48,7 +49,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}+alloc-devel Summary: %{summary} @@ -60,7 +61,7 @@ This package contains library source intended for building other packages which use the "alloc" feature of the "%{crate}" crate. %files -n %{name}+alloc-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+c++14-devel Summary: %{summary} @@ -72,7 +73,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} @@ -84,7 +85,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} @@ -96,7 +97,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 %package -n %{name}+std-devel Summary: %{summary} @@ -108,7 +109,7 @@ This package contains library source intended for building other packages which use the "std" feature of the "%{crate}" crate. %files -n %{name}+std-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 00db4b9..58f329c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (cxx-1.0.67.crate) = 286406f629d9df1d3522a3ba5eac8396b32ff0f1d11ed7666e3d28322036e6053c12ef829d40c86bbff4f7e038416af291d0adde6e0e1df9cf90d836373783f4 +SHA512 (cxx-1.0.68.crate) = e312a4972f6fc3df6e05b1ef566cac086134af814becb391a79b151fa0daa66c044464ec269bb25eea05ee69f65298490addf1c9bae847c42cb505c0bc167d4e