diff --git a/.gitignore b/.gitignore index 24de201..c7e647e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /clang-ast-0.1.6.crate /clang-ast-0.1.7.crate +/clang-ast-0.1.8.crate diff --git a/rust-clang-ast.spec b/rust-clang-ast.spec index b31c90e..7c0fc77 100644 --- a/rust-clang-ast.spec +++ b/rust-clang-ast.spec @@ -1,29 +1,25 @@ -# Generated by rust2rpm 17 +# Generated by rust2rpm 22 # check has missing dependencies: clang-ast-test-suite %bcond_with check %global debug_package %{nil} %global crate clang-ast -Name: rust-%{crate} -Version: 0.1.7 -Release: %{autorelease} +Name: rust-clang-ast +Version: 0.1.8 +Release: %autorelease Summary: Data structures for processing Clang's -ast-dump=json format -# Upstream license specification: MIT OR Apache-2.0 -License: MIT or ASL 2.0 +License: MIT OR Apache-2.0 URL: https://crates.io/crates/clang-ast Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: -Data structures for processing Clang's -ast-dump=json format.} +Data structures for processing Clang's `-ast-dump=json` format.} %description %{_description} @@ -33,13 +29,14 @@ 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-APACHE LICENSE-MIT -%doc README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -47,11 +44,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 @@ -72,4 +69,4 @@ which use "default" feature of "%{crate}" crate. %endif %changelog -%{autochangelog} +%autochangelog diff --git a/sources b/sources index 8a4a652..1f10180 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (clang-ast-0.1.7.crate) = d9e9a04b54fdde403b230613d3fca2f39a907d0c6e6742fa99787e59ce4394b8e90c8b945a268b0336205cd39c0c267f31e02d1f8d6f13cc44727ec8d99fe26a +SHA512 (clang-ast-0.1.8.crate) = 826bd400c245bba7a7b5b4452c7350feff5894da77ba6cb7e086e3d17b0afcd2a96a9aa792c3cf8c941ff64f95bd3a5998788d4ddd3ac786e8dacc4ebc5efcd5