diff --git a/.gitignore b/.gitignore index bdfc7cc..b5cc941 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /gstreamer-gl-sys-0.21.0.crate /gstreamer-gl-sys-0.21.1.crate /gstreamer-gl-sys-0.21.2.crate +/gstreamer-gl-sys-0.22.0.crate diff --git a/rust-gstreamer-gl-sys.spec b/rust-gstreamer-gl-sys.spec index 80414bc..0390d3a 100644 --- a/rust-gstreamer-gl-sys.spec +++ b/rust-gstreamer-gl-sys.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 25 +# Generated by rust2rpm 26 # * tests are broken: https://github.com/gtk-rs/gtk-rs-core/issues/64 %bcond_with check %global debug_package %{nil} @@ -6,7 +6,7 @@ %global crate gstreamer-gl-sys Name: rust-gstreamer-gl-sys -Version: 0.21.2 +Version: 0.22.0 Release: %autorelease Summary: FFI bindings to libgstgl-1.0 @@ -102,6 +102,19 @@ use the "v1_22" feature of the "%{crate}" crate. %files -n %{name}+v1_22-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+v1_24-devel +Summary: %{summary} +BuildArch: noarch +Requires: pkgconfig(gstreamer-gl-1.0) >= 1.23 + +%description -n %{name}+v1_24-devel %{_description} + +This package contains library source intended for building other packages which +use the "v1_24" feature of the "%{crate}" crate. + +%files -n %{name}+v1_24-devel +%ghost %{crate_instdir}/Cargo.toml + %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep diff --git a/rust2rpm.toml b/rust2rpm.toml index ccd8b6a..77744a7 100644 --- a/rust2rpm.toml +++ b/rust2rpm.toml @@ -1,17 +1,13 @@ -[features] -hide = ["v1_24"] +[tests] +run = ["none"] +comments = ["tests are broken: https://github.com/gtk-rs/gtk-rs-core/issues/64"] [requires] build = ["pkgconfig(gstreamer-gl-1.0) >= 1.14"] lib = ["pkgconfig(gstreamer-gl-1.0) >= 1.14"] - -[requires.features] -v1_16 = ["pkgconfig(gstreamer-gl-1.0) >= 1.16"] -v1_18 = ["pkgconfig(gstreamer-gl-1.0) >= 1.18"] -v1_20 = ["pkgconfig(gstreamer-gl-1.0) >= 1.20"] -v1_22 = ["pkgconfig(gstreamer-gl-1.0) >= 1.22"] - -[tests] -run = ["none"] -comments = ["tests are broken: https://github.com/gtk-rs/gtk-rs-core/issues/64"] +features.v1_16 = ["pkgconfig(gstreamer-gl-1.0) >= 1.16"] +features.v1_18 = ["pkgconfig(gstreamer-gl-1.0) >= 1.18"] +features.v1_20 = ["pkgconfig(gstreamer-gl-1.0) >= 1.20"] +features.v1_22 = ["pkgconfig(gstreamer-gl-1.0) >= 1.22"] +features.v1_24 = ["pkgconfig(gstreamer-gl-1.0) >= 1.23"] diff --git a/sources b/sources index 248b48f..5271ebc 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (gstreamer-gl-sys-0.21.2.crate) = ac1e58b326d2f2c1336e83c235fec4099af4a4596f897ac1dd0db2c6c936a154c1cb6b7a96e655092332b8e7af65f79e67f39c92b1170d3c0303721b3541342e +SHA512 (gstreamer-gl-sys-0.22.0.crate) = ab621ae2c72b7882f608d6363a49b6e8d02bd78ead449404cd9d41c6e56e859647eaf2abb9f6474509ac06168a76c7216ef37fbb3822e4dfc52f88840d52cd7b