From 67d26706d59217e357c5981c7d4f5e3d7b98683a Mon Sep 17 00:00:00 2001 From: Aleksei Bavshin Date: Sat, 16 Dec 2023 22:49:15 -0800 Subject: [PATCH] Update to 0.31.1 (rhbz#2212358) --- .gitignore | 1 + rust-wayland-sys.spec | 32 ++++++++++++++++---------------- rust2rpm.conf | 11 ----------- rust2rpm.toml | 8 ++++++++ sources | 2 +- 5 files changed, 26 insertions(+), 28 deletions(-) delete mode 100644 rust2rpm.conf create mode 100644 rust2rpm.toml diff --git a/.gitignore b/.gitignore index 8ddfc9f..20fe4d0 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /wayland-sys-0.29.4.crate /wayland-sys-0.29.5.crate /wayland-sys-0.30.1.crate +/wayland-sys-0.31.1.crate diff --git a/rust-wayland-sys.spec b/rust-wayland-sys.spec index 7539cd9..de6d536 100644 --- a/rust-wayland-sys.spec +++ b/rust-wayland-sys.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate wayland-sys Name: rust-wayland-sys -Version: 0.30.1 +Version: 0.31.1 Release: %autorelease Summary: FFI bindings to the various libwayland-*.so libraries @@ -13,7 +13,7 @@ License: MIT URL: https://crates.io/crates/wayland-sys Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: FFI bindings to the various libwayland-*.so libraries. You should only @@ -101,18 +101,6 @@ use the "egl" feature of the "%{crate}" crate. %files -n %{name}+egl-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+lazy_static-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+lazy_static-devel %{_description} - -This package contains library source intended for building other packages which -use the "lazy_static" feature of the "%{crate}" crate. - -%files -n %{name}+lazy_static-devel -%ghost %{crate_instdir}/Cargo.toml - %package -n %{name}+libc-devel Summary: %{summary} BuildArch: noarch @@ -137,6 +125,18 @@ use the "memoffset" feature of the "%{crate}" crate. %files -n %{name}+memoffset-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+once_cell-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+once_cell-devel %{_description} + +This package contains library source intended for building other packages which +use the "once_cell" feature of the "%{crate}" crate. + +%files -n %{name}+once_cell-devel +%ghost %{crate_instdir}/Cargo.toml + %package -n %{name}+server-devel Summary: %{summary} BuildArch: noarch @@ -151,7 +151,7 @@ use the "server" 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.conf b/rust2rpm.conf deleted file mode 100644 index 6e4c8d5..0000000 --- a/rust2rpm.conf +++ /dev/null @@ -1,11 +0,0 @@ -[DEFAULT] -lib.requires = - wayland-devel -lib+client.requires = - pkgconfig(wayland-client) -lib+cursor.requires = - pkgconfig(wayland-cursor) -lib+egl.requires = - pkgconfig(wayland-egl) -lib+server.requires = - pkgconfig(wayland-server) diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..5ab7f00 --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,8 @@ +[requires] +lib = ["wayland-devel"] + +[requires.features] +client = ["pkgconfig(wayland-client)"] +cursor = ["pkgconfig(wayland-cursor)"] +egl = ["pkgconfig(wayland-egl)"] +server = ["pkgconfig(wayland-server)"] diff --git a/sources b/sources index ea02fc5..b3aa705 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (wayland-sys-0.30.1.crate) = a34b759c6360728339a0416d546f9e22df8423dc0141a0379b76ffbbe7004a25ae27972ec246353115bd16e9cbdb531f844f650a314fa68066cda4ddd097ed39 +SHA512 (wayland-sys-0.31.1.crate) = 79d6feda8a2a4307218ad51b292efd7d0e80707630908a9ae9bca6c0ceed57af874f3b6467915fefd078279ff4f7d39291d84d6250312f692305d38d7f0bed3e