diff --git a/.gitignore b/.gitignore index 7e15d58..e8c5f42 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ /cairo-rs-0.15.6.crate /cairo-rs-0.15.10.crate /cairo-rs-0.15.12.crate +/cairo-rs-0.16.3.crate diff --git a/.rust2rpm.conf b/.rust2rpm.conf deleted file mode 100644 index f893c1b..0000000 --- a/.rust2rpm.conf +++ /dev/null @@ -1,3 +0,0 @@ -[DEFAULT] -unwanted-features = - win32-surface diff --git a/rust-cairo-rs.spec b/rust-cairo-rs.spec index 387db49..f90dd7d 100644 --- a/rust-cairo-rs.spec +++ b/rust-cairo-rs.spec @@ -1,21 +1,19 @@ -# Generated by rust2rpm 21 -%bcond_without check +# Generated by rust2rpm 23 +# * missing dev-dependency: float_eq +%bcond_with check %global debug_package %{nil} %global crate cairo-rs -Name: rust-%{crate} -Version: 0.15.12 +Name: rust-cairo-rs +Version: 0.16.3 Release: %autorelease Summary: Rust bindings for the Cairo library -# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/cairo-rs Source: %{crates_source} -ExclusiveArch: %{rust_arches} - BuildRequires: rust-packaging >= 21 %global _description %{expand: @@ -74,16 +72,16 @@ use the "freetype" feature of the "%{crate}" crate. %files -n %{name}+freetype-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+freetype-crate-devel +%package -n %{name}+freetype-rs-devel Summary: %{summary} BuildArch: noarch -%description -n %{name}+freetype-crate-devel %{_description} +%description -n %{name}+freetype-rs-devel %{_description} This package contains library source intended for building other packages which -use the "freetype-crate" feature of the "%{crate}" crate. +use the "freetype-rs" feature of the "%{crate}" crate. -%files -n %{name}+freetype-crate-devel +%files -n %{name}+freetype-rs-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+glib-devel @@ -182,6 +180,18 @@ use the "v1_16" feature of the "%{crate}" crate. %files -n %{name}+v1_16-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+v1_18-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+v1_18-devel %{_description} + +This package contains library source intended for building other packages which +use the "v1_18" feature of the "%{crate}" crate. + +%files -n %{name}+v1_18-devel +%ghost %{crate_instdir}/Cargo.toml + %package -n %{name}+xcb-devel Summary: %{summary} BuildArch: noarch diff --git a/rust2rpm.conf b/rust2rpm.conf new file mode 100644 index 0000000..f893c1b --- /dev/null +++ b/rust2rpm.conf @@ -0,0 +1,3 @@ +[DEFAULT] +unwanted-features = + win32-surface diff --git a/sources b/sources index 3206060..932b559 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (cairo-rs-0.15.12.crate) = 1933894bbc954ba1d95093542c8e58926f1165caa1b07641ae494102ebd111d6b90e76d6b7e2b65e7c24778cb91c73d39078b83af34fb21974a49bccad83be34 +SHA512 (cairo-rs-0.16.3.crate) = ae66293a62752bf8eb69202d0dd6fc57bfd3fde17ec23edde5348f199e0b6c08f632d9ef0879163f86c3d64de637b59f880cfd63e7f4d3192aa371db66e0fe6c