diff --git a/.gitignore b/.gitignore index 35f88fb..b23ec1b 100644 --- a/.gitignore +++ b/.gitignore @@ -31,3 +31,4 @@ /cxx-1.0.107.crate /cxx-1.0.109.crate /cxx-1.0.110.crate +/cxx-1.0.114.crate diff --git a/cxx-fix-metadata.diff b/cxx-fix-metadata.diff index cb92a86..a89f7f8 100644 --- a/cxx-fix-metadata.diff +++ b/cxx-fix-metadata.diff @@ -1,6 +1,6 @@ ---- cxx-1.0.107/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ cxx-1.0.107/Cargo.toml 2023-09-19T20:55:53.400057+00:00 -@@ -17,11 +17,16 @@ +--- cxx-1.0.114/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ cxx-1.0.114/Cargo.toml 2024-01-03T14:03:23.896611+00:00 +@@ -17,11 +17,19 @@ authors = ["David Tolnay "] links = "cxxbridge1" exclude = [ @@ -14,7 +14,10 @@ + "/tools/buck", + "/BUCK", + "/BUILD", ++ "/MODULE.*", + "/WORKSPACE", ++ "/reindeer.toml", ++ "/rust-toolchain.toml", ] description = "Safe interop between Rust and C++" homepage = "https://cxx.rs" diff --git a/rust-cxx.spec b/rust-cxx.spec index 2e156b4..8f6e349 100644 --- a/rust-cxx.spec +++ b/rust-cxx.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 # * tests can only be run in-tree %bcond_with check %global debug_package %{nil} @@ -6,7 +6,7 @@ %global crate cxx Name: rust-cxx -Version: 1.0.110 +Version: 1.0.114 Release: %autorelease Summary: Safe interop between Rust and C++ @@ -18,7 +18,7 @@ Source: %{crates_source} # * exclude unused docs sources Patch: cxx-fix-metadata.diff -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Safe interop between Rust and C++.} @@ -114,7 +114,7 @@ use the "std" feature of the "%{crate}" crate. %ghost %{crate_instdir}/Cargo.toml %prep -%autosetup -n %{crate}-%{version_no_tilde} -p1 +%autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..553347c --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,4 @@ +[tests] +run = ["none"] +comments = ["tests can only be run in-tree"] + diff --git a/sources b/sources index 34b8699..ff603e0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (cxx-1.0.110.crate) = ee168deaf5f08bed4f6f4613c38ccf0c219ec00393204c67d6ce5495ecaf1cc67a7ad30d36f2277cfd276ba284ebe37aa784a81d59019ab973988ab52ee3c136 +SHA512 (cxx-1.0.114.crate) = 5411a2acc517c0c039e8ebba5b830b166a3fa987c7acf044a95edf57fb0f55a6909540c4e68e12ee4427f32dcbb1e15f873e1ac3ca2002abf31afb19bcf88794