diff --git a/.gitignore b/.gitignore index 696ed7d..f05c524 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /wayland-scanner-0.28.4.crate /wayland-scanner-0.28.5.crate /wayland-scanner-0.28.6.crate +/wayland-scanner-0.29.4.crate diff --git a/rust-wayland-scanner.spec b/rust-wayland-scanner.spec index 3ce842f..4ba4668 100644 --- a/rust-wayland-scanner.spec +++ b/rust-wayland-scanner.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate wayland-scanner Name: rust-%{crate} -Version: 0.28.6 +Version: 0.29.4 Release: %autorelease Summary: Wayland Scanner for generating rust APIs from XML wayland protocol files @@ -15,11 +15,8 @@ URL: https://crates.io/crates/wayland-scanner Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Wayland Scanner for generating rust APIs from XML wayland protocol files. @@ -35,13 +32,13 @@ BuildArch: noarch %description devel %{_description} -This package contains library source intended for building other packages -which use "%{crate}" crate. +This package contains library source intended for building other packages which +use the "%{crate}" crate. %files devel -%license LICENSE.txt -%doc README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE.txt +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -49,11 +46,11 @@ BuildArch: noarch %description -n %{name}+default-devel %{_description} -This package contains library source intended for building other packages -which use "default" feature of "%{crate}" crate. +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 %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index 93423a8..78c726a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (wayland-scanner-0.28.6.crate) = bbffeb2e16626cb97064c35c4c8537d7704cc559034ddb2d2ea285542ba317cbf0aa1dbabe57c1453b6e080b051ba7f6707f7877da1119d4c678ddd51ecf25f0 +SHA512 (wayland-scanner-0.29.4.crate) = aadf88eeb8c46ceefacbc1f3462b88b92f03115e229494b3896a172b91bf2981691d023eec9b74208f17a5334c538e12ed5aa841ff26f13133b4ba230a6e38de